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•9mo 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•9mo ago
Finally!

NZ health app breach: Alive patients marked dead, names changed to Charlie Kirk

https://www.stuff.co.nz/nz-news/360942689/major-nz-health-app-breach-alive-patients-marked-deceas...
1•beatthatflight•6s ago•0 comments

What's so hard about continuous learning?

https://www.seangoedecke.com/continuous-learning/
1•gfysfm•28s ago•0 comments

Fears of polio resurgence as US vaccine adviser queries need for childhood shots

https://www.theguardian.com/us-news/2026/feb/23/polio-vaccines-us
1•cdrnsf•32s ago•0 comments

The Hunt for Dark Breakfast – Can we derive breakfasts we have never observed?

https://moultano.wordpress.com/2026/02/22/the-hunt-for-dark-breakfast/
1•moultano•2m ago•0 comments

The Imposter in My AI's Files

https://brianthinks.github.io/posts/the-imposter-in-my-files/
1•yozel•3m ago•0 comments

Fred Trump Jr

https://en.wikipedia.org/wiki/Fred_Trump_Jr.
1•doener•6m ago•0 comments

Why AI won't wipe out white-collar jobs (YouTube) [video]

https://www.youtube.com/watch?v=1CAvNn5tUR8
1•deterministic•6m ago•0 comments

I Caught Politico and the New York Times Laundering Pink Slime "News"

https://spinclass.substack.com/p/spin-class-case-study-i-caught-politico
1•jkestner•7m ago•0 comments

The Gap

https://www.robpanico.com/articles/display/?entry_short=the-gap
1•retrocog•9m ago•1 comments

GNU Octave 11.1.0 Released

https://lwn.net/Articles/1059965/
1•rhabarba•11m ago•0 comments

Colorado Senate Bill Would Require Apple and Google to Embed ID Checks in OS

https://reclaimthenet.org/colorado-operating-system-age-verification-minors-online-access
1•anonymousiam•14m ago•1 comments

Teens see social media as the place to learn about race and faith

https://theconversation.com/teens-see-social-media-more-than-school-as-the-place-to-learn-about-r...
1•PaulHoule•15m ago•0 comments

Humans Are Becoming Horses [video]

https://www.youtube.com/watch?v=7Pq-S557XQU
1•tyleo•15m ago•0 comments

Ask HN: How do I get started in AI?

1•imwillofficial•15m ago•0 comments

Want to Survive Current Tech Era – Learn to Be a Good QA

https://worklifenotes.com/2026/02/23/want-to-survive-current-tech-era-learn-to-be-a-good-qa/
1•taleodor•15m ago•0 comments

RFC 406i the Rejection of Artificially Generated Slop (Rags)

https://406.fail
1•addvilz•16m ago•0 comments

Signed, Sealed, Stolen: How We Patched Critical Vulnerabilities Under Fire [video]

https://www.youtube.com/watch?v=CZ4nk9aWzYM
2•todsacerdoti•17m ago•1 comments

Simpler JVM Project Setup with Mill

https://mill-build.org/blog/17-simpler-jvm-mill-110.html
2•lihaoyi•19m ago•0 comments

Show HN: AppIconKitchen – Free AI app icon generator I built for indie devs

https://www.appiconkitchen.com
1•rickyLee_coder•21m ago•0 comments

Amazon Just Confirmed My Worst Fear About the AI Economy

https://medium.com/predict/amazon-just-confirmed-my-worst-fear-about-the-ai-economy-49d0e0c35c72
2•RustyBucket•21m ago•0 comments

Tesla Drops "Autopilot" Name After Legal Pressure from California

https://www.caranddriver.com/news/a70420085/tesla-drops-autopilot-name-california/
2•apparent•22m ago•0 comments

Why Your Load Balancer Still Sends Traffic to Dead Backends

https://singh-sanjay.com/2026/01/12/health-checks-client-vs-server-side-lb.html
2•singhsanjay12•22m ago•1 comments

Microsoft's big Xbox leadership shake-up

https://www.theverge.com/tech/883015/microsoft-xbox-new-ceo-shakeup-notepad
1•cebert•23m ago•2 comments

IOU Wallet – a lightweight protocol to structure informal obligations

https://iou-wallet.com/
1•xklondon•24m ago•1 comments

Viral Doomsday Report Lays Bare Wall Street's Deep Anxiety About AI Future

https://www.wsj.com/finance/stocks/global-stocks-markets-dow-news-02-23-2026-06a32080
5•ViktorRay•27m ago•1 comments

Show HN: An AI built a Solana bonding curve platform for music artists (72h)

https://fanstake.app
2•caseyolayos•27m ago•1 comments

Show HN: loopmaster Beta – Code Music

https://beta.loopmaster.xyz
1•stagas•28m ago•2 comments

Are we entering a Physical Asset supercycle? The pivot from digital to physical

https://www.equitileconversations.com/2459100/episodes/18720603-energetic-times
2•Incerto•30m ago•0 comments

Poor judgment or a principled stand? Susan Rice's spat with Trump dissected

https://www.businessinsider.com/susan-rice-critique-trump-fuels-debate-on-board-members-speech-20...
3•petethomas•31m ago•0 comments

VeriSoftBench: Repository-Scale Formal Verification Benchmarks for Lean

https://utopia-group.github.io/VeriSoftBench/
1•matt_d•33m ago•0 comments