frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Would you believe try-catch-finally works in plain old C?

4•mf_taria•7mo ago
I was digging through some of my old repositories and found a C language extension I wrote years ago. Even now, I think it’s kinda cool — and I’d love for you to check it out.

https://github.com/simpart/c-try

It recreates `try {}` / `catch {}` / `finally {}` in plain C using just macros and global variables. There's also a `$` macro to propagate errors between function calls — a bit like a mini DSL for error handling.

You can find a working example in `test.c`.

It doesn't support nesting or multithreading, and yes, it abuses macros. But hey, it's C.

Comments

actionfromafar•7mo ago
Finally!

John Varley (1947-2025)

https://locusmag.com/2025/12/john-varley-1947-2025/
1•speckx•18s ago•0 comments

Apple Releases iPadOS 26.2 with Multitasking Improvements

https://www.macrumors.com/2025/12/12/apple-releases-ipados-26-2/
1•tosh•1m ago•0 comments

Bill Gates' daughter secures $30M for an AI app she built in Stanford dorm room

https://www.sfchronicle.com/entertainment/article/phoebe-gates-stanford-ai-startup-phia-21231446.php
2•randycupertino•2m ago•1 comments

Luxical: Lexical-Dense Embeddings for Web-Scale Data Curation (3×–100× Faster)

https://www.datologyai.com/blog/introducing-luxical-embeddings
1•hurrycane•2m ago•0 comments

Home Depot GitHub token exposed for a year, granted access to internal systems

https://techcrunch.com/2025/12/12/home-depot-exposed-access-to-internal-systems-for-a-year-says-r...
3•kernelrocks•6m ago•0 comments

OpenAI Supply Co

https://supply.openai.com/
2•RustSupremacist•7m ago•1 comments

DS-Serve: A framework for efficient, scalable neural retrieval

https://berkeley-large-rag.github.io/RAG-DS-Serve/
2•yichuan•7m ago•0 comments

A look at an Android ITW DNG exploit

https://googleprojectzero.blogspot.com/2025/12/a-look-at-android-itw-dng-exploit.html
2•el_duderino•8m ago•0 comments

Show HN: I'm building an open-source Amazon

https://openship.org
1•theturtletalks•10m ago•0 comments

Ask HN: Who is honestly evaluating AI outputs and how?

1•toddmorey•12m ago•0 comments

Ask HN: Can a two-phase tariff accelerate renewable deployment?

https://www.youtube.com/watch?v=fLwI98huNWM
1•NiceWayToDoIT•12m ago•1 comments

OSS Catalogue

https://www.opensource.admin.ch/
1•denysvitali•12m ago•0 comments

Amazon pulls AI-powered Fallout recap after getting key story details wrong

https://www.ign.com/articles/everyone-disliked-that-amazon-pulls-ai-powered-fallout-recap-after-g...
4•jsheard•12m ago•0 comments

The Aftermath of the AI Boom

https://thebulletin.org/2025/12/when-it-all-comes-crashing-down-the-aftermath-of-the-ai-boom/
1•voxleone•13m ago•0 comments

Show HN: ESLint Plugin for styled-jsx

https://github.com/sushichan044/eslint-plugin-styled-jsx
1•sushichan044•15m ago•0 comments

YOCaml a framework used to describe static site generator

https://yocaml.github.io/tutorial/index.html
2•todsacerdoti•16m ago•0 comments

your ideas matter (the most)

https://andys.blog/your-ideas-matter/
1•andytratt•16m ago•0 comments

Id Software devs form "wall-to-wall" union

https://www.rockpapershotgun.com/id-software-devs-form-wall-to-wall-union-with-165-workers-at-doo...
13•simjue•18m ago•1 comments

Ask HN: Did anyone else notice that the OpenAI Labs website was completely gone?

3•underlipton•21m ago•2 comments

Google Releases Its New Google Sans Flex Font as Open Source

https://www.omgubuntu.co.uk/2025/11/google-sans-flex-font-ubuntu
17•CharlesW•21m ago•0 comments

Ask HN: Has anyone gotten $200K+ GCP credits bootstrapped?

1•taliban•25m ago•0 comments

Expanded Screening and Vetting for H-1B and Dependent H-4 Visa Applicants

https://travel.state.gov/content/travel/en/News/visas-news/announcement-of-expanded-screening-and...
3•e12e•27m ago•5 comments

Show HN: Nymia–a lightweight fantasy name generator

https://fantasynamegens.com/
1•svendson•28m ago•0 comments

US Removes Brazil Supreme Court Judge from Sanctions List

https://news.bloomberglaw.com/international-trade/us-removes-brazil-supreme-court-judge-from-sanc...
1•CXSHNGCB•29m ago•0 comments

Waymo cars ignored stopped school buses in Atlanta. What happens now?

https://www.ajc.com/news/2025/12/waymo-cars-ignored-stopped-school-buses-in-atlanta-what-happens-...
2•themaninthedark•31m ago•4 comments

Minimum Viable Complexity

https://buttondown.com/blog/how-to-introduce-complexity
3•coloneltcb•31m ago•0 comments

Owner-reported health in cats fed meat- and plant-based diets (2021)

https://link.springer.com/article/10.1186/s12917-021-02754-8
2•aziaziazi•32m ago•0 comments

Vålerenga call for changes after artificial pitch causes failed drug test

https://www.theguardian.com/football/2025/nov/26/valerenga-anti-doping-changes-artificial-pitch-c...
2•PaulHoule•34m ago•0 comments

Solar geoengineering startups are getting serious

https://www.technologyreview.com/2025/12/11/1129239/solar-geoengineering-startups-are-getting-ser...
1•Brajeshwar•35m ago•0 comments

Earth's atmosphere may help support human life on the moon

https://phys.org/news/2025-12-earth-atmosphere-human-life-moon.html
2•Brajeshwar•35m ago•0 comments