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!

Claude Code Removed from $20-a-Month "Pro" Subscription for New Users

https://www.wheresyoured.at/news-anthropic-removes-pro-cc/
3•Xiol•3m ago•0 comments

Show HN: No JavaScript Club

https://nojs.club/
1•basilikum•3m ago•0 comments

The Lemming Effect

https://twitter.com/lopes_pm/status/2046722429075013822
1•lopespm•5m ago•0 comments

'Everyone Is Lying to You for Money' Digs into Cryptocurrency

https://www.nytimes.com/2026/04/17/movies/cryptocurrency-documentary-everyone-is-lying-to-you-for...
2•paulpauper•7m ago•0 comments

Opus 4.7 Part 2: Capabilities and Reactions

https://thezvi.substack.com/p/opus-47-part-2-capabilities-and-reactions
1•paulpauper•7m ago•0 comments

Recursive Superintelligence Raises $500M Funding Round at $4B Valuation

https://www.ft.com/content/a92bf04b-bbac-400f-9554-5b1c70957ad4
1•in-silico•7m ago•0 comments

Opus 4.7 Part 1: The Model Card

https://thezvi.substack.com/p/opus-47-part-1-the-model-card
1•paulpauper•8m ago•0 comments

New Hope Against Pancreatic Cancer

https://www.wsj.com/opinion/revolution-medicines-daraxonrasib-pancreatic-cancer-ben-sasse-675bac62
1•neehao•8m ago•0 comments

Say Goodbye to the Undersea Cable That Made the Global Internet Possible

https://www.wired.com/story/say-goodbye-to-the-undersea-cable-that-made-the-global-internet-possi...
1•divbzero•8m ago•0 comments

The provided text explains why the skin in Avatar 3 appears plastic-like

https://note.com/alive_bobcat1617/n/n40223d1cf9b2
1•tacwon•9m ago•0 comments

Continuous Respiration Rate Monitoring Device for Dairy Cattle

https://www.mdpi.com/2076-2615/16/6/984
1•PaulHoule•10m ago•0 comments

Trump Is Said to Be in Talks to Send Afghans Who Aided U.S. Forces to Congo

https://www.nytimes.com/2026/04/21/world/europe/afghan-refugees-congo-us.html
2•duxup•11m ago•2 comments

Cursor has given SpaceX the right to acquire Cursor later this year for $60B

https://xcancel.com/SpaceX/status/2046713419978453374
2•marksully•12m ago•0 comments

Copyright and DMCA Best Practices for Fediverse Operators

https://www.eff.org/deeplinks/2026/04/copyright-and-dmca-best-practices-fediverse-operators
1•sohkamyung•12m ago•0 comments

Clojure Documentary Q&A [video]

https://www.youtube.com/watch?v=hc112UhpHow
1•bmillare•13m ago•0 comments

OnlyOffice says Nextcloud must restore removed logos in Euro-Office fork

https://www.neowin.net/news/onlyoffice-invokes-agplv3-says-nextcloud-must-restore-removed-logos-i...
1•bundie•13m ago•0 comments

We Need to Talk About the IPv8 Draft

https://shitwolfymakes.substack.com/p/we-need-to-talk-about-the-ipv8-draft
1•Refreeze5224•13m ago•0 comments

Aura

https://hergimuci.gumroad.com/l/ai-agent-blueprint
2•OpenClawAura•15m ago•0 comments

Habits of Highly Overrated People (2013)

https://daedtech.com/the-7-habits-of-highly-overrated-people/
2•rzk•16m ago•0 comments

Mythos Hacked Day It Was Announced

https://twitter.com/negligible_cap/status/2046706434373537955
3•scaboodles•17m ago•0 comments

Medicare Delays Full Obesity-Drug Program Rollout After Insurers Push Back

https://www.wsj.com/health/pharma/medicare-delays-full-obesity-drug-program-rollout-after-insurer...
2•JumpCrisscross•17m ago•0 comments

What exactly is an executive chair, Tim Cook's new position?

https://hsu.cy/2026/04/tim-cook-as-the-executive-chair/
2•firexcy•17m ago•0 comments

SpaceX Says It Has Agreement to Acquire Cursor for $60B

https://www.bloomberg.com/news/articles/2026-04-21/spacex-says-has-agreement-to-acquire-cursor-fo...
6•Jimmc414•18m ago•0 comments

Caption Game: Multiplayer Meme / Caption Browser Game for 3-7 Players

https://captiongame.com
1•keymash•19m ago•0 comments

CATL claims 6-minute charge and 1,500km range for new electric vehicle batteries

https://www.ft.com/content/1773de37-2595-4d9f-9536-dbe03ff1f8d3
3•scrlk•22m ago•1 comments

Connect 47 tools, query everything in plain English

https://skopx.com
1•skopx•22m ago•0 comments

Claude Code no longer included in Pro tier

https://bsky.app/profile/edzitron.com/post/3mjzxwfx3qs2a
10•johnduhart•22m ago•3 comments

China Did Not Build Its Math Machine from Scratch. It Rewired the Soviet One

https://valeman.medium.com/china-did-not-build-its-math-machine-from-scratch-it-rewired-the-sovie...
1•ibobev•24m ago•0 comments

HyperZHub Browser

https://github.com/hyperzteam456/hyperzhub/
1•HyperZTeam•26m ago•1 comments

SpaceX Strikes Deal With Cursor for $60 Billion

https://www.nytimes.com/2026/04/21/business/spacex-cursor-deal.html
71•markthethomas•32m ago•47 comments