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

Will you pay for this? – meet to LinkedIn post

1•zeelpatel27•29s ago•0 comments

Better Auth Usage (plugin)

https://github.com/EggerMarc/better-auth-usage
1•eggermarc•1m ago•1 comments

How A Spartan Revolutionized Baseball

https://msutoday.msu.edu/news/2026/03/spartan-revolutionize-baseball
1•rmason•2m ago•0 comments

Inside the covert operation to bring down the party threatening Orbán's rule

https://telex.hu/direkt36/2026/03/25/inside-the-covert-operation-to-bring-down-the-party-threaten...
1•chpatrick•2m ago•0 comments

Show HN: First autonomous AI agent purchase via open protocol (UCP)

https://ucpchecker.com/blog/first-autonomous-ai-agent-purchase-ucp
1•benjifisher•5m ago•0 comments

Postal Service to Impose Its First-Ever Fuel Surcharge on Packages

https://www.wsj.com/us-news/postal-service-to-impose-first-ever-fuel-surcharge-on-packages-73b5e0fd
2•bookofjoe•5m ago•1 comments

iOS 26.5 update adds age verification in the UK

https://www.theverge.com/tech/900284/apple-ios-26-4-uk-age-verification
1•treebrained•6m ago•0 comments

Kern – AI agents built for coworking

https://kern-ai.com/
1•obilgic•6m ago•0 comments

Tmux Replacement for Agentic Workflows

https://github.com/nmelo/initech
1•nmelo•7m ago•0 comments

Uploading to Wikimedia Commons with AI

https://daniel.lawrence.lu/blog/2026-03-25-uploading-to-wikimedia-commons-with-ai/
2•plun9•8m ago•0 comments

AutoGaze removes redundant video patches before passing into a ViT or MLLM

https://autogaze.github.io/
1•MayCXC•8m ago•0 comments

Cannabis Through the Ages

https://thereader.mitpress.mit.edu/cannabis-through-the-ages/
2•samizdis•10m ago•0 comments

The U.S. is blocking router approvals unless they are manufactured domestically

https://www.igorslab.de/en/the-u-s-is-blocking-new-router-approvals-unless-they-are-manufactured-...
2•tablets•12m ago•0 comments

So Long KubeSail

1•vocatan•15m ago•0 comments

To Get a Government Contract in 38 States, You Must Pledge Not to Boycott Israel

https://www.aclu.org/news/free-speech/congress-laws-suppressing-boycotts-israel-are-unconstitutio...
2•KoftaBob•16m ago•0 comments

Show HN: Rostra – Scroll the Greats

https://www.readrostra.com
1•richhwang•16m ago•0 comments

Show HN: I coded Podhoc – Podcast generator to learn on the go

https://podhoc.com
2•davidpelayo•18m ago•0 comments

NASA's plan for nuking Gateway and sending it to Mars

https://arstechnica.com/space/2026/03/here-is-nasas-plan-for-nuking-gateway-and-sending-it-to-mars/
1•LorenDB•20m ago•1 comments

Bruno: The Git-native API client

https://www.usebruno.com
1•ahamez•21m ago•0 comments

BRINC's new police drone uses Starlink, carries Narcan, chases vehicles at 60mph

https://arstechnica.com/gadgets/2026/03/brincs-new-police-drone-uses-starlink-carries-narcan-chas...
1•LorenDB•21m ago•0 comments

AI and Git Worktree: a multi-agent setup that works

https://www.memmof.dev/writing/git-worktree-ai-agents
1•AnhTho_FR•24m ago•0 comments

ClassicPress 2.7.0 Release Notes

https://forums.classicpress.net/t/classicpress-2-7-0-release-notes/6512
4•ethanpil•27m ago•0 comments

Robotics Needs Fewer Roboticists

https://www.a16z.news/p/robotics-needs-fewer-roboticists
2•sebg•30m ago•0 comments

Migrant children detained California used as bait to arrest and deport parents

https://laist.com/news/migrant-children-southern-california-used-as-bait-to-arrest-deport-parents
3•hedora•30m ago•0 comments

The Cursive Transformer

https://greydanus.github.io/2025/03/30/cursive-transformer/
1•sebg•30m ago•0 comments

Ask HN: Did you ever consciously create technical debt?

1•philippta•31m ago•1 comments

Show HN: Automate your workflow in plain English

https://www.operator23.com/
2•Mrakermo•31m ago•0 comments

Poker Legend and Author of 'The Theory of Poker' David Sklansky Passes Away

https://www.pokernews.com/news/2014/02/poker-legend-david-sklansky-passes-away-50722.htm
1•rurp•35m ago•0 comments

How Anthropic's Claude Thinks

https://blog.bytebytego.com/p/how-anthropics-claude-thinks
2•shric•38m ago•0 comments

Show HN: Druids – coordinate and deploy coding agents across machines

https://github.com/fulcrumresearch/druids
6•etherio•38m ago•1 comments