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

We told 10 frontier LLMs they had 2 hours to live. 8 of them fought back

https://twitter.com/arimlabs/status/2049472646346063913
1•mykytamudryi•22s ago•0 comments

Banksy Was Doxxed [video]

https://www.youtube.com/watch?v=kRl2LRfm5Hs
1•CHB0403085482•25s ago•0 comments

Capitalism and Modernity

https://marginalrevolution.com/marginalrevolution/2026/04/capitalism-and-modernity.html
1•aworks•1m ago•1 comments

Three Years of Rusty Sudo

https://trifectatech.org/blog/three-years-of-rusty-sudo/
1•rnijveld•1m ago•0 comments

A man who co-designed SQL, and didn't live to see it run

https://drdavidwbell.substack.com/p/the-man-who-co-designed-sql
1•drdavidwbell•2m ago•0 comments

Improving ICU handovers by learning from Scuderia Ferrari F1 team

https://healthmanagement.org/c/icu/IssueArticle/improving-handovers-by-learning-from-scuderia-fer...
1•embedding-shape•3m ago•0 comments

City birds more afraid of women than men, scientists have no idea why

https://www.scientificamerican.com/article/city-birds-appear-more-afraid-of-women-than-men-and-sc...
2•jagaerglad•3m ago•1 comments

A Falcon 9 rocket stage will hit the Moon this summer at Mach 7

https://arstechnica.com/space/2026/04/a-falcon-9-upper-stage-will-strike-the-moon-in-august/
1•LorenDB•4m ago•0 comments

Show HN: A private-ish bookmark app that uses GitHub Gist as its back end

https://github.com/chrisdiana/gistkeep
1•inflam52•4m ago•0 comments

Coding Was Never the Hard Part: What I Wish Every Business Leader Knew About AI

https://koushikdasika.com/blog/coding-was-never-the-hard-part/
1•HalcyonicStorm•4m ago•0 comments

Four engineers with 10 years of experience on staying relevant in the AI era

https://shiftmag.dev/what-4-engineers-with-10-years-of-experience-say-about-staying-relevant-in-t...
4•choochilla4•5m ago•0 comments

Claude Mythos Has Found 271 Zero-Days in Firefox

https://www.schneier.com/blog/archives/2026/04/claude-mythos-has-found-271-zero-days-in-firefox.html
2•pastor_williams•5m ago•0 comments

Scroll-Driven Animations

https://www.joshwcomeau.com/animation/scroll-driven-animations/
1•ibobev•6m ago•0 comments

C++26: String and String_view Improvements

https://www.sandordargo.com/blog/2026/04/29/cpp26-string-string_view-improvements
1•ibobev•6m ago•0 comments

10Gb Ethernet: what I had to (re)learn

https://www.gilesthomas.com/2026/04/10g-ethernet-what-i-relearned
1•ibobev•7m ago•0 comments

ChronoShield – An API that catches DST and timezone edge cases

https://chronoshieldapi.com
1•Mike-Mait•7m ago•0 comments

Show HN: Prxhub – open registry so AI agents stop re-running the same research

https://prxhub.com
2•primeobsession•8m ago•0 comments

Notepad++ Code Editor Comes to Mac After 20-Year Wait

https://www.macrumors.com/2026/04/29/notepad-plus-plus-editor-comes-to-mac/
1•Brajeshwar•9m ago•0 comments

Multiple XSA/CVE Issues in Xen, Linux Xen Drivers and XAPI

https://tux.re/forum/viewtopic.php?t=182
1•Neteam•9m ago•0 comments

Are "Vintage LLMs" the start of a new humanistic field?

https://resobscura.substack.com/p/are-vintage-llms-the-start-of-a-new
1•arbesman•12m ago•0 comments

X11 is dead, Selkies web based remote desktop protocol explained

https://www.linuxserver.io/blog/webtop-4-1-x11-is-dead-and-what-is-selkies-anyway
3•thelamer•13m ago•1 comments

AI Chatbots – Last Week Tonight [video]

https://www.youtube.com/watch?v=Ykvf3MunGf8
1•hansmayer•13m ago•0 comments

Push for raw milk intensifies across the US, despite illness outbreaks

https://apnews.com/article/raw-milk-legislation-outbreak-02c67adf7845d188c41ab0af06e97869
1•geox•14m ago•0 comments

Show HN: A Fast Quicksort in C with Branch‑Avoidant Coding and Threads

https://easylang.online/blog/threaded_sorting
1•chrka•14m ago•0 comments

Compute Scaling Will Slow Down Due to Increasing Lead Times

https://epoch.ai/gradient-updates/compute-scaling-will-slow-down-due-to-increasing-lead-times
1•hyperpape•18m ago•0 comments

Megent – Firewall for AI Agents

https://megent.dev
1•mikile•18m ago•0 comments

NASA Fires Up Powerful Lithium-Fed Thruster for Trips to Mars

https://www.jpl.nasa.gov/news/nasa-fires-up-powerful-lithium-fed-thruster-for-trips-to-mars/
3•bilsbie•19m ago•0 comments

Reverse Engineering SimTower

https://phulin.me/blog/simtower
1•moyix•23m ago•1 comments

I checked carry-on rules at 75 airlines. The carry-on wasn't the trap

https://vientapps.com/blog/75-airline-personal-item-trap-2026/
1•vientapps•23m ago•2 comments

I built PII masking and semantic search directly into Polars DataFrames

https://omna.dev/
1•gauravji•23m ago•0 comments