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

The Resonant Computing Manifesto

https://simonwillison.net/2025/Dec/5/resonant-computing/
1•mooreds•1m ago•0 comments

We invested 10% to pay back tech debt; Here's what happened (2023)

https://blog.alexewerlof.com/p/tech-debt-day
1•mooreds•3m ago•0 comments

Global Depression Is Coming Sooner Than Expected [video]

https://www.youtube.com/watch?v=UBMluINRans
1•mooreds•4m ago•0 comments

Show HN: I won Half Baked x Bolt Hackathon (20k participants) with Claim Watch

https://claim.watch/
1•ma1or•5m ago•0 comments

Malicious Crate Mimicking 'Finch' Exfiltrates Credentials via a Hidden

https://socket.dev/blog/malicious-crate-mimicking-finch-exfiltrates-credentials
1•feross•5m ago•0 comments

India's Biggest Airline Falls into Chaos, Canceling More Than 1k Flights

https://www.nytimes.com/2025/12/05/business/india-indigo-airline-cancelations.html
1•ummonk•6m ago•1 comments

Show HN: A framework for understanding how AI replaces human self-interpretation

1•DanielJMancini•7m ago•0 comments

Show HN: NextDoor.Company – Find all the cool startups hiring actively on a map

https://www.nextdoor.company/
1•sankalpdomore•7m ago•0 comments

Emergent Properties

https://blog.alexewerlof.com/p/emergent-properties
2•hanifbbz•8m ago•1 comments

How Federal Law Made Us All Disabled

https://www.richardhanania.com/p/how-federal-law-made-us-all-disabled
1•paulpauper•17m ago•0 comments

DeepSeek v3.2 Is Okay and Cheap but Slow

https://thezvi.substack.com/p/deepseek-v32-is-okay-and-cheap-but
2•paulpauper•18m ago•0 comments

Fish Bowl

https://anniemueller.com/posts/fish-bowl
1•speckx•18m ago•0 comments

Stoppard's Liberalism: A Commitment to the Individual

https://thepursuitofliberalism.substack.com/p/stoppards-liberalism
1•paulpauper•19m ago•0 comments

Shingles vaccination prevented or delayed dementia

https://www.cell.com/cell/fulltext/S0092-8674(25)01256-5
24•Archelaos•21m ago•3 comments

S-Expression Array for Lightweight Immutable Representation (SealIR)

https://github.com/numba/sealir
2•todsacerdoti•22m ago•0 comments

Detainees at 'Alligator Alcatraz' facing 'harrowing human right violations'

https://www.theguardian.com/us-news/2025/dec/04/alligator-alcatraz-human-right-violations-amnesty...
2•perihelions•23m ago•0 comments

C#-Style Property in C++

https://vorbrodt.blog/2025/12/05/c-style-property-in-c/
1•jandeboevrie•24m ago•0 comments

Pharaoh Sheshonq III's (reign 830-791BC) sarcophagus identified in ancient Tanis

https://www.labrujulaverde.com/en/2025/11/identification-of-pharaoh-sheshonq-iiis-sarcophagus-in-...
1•Archelaos•24m ago•0 comments

Is AI what Africa needs to build?

1•lavalavista•24m ago•2 comments

How the 5 major cloud data warehouses bill you: engineer-friendly guide

https://clickhouse.com/blog/how-cloud-data-warehouses-bill-you
2•giuliomagnifico•25m ago•0 comments

Quicmesh, a tiny mesh with sloppy DHT and dynamic relays

https://github.com/beemesh/quicmesh
2•flavioaiello•25m ago•0 comments

Jolla Trying Again to Develop a New Sailfish OS Linux Smartphone

https://www.phoronix.com/news/Jolla-Phone-2025
1•kalaksi•25m ago•1 comments

Workspace Slack emojis in native iOS emoji picker

https://github.com/neon443/StickerSlack
1•sadeshmukh•26m ago•0 comments

Everything I've learned about homeowner's insurance, disasters, and recovery aid

https://a.wholelottanothing.org/all-crazy-stuff-ive-learned-about-homeowners-insurance-natural-di...
1•speckx•26m ago•0 comments

Fusion energy startup claims to have cracked alchemy

https://www.ft.com/content/06f91e0d-3007-40bd-b785-86fef4890809
2•pavel_lishin•27m ago•0 comments

Alibaba Chairman: Why the US Is Losing the AI Race [video]

https://www.youtube.com/watch?v=td4nU4MwDZE
2•hunglee2•30m ago•0 comments

The AI Backlash Is Here: Why Public Patience with Tech Giants Is Running Out

https://www.newsweek.com/ai-backlash-openai-meta-friend-10807425
21•zerosizedweasle•38m ago•2 comments

Ind-QwenTTS – TTS for 'Your Computer Has a Virus' in Authentic Indian Accent

https://huggingface.co/AryanNsc/IND-QWENTTS-V1
1•geniusyan•38m ago•1 comments

Why Most Startups Shouldn't Raise Venture Capital

https://medium.com/@gp2030/why-most-startups-shouldnt-raise-venture-capital-b766e579a1b4
3•light_triad•39m ago•0 comments

Valve rejoins the VR hardware wars with standalone Steam Frame

https://arstechnica.com/gaming/2025/11/valve-rejoins-the-vr-hardware-wars-with-standalone-steam-f...
1•PaulHoule•39m ago•1 comments