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!

Why people keep trying to erase the Hollywood sign from Google Maps (2014)

https://gizmodo.com/why-people-keep-trying-to-erase-the-hollywood-sign-from-1658084644
1•downbad_•41s ago•1 comments

I made a music video and I'm not sorry

https://www.youtube.com/watch?v=alK8hgHgxd4
1•stonecharioteer•3m ago•1 comments

How Radar Works [video]

https://www.youtube.com/watch?v=c8OWHnHjIpA
1•teleforce•3m ago•0 comments

The APL Programming Language Source Code (2012)

https://computerhistory.org/blog/the-apl-programming-language-source-code/
1•tosh•4m ago•0 comments

Recursive-mode for coding agents

https://try.works/recursive-mode-for-coding-agents
1•try-working•5m ago•0 comments

Show HN: Docker-whisper: Self-hosted Whisper speech-to-text server (OpenAI API)

https://github.com/hwdsl2/docker-whisper
1•hwdsl2•7m ago•0 comments

Banks Are Warned About Anthropic's New, Powerful A.I. Technology

https://www.nytimes.com/2026/04/10/business/anthropic-claude-mythos-preview-banks.html
1•mikhael•7m ago•0 comments

I Waterboard (2007)

https://boards.straightdope.com/t/i-waterboard/430894
1•chistev•8m ago•1 comments

These Chimps Began the Bloodiest ‘War’ on Record. No One Knows Why

https://www.nytimes.com/2026/04/09/science/chimpanzees-war-ngogo-uganda.html
1•thunderbong•9m ago•0 comments

Leveraging an Asteroid's Early Data for Faster Mars Transits

https://www.preprints.org/manuscript/202510.0450/v1
1•rbanffy•11m ago•0 comments

Show HN: Lines of Bash to automate LLM code review and fixes

https://github.com/yisding/reviewwiggum
2•yding•13m ago•0 comments

Show HN: FeedSense – A Private Recommendation System

https://feedsense.cc
1•langtang1996•14m ago•0 comments

Serrors – structured errors for Go (hierarchies, typed data, slog integration)

https://github.com/MarwanAlsoltany/serrors
1•MarwanAlsoltany•15m ago•1 comments

Dave Gorman: Why the Calendar Makes No Sense [video]

https://www.youtube.com/watch?v=vunESk53r5U
1•Markoff•17m ago•0 comments

Measuring Malicious Intermediary Attacks on the LLM Supply Chain

https://arxiv.org/abs/2604.08407
1•tamnd•21m ago•0 comments

14,000 Images of the French Revolution Released Online (2014)

https://hyperallergic.com/14000-images-of-the-french-revolution-released-online/
6•downbad_•22m ago•1 comments

Quantum Existentialism

https://www.noemamag.com/quantum-existentialism/
2•Brajeshwar•23m ago•0 comments

Now the FAA says gamers are the answer to its air traffic controller shortage

https://www.theverge.com/games/910434/now-the-faa-says-gamers-are-the-answer-to-its-air-traffic-c...
2•Brajeshwar•23m ago•0 comments

Hacking a Cheap PIR Night Light into Something Useful

https://www.atomic14.com/2026/04/11/pir-night-light-upgrade
2•iamflimflam1•25m ago•0 comments

Show HN: Age-PHP: a PHP implementation of age encryption (post-quantum)

https://github.com/soatok/age-php
1•some_furry•28m ago•0 comments

Research Tools: Dual Polarized Radar

https://www.nssl.noaa.gov/tools/radar/dualpol/
1•teleforce•29m ago•0 comments

Show HN: MarkitMe, Turn Anything into Markdown

https://github.com/Luthiraa/markitme
1•llamatheollama•32m ago•0 comments

Zuvi ColorBox Review: A Hair Dye Printer That Struggles

https://www.wired.com/review/zuvi-colorbox/
1•joozio•34m ago•0 comments

What a legal tech demo does not show

https://techlex.net/what-a-demo-does-not-show/
1•basket278•35m ago•0 comments

The Music of the Spheres – By Terence Tao and Zack Weinersmith

https://www.smbc-comics.com/comic/spheres-part-1
3•AndrewDucker•38m ago•0 comments

OpenAI Accuses Musk of 'Ambush' as $100B-Plus Trial Looms

https://www.bloomberg.com/news/articles/2026-04-11/openai-accuses-musk-of-ambush-as-100-billion-p...
4•Brajeshwar•41m ago•0 comments

Kerala, Breasts, and the Tax That Wasn't

https://waatcoconut.substack.com/p/kerala-breasts-and-the-tax-that-wasnt
4•self•45m ago•1 comments

The era of models is over, we are in the era of harnesses

https://sustainableviews.substack.com/p/the-era-of-models-is-over-we-are
4•spyckie2•46m ago•0 comments

Building a 10x faster Angular Compiler in Rust

https://voidzero.dev/posts/oxc-angular-compiler
2•manniL•48m ago•0 comments

Boxer

https://facebookresearch.github.io/boxer/
2•tosh•50m ago•0 comments