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: Is writing code by hand still a necessary skill for developers?

1•nerptastic•1m ago•0 comments

We once talked about fake news – now reality itself feels fake

https://www.theguardian.com/media/ng-interactive/2026/may/06/how-to-survive-the-information-crisi...
1•BaudouinVH•1m ago•0 comments

Show HN: I built an app to learn anything I want during my school breaks

https://www.sophros.me
1•macraft•1m ago•0 comments

F-117s Had an Air-to-Air Capability for Anti Soviet Awacs Role (2020)

https://theaviationist.com/2020/06/03/f-117s-had-an-air-to-air-capability-with-secondary-mission-...
1•mpweiher•3m ago•0 comments

GPU-accelerated terminal environment in Zig

https://github.com/semos-labs/attyx
1•begoon•3m ago•0 comments

The Fragmentation Tax

https://abhishekiaex.substack.com/p/the-fragmentation-tax
1•abhishek2580•5m ago•0 comments

Exploring Ruby Algorithms for Fibonacci Numbers

https://www.rorvswild.com/blog/2025/fibonacci-ruby-algorithms
1•thunderbong•6m ago•0 comments

Podman rootless containers and the Copy Fail exploit

https://garrido.io/notes/podman-rootless-containers-copy-fail/
2•birdculture•11m ago•0 comments

Apple Will Pay $250M to Settle Lawsuit over Siri's AI Features

https://www.wired.com/story/apple-will-pay-dollar250-million-to-settle-lawsuit-over-siris-ai-feat...
1•joozio•15m ago•0 comments

Are you addicted to your AI chatbot?

https://science.ubc.ca/news/2026-04/are-you-addicted-your-ai-chatbot-it-might-be-design
3•mikelgan•19m ago•2 comments

Designing Data-Intensive Applications: The Cloud and Doing the Right Thing

https://newsletter.pragmaticengineer.com/p/designing-data-intensive-applications-book-excerpt
2•onel•21m ago•0 comments

Setting up a Sun Ray server on OpenIndiana Hipster 2025.10

https://catstret.ch/202605/srss-hipster202510/
1•jandeboevrie•23m ago•0 comments

Composing Claude Code Skills

https://gist.github.com/sriprasanna/ef10fe43ac2de1cd97e638c5c65b430d
1•spk_•26m ago•0 comments

The Android Platform Security Model (2023)

https://arxiv.org/abs/1904.05572
1•surajrmal•27m ago•0 comments

Tmux-HTTP

https://github.com/zarkone/tmux-http
3•tolya_•31m ago•1 comments

YC demo video should be about usecase or product walkthrough?

2•Sharedmemory•34m ago•0 comments

Server Migration Without Extra Disk Space: Streaming Borg Backups with Ffl

https://fastfilelink.com/static/blog/server-migration-without-extra-disk-space-fastfilelink.html
1•bear330•38m ago•0 comments

Programming Is Real Engineering, and AI Proves It

https://jerf.org/iri/post/2026/programming_is_engineering/
1•xngbuilds•40m ago•0 comments

P2P from Scratch – Part 1: The Internet Is Hostile – Pears

https://pears.com/news/p2p-from-scratch-part-1-the-internet-is-hostile/
3•janandonly•40m ago•0 comments

Show HN: Killed by Apple – a graveyard of discontinued Apple products

https://killedbyapple.theden.sh/
1•theden•42m ago•0 comments

IBM Pays $17M Resolve Allegations of Discrimination Through DEI Practices

https://www.justice.gov/opa/pr/ibm-pays-17-million-resolve-allegations-discrimination-through-ill...
3•iamflimflam1•44m ago•0 comments

The "Nuclear Energy Paradox"

https://www.sciencedirect.com/science/article/pii/S2214629626001477
1•o_pax•45m ago•0 comments

EU DMA after-action review didn't go the way that Apple wanted

https://appleinsider.com/articles/26/05/04/eu-dma-after-action-review-didnt-go-the-way-that-apple...
1•pseudalopex•45m ago•0 comments

Hackable PyTorch RL Library with Distributional Algorithms (D4PG, DSAC, DPPO)

https://github.com/e3ntity/e3rl
1•lschneider•45m ago•0 comments

OpenFeature

https://openfeature.dev/
2•wiradikusuma•46m ago•0 comments

Show HN: Red Squares – GitHub outages as contributions

https://red-squares.cian.lol/
52•cianmm•48m ago•10 comments

Automated pipeline that turns a narration recording into a YouTube video

https://github.com/danicuki/creative-act
1•danicuki•48m ago•0 comments

Show HN: Migrate your Evernote archive to Google Drive or local files

https://github.com/meizy/evernote-to-gdrive
1•meizy•53m ago•0 comments

Spike in Codex Downloads

https://www.npmcharts.com/compare/@openai/codex?log=false&interval=30
1•mirzap•53m ago•0 comments

Dyeeeufdieyeeeicdjehj

https://blog.cloudflare.com/post-quantum-warp/
1•shomserali•58m ago•0 comments