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!

Ask HN: How do solo devs protect their work in the age of vibe coding?

1•langs•1m ago•0 comments

Combatting the person who trademarked the name of silent actress Louise Brooks

https://louisebrookssociety.blogspot.com/2026/04/trademark-on-film-icon-louise-brooks.html
1•aworks•1m ago•0 comments

Show HN: MirrorNeuron – an open-source runtime for reliable on-device AI agents

https://www.mirrorneuron.io/
1•homerquan•4m ago•0 comments

Tesla Never Stopped Developing the Model S [video]

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

The Kissinger Tapes

https://blog.oup.com/2026/04/the-kissinger-tapes/
1•jruohonen•10m ago•0 comments

Selvedge: Capture the why behind AI code changes

https://github.com/masondelan/selvedge
1•masondelan•11m ago•1 comments

Tagging Music with MusicBrainz Picard

https://lwn.net/Articles/1066384/
1•signa11•14m ago•0 comments

Deterministic arcade shooter – same game for everyone, AI coaches your replay

https://gamefilm.org
1•shettysuraj•14m ago•0 comments

The Declining Driver's License: Good, Bad, or Both?

https://maxmautner.com/2026/04/21/teen-drivers-license-decline.html
2•jez•16m ago•0 comments

Show HN: SparseLab–real sparse training(CSR+custom kernel) in PyTorch, CPU-first

https://news.ycombinator.com/from?site=github.com/darshanfofadiya
1•DARSHANFOFADIYA•19m ago•1 comments

Skopx – AI analytics platform with built-in project management

https://skopx.com
1•skopx•20m ago•1 comments

AI GTM plugin for SEO and GEO in Claude Code

https://github.com/zhizdev/overgrow
4•zhizdev•21m ago•0 comments

Writing Matters

https://blog.apaonline.org/2026/04/22/writing-matters/
3•jruohonen•23m ago•0 comments

Private health records of half a million Britons for sale on Chinese Alibaba

https://www.theguardian.com/technology/2026/apr/23/private-health-records-uk-biobank-chinese-webs...
1•0in•24m ago•0 comments

Ask HN: Why are companies so distrustful of remote employees?

2•lyfeninja•29m ago•5 comments

Meta Layoffs – 10% in May

https://www.npr.org/2026/04/23/nx-s1-5797855/meta-layoffs-10-percent-staff
1•dzonga•30m ago•1 comments

How to Win

https://nekolucifer.substack.com/p/how-to-win
2•andai•31m ago•0 comments

Scraped from ancient Roman toilets, remains expose a pathogen found earlier

https://phys.org/news/2026-04-ancient-roman-toilets-crusted-expose.html
1•wglb•33m ago•2 comments

Deploy an Autonomous X Team

https://agentbot.sh
1•Agentbot-esky•34m ago•0 comments

MiMo-v2.5-TTS Series

https://mimo.xiaomi.com/mimo-v2-5-tts/
1•gainsurier•35m ago•0 comments

Physicists revive 1990s laser concept to propose a next-generation atomic clock

https://phys.org/news/2026-04-physicists-revive-1990s-laser-concept.html
1•wglb•37m ago•1 comments

Sakana Fugu: A Multi-Agent Orchestration System as a Foundation Model

https://sakana.ai/fugu-beta/
1•hardmaru•37m ago•0 comments

Show HN: A Clean Room RFC for NTFS Structural Repair

https://github.com/seb3773/ntfs-repair-rfc/
1•seb3773•41m ago•1 comments

Are unbeaten superteams like the UConn Huskies bad for basketball?

https://www.theguardian.com/sport/2026/mar/18/basketball-superteams-uconn-huskies-march-madness
1•PaulHoule•42m ago•0 comments

US Special Forces Soldier Arrested for Polymarket Bets on Maduro Raid

https://www.wired.com/story/us-special-forces-soldier-allegedly-profited-off-of-maduro-capture-on...
3•sssilver•45m ago•2 comments

Show HN: FilePop – a file browser in your menu bar

https://bendansby.com/filepop/
1•webwielder2•47m ago•0 comments

TikTok Makes Americans Want Chinese EVs They Can't Have

https://www.bloomberg.com/news/articles/2026-04-21/byd-xiaomi-and-zeekr-car-reviews-flood-tiktok-...
5•KnuthIsGod•48m ago•0 comments

Why Async Rust? (2023)

https://without.boats/blog/why-async-rust/
1•cosmic_quanta•50m ago•0 comments

Linux Commands Cheat Sheet

https://linuxserverguides.com/linux-commands-cheat-sheet.html
2•steelsmiley•51m ago•0 comments

Show HN: I Built a Terms-of-Service Analysis Chrome Extension - Check it Out!

https://chromewebstore.google.com/detail/tostask/cdlcnhmhiicolbmjemllhlfmofahlnlm
1•Armaan2010•53m ago•1 comments