frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Would you believe try-catch-finally works in plain old C?

4•mf_taria•1y 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•1y ago
Finally!

Bevy's Sixth Birthday

https://bevy.org/news/bevys-sixth-birthday/
1•birdculture•1m ago•0 comments

Doom Bible (1992) [pdf]

https://5years.doomworld.com/doombible/doombible.pdf
1•debo_•3m ago•0 comments

100x More Programmers

https://tailscale.com/blog/100x-more-programmers
1•mfrw•3m ago•0 comments

Brex Pitch Deck 2026 [pdf]

https://app-media.virtualspeech.com/samples/brex-pitch-deck.pdf
1•HFKG•3m ago•0 comments

AI stock selloffs fuel fears Big Tech's best quarters are over

https://www.latimes.com/business/story/2026-10-30/big-techs-growth-is-cooling-raising-fears-that-...
4•1vuio0pswjnm7•4m ago•1 comments

Original Diablo Game Design Doc [pdf]

https://www.graybeardgames.com/download/diablo_pitch.pdf
1•debo_•4m ago•0 comments

Show HN: FicScout – Like Goodreads, but see books rated by characters, plot etc.

https://ficscout.com
1•jtommy14•5m ago•0 comments

Dropbox to Acquire Tigris

https://thenewstack.io/dropbox-acquires-tigris-s3-alternative/
2•fabianlindfors•7m ago•0 comments

Blog: How the Python ecosystem responded to the eMudhra intermediate compromise

https://pyfound.blogspot.com/2026/11/how-python-ecosystem-responded-to.html
1•miketheman•7m ago•0 comments

OpenAI Renames Datacenters "Compute Campuses" [pdf]

https://cdn.openai.com/pdf/compute-campus-policy-blueprint.pdf
2•iamronaldo•8m ago•0 comments

'There Is One Fight': American Voters Reject Tech Oligarchy

https://www.404media.co/there-is-one-fight-american-voters-reject-tech-oligarchy/
4•Frieren•9m ago•0 comments

Mastra Skills – A curated collection for Mastra developers

https://github.com/YGhorbel/awesome-mastra-skills
2•yassineghorbelr•9m ago•0 comments

Witchcraft as Contagion

https://complexstories.uvm.edu/salem-witches/
3•speckx•9m ago•0 comments

Thoughts on Science vs. Magical Thinking

https://ghrelin.bearblog.dev/science/
2•madprops•9m ago•0 comments

80k Hops per Second Measurement Confirm Starlink Up/Downlink Channel Pairing

https://sdr-x.github.io/starlink-ul-dl-pair-80k-hop-ad9361/
3•fortran77•11m ago•0 comments

The architecture of open-weight LLMs: MoE, hybrid layers, ternary weights

https://www.silasdata.com/llm-playground-inside-architectures/
2•silasyl•11m ago•0 comments

Dense in Depth: Rethinking Security When Vulns Are Everywhere

https://medium.com/@TalBeerySec/dense-in-depth-rethinking-security-when-vulns-are-everywhere-229d...
4•el_duderino•12m ago•0 comments

Let's Talk About Black October

https://blog.gradle.org/lets-talk-about-black-october
2•torutofu•12m ago•0 comments

Models led prediction markets in forecasting the blue wave

https://www.natesilver.net/p/models-led-prediction-markets-in
2•7777777phil•14m ago•0 comments

Several European flights receive bomb threats, some divert

https://www.dw.com/en/several-european-flights-receive-bomb-threats-some-divert/a-79861216
2•N19PEDL2•14m ago•0 comments

The Beleaguered Chip Sellers Getting Their Revenge on Apple

https://www.wsj.com/tech/apple-iphone-memory-chips-ai-c0084cc9
2•ksec•14m ago•1 comments

74 years of US political ads

https://admap.org/#2026/
2•Eden09•16m ago•0 comments

Catching Bugs Early: Validating C++ Contracts with Static Analysis [video]

https://www.youtube.com/watch?v=3DDqDKaKmio
1•rramadass•16m ago•1 comments

Are Drone Ports the Next Annoying Neighbor? Flying delivery bots prompt concern

https://spectrum.ieee.org/drone-delivery-noise
2•oldnetguy•17m ago•0 comments

Dropbox Plans to Acquire Tigris

https://www.tigrisdata.com/blog/dropbox-plans-acquire-tigris/
3•xena•18m ago•0 comments

Show HN: Misogi - Do one hard thing this year, coached by your Muse

https://getmisogi.com/
1•ohong•19m ago•1 comments

MCP Explained

https://mcp-explained.com/
21•rwilinski•19m ago•3 comments

Show HN: Sleek Android <-> macOS file transfer app

https://phonemount.app/
1•webarch•19m ago•1 comments

Fortune Telling and Speculative Design

https://maggieappleton.com/fortune-telling
1•mattvr•20m ago•0 comments

Novis-Lang – The programming language for web applications(and the command line)

https://novis-lang.org/
2•AnotherBrainFoo•21m ago•0 comments