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•8mo 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•8mo ago
Finally!

Helix 02 [video]

https://www.youtube.com/watch?v=lQsvTrRTBRs
1•hendi_•2m ago•0 comments

The Paper Model Houses of Peter Fritz (2013)

https://socks-studio.com/2013/12/06/the-imaginary-town-of-an-unconscious-architect-the-387-paper-...
1•NaOH•2m ago•0 comments

1.4B user records exposed by insecure Firebase instances in top Android apps

https://mrbruh.com/firewreck2/
2•MrBruh•3m ago•1 comments

'AI mirrors' are changing the way blind people see themselves

https://www.bbc.com/future/article/20260126-ai-mirrors-are-changing-the-way-blind-people-see-them...
3•devonnull•3m ago•0 comments

ICE knocks on ad tech's data door to see what it knows about you

https://www.theregister.com/2026/01/27/ice_data_advertising_tech_firms/
1•jjgreen•3m ago•0 comments

15 Months, 20k Visitors in the last 6, and 0 Product-Market Fit

https://www.gethopp.app/blog/15-months-of-building-a-pair-programming-app
1•iparaskev•4m ago•0 comments

List of obsolete occupations

https://en.wikipedia.org/wiki/List_of_obsolete_occupations
2•madrox•6m ago•0 comments

Show HN: Syntux – JSON-to-UI for Websites

https://github.com/puffinsoft/syntux
3•Goose78•8m ago•0 comments

A "kill switch" in the Defense Logistics Agency's rare earth RFI and contracting

https://www.themeridianreport.com/p/the-hidden-kill-switch-in-the-defense
1•stevezissouu•10m ago•1 comments

I built a Git firewall because I'm terrified of my own AI agents

https://github.com/Cocabadger/saferun-api
1•cocabadger•11m ago•1 comments

Securely Indexing Large Codebases

https://cursor.com/blog/secure-codebase-indexing
1•edwinarbus•12m ago•0 comments

Global vs. Local SPMD

https://blog.ezyang.com/2026/01/global-vs-local-spmd/
1•matt_d•12m ago•0 comments

Barev – XMPP flavoured P2P protocol

https://discourse.imfreedom.org/t/barev-xmpp-flavoured-p2p-protocol/348
1•todsacerdoti•15m ago•0 comments

Acme Proxy using step-ca

https://github.com/esnet/acme-proxy
1•netops2devops•15m ago•0 comments

Threading Microsoft into Zapier

1•nicola-hue•15m ago•0 comments

Blockbase: Git but for Minecraft

https://www.youtube.com/watch?v=ZdM-iNpv3nU
1•lukashahnart•16m ago•0 comments

Why Subscriptions Make Everything More Expensive [video]

https://www.youtube.com/watch?v=8AKn-zJMIwY
1•mgh2•18m ago•0 comments

Spacecurve: A space-filling curve playground

https://corte.si/posts/spacecurve/announce/
1•cortesi•20m ago•1 comments

Waymo and Cybercab use very different sensors – which wins determines SDV future

https://asteriskmag.com/issues/13/seeing-like-a-sedan
1•bookofjoe•22m ago•0 comments

A true 'hello world' LLM pipeline

https://alganet.github.io/blog/2026-01-08-23-A-true-hello-world-LLM-pipeline.html
1•gaigalas•24m ago•0 comments

Ask HN: How is AppLovin valued at $180B

1•gordon_freeman•26m ago•1 comments

The Darnella test of social media and smartphone regulation

https://heatherburns.tech/2026/01/16/the-darnella-test-of-social-media-and-smartphone-regulation/
1•hn_acker•28m ago•1 comments

Particle IoT acquired by Digi International for $50M

https://www.particle.io/blog/particle-is-being-acquired-by-digi-to-power-the-next-40-years-of-iot...
1•flycatcha•32m ago•0 comments

Thief of $90M in seized U.S.-controlled crypto is gov't contractor's son

https://www.web3isgoinggreat.com/single/lick-theft
6•pavel_lishin•33m ago•0 comments

Ukraine, Sudan, Syria, Yemen, America

https://heatherburns.tech/2026/01/26/ukraine-sudan-syria-yemen-america/
1•hn_acker•33m ago•0 comments

Technology Artisan

https://life-prog.com/tech/technology-artisan/
1•mrngilles•34m ago•0 comments

Trump Says He's Not Concerned with Decline of US Dollar

https://finance.yahoo.com/news/trump-says-not-concerned-decline-205831235.html
7•thomassmith65•34m ago•7 comments

New speech to text tool is better than willow and wispr flow?

https://www.breezevoice.com
1•NalinAtmakur•35m ago•0 comments

Photographer Transformed a Panasonic Lumix G9 II into a Leica Look-Alike

https://petapixel.com/2026/01/09/photographer-transformed-a-panasonic-lumix-g9-ii-into-a-leica-lo...
1•PaulHoule•36m ago•0 comments

NTSB Animation of Flight 5342 2025 Potomac River mid-air collision [video]

https://www.youtube.com/watch?v=LJ10ZOcWuC4
2•antongribok•36m ago•0 comments