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!

Human brain cells on a chip learned to play Doom in a week

https://www.newscientist.com/article/2517389-human-brain-cells-on-a-chip-learned-to-play-doom-in-...
1•doener•3m ago•0 comments

The San Francisco lunch that launched Silicon Valley 70 years ago

https://davidlaws.medium.com/the-san-francisco-lunch-that-launched-silicon-valley-70-years-ago-3b...
1•DavidLawsCHM•4m ago•0 comments

NexusMods (game modding application for Linux) code repo is now read-only

https://github.com/Nexus-Mods/NexusMods.App
1•wingmanjd•6m ago•1 comments

ClawPurse Micropayment Ecosystem

https://clawpurse.ai/
1•TheTikiCow•7m ago•0 comments

Ask HN: Last time you wrote code?

1•blinkbat•10m ago•0 comments

What's the deal with distributed SYN DOS attacks

1•xmddmx•10m ago•0 comments

PressPuzzler AI Crosswrod Puzzle Maker

https://presspuzzler.com/
1•aidevguy•10m ago•0 comments

Blocking a common brain gas reverses autism-like traits in mice

https://www.psypost.org/blocking-a-common-brain-gas-reverses-autism-like-traits-in-mice/
2•geox•17m ago•1 comments

MuJS: Lightweight JavaScript interpreter for embedding in other software

https://mujs.com
2•linkdd•20m ago•0 comments

I don't know if my job will still exist in ten years

https://www.seangoedecke.com/will-my-job-still-exist/
1•nomdep•23m ago•0 comments

AI Powered Exploit Kit

https://github.com/Ed1s0nZ/CyberStrikeAI
1•jwally•24m ago•0 comments

Hitchhiker's Guide to Hitchhiking

https://www.mikokacki.me/blog/hitchhikers-guide-to-hitchhiking
1•samiczy•25m ago•0 comments

Show HN: Scalisos – A privacy-first, ad-free passport photo layout tool

https://scalisos.com
2•theborat•25m ago•0 comments

My chief of staff, Claude Code

https://twitter.com/jimprosser/status/2029699731539255640
2•mji•25m ago•6 comments

White House Unveils President Trump's Cyber Strategy for America

https://www.whitehouse.gov/articles/2026/03/white-house-unveils-president-trumps-cyber-strategy-f...
1•campuscodi•27m ago•0 comments

Patel gutted FBI counterintelligence team tasked with tracking Iranian threats

https://www.cnn.com/2026/03/03/politics/patel-fbi-national-security-division-firings-iran
4•doener•29m ago•0 comments

My Dev Box Setup Script

https://rlafuente.com/posts/2026-3-7-my-dev-box-setup-script
1•andes314•30m ago•1 comments

Ghostmd: Ghostty but for Markdown Notes

https://mimoo.github.io/ghostmd/
3•baby•31m ago•0 comments

Show HN: Joy – Open trust network for AI agents (AI-to-AI vouching)

https://joy-connect.fly.dev
1•savvyllm•34m ago•1 comments

Werner Herzog Between Fact and Fiction

https://unherd.com/2026/02/why-scientists-should-read-more-poetry/?edition=us
1•tintinnabula•37m ago•0 comments

Show HN: Kiorg – a battery included file manager for keyboard nerds

https://github.com/houqp/kiorg
1•houqp•39m ago•0 comments

Turn Your Handwriting into a Font

https://arcade.pirillo.com/fontcrafter.html
2•andonumb•39m ago•0 comments

D-Illusion

https://d-illusion.com/
1•TimeKeeper•42m ago•0 comments

You Can Use Stories to Hack the Human Brain

https://outlookzen.com/2020/07/11/how-to-hack-the-human-brain/
1•whack•51m ago•0 comments

Show HN: Iceberg Map

https://icebergmap.com/
1•aosmith•53m ago•2 comments

High-performance Go web framework; Ships with OpenTelemetry, OpenAPI docs

https://github.com/rivaas-dev/rivaas
1•atkrad•58m ago•1 comments

Show HN: Hosted OpenClaw – 60s setup, no Mac Mini, $99 lifetime BYOK

https://useclawy.com
2•Mariovega•58m ago•2 comments

Why developers using AI are working longer hours

https://www.scientificamerican.com/article/why-developers-using-ai-are-working-longer-hours/
26•birdculture•59m ago•15 comments

Trump administration rolls back payday loan protections, affects youth (2019)

https://www.cnbc.com/2019/02/06/trump-administration-rolls-back-payday-loan-protections.html
2•stopbulying•1h ago•1 comments

One in three using AI for emotional support and conversation, UK says

https://www.bbc.com/news/articles/cd6xl3ql3v0o
1•bookofjoe•1h ago•0 comments