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

Show HN: Readme badge to quickly find related open source repos

https://relatedrepos.com/badge
1•plurch•18s ago•0 comments

Apollo sued for allegedly concealing Epstein business ties from shareholders

https://www.reuters.com/sustainability/boards-policy-regulation/apollo-leon-black-sued-allegedly-...
1•petethomas•1m ago•0 comments

Free Software Needs Free Tools: Making Your Project Open

https://cfp.cfgmgmtcamp.org/ghent2026/talk/LHWU8T/
1•Tomte•1m ago•0 comments

Show HN: A Write Barrier That Blocks Structural Collapse in LLM Reasoning

1•persistentVlad•2m ago•1 comments

Show HN: Exodus – we tracked 240 moves across companies to map the AI talent war

https://7min.ai/exodus/
1•fabioperez•2m ago•0 comments

Designing Search Experiences

1•CShorten•3m ago•0 comments

Deploy from GitHub Actions without Storing Secrets (Using OIDC)

https://www.even.li/posts/2026-03-03-deploy-github-actions-without-storing-secrets-using-oidc/
1•n_e•4m ago•0 comments

Two Months as a Vibe Coder

https://www.pinchofintelligence.com/two-months-as-a-vibe-coder/
1•rmeertens•4m ago•0 comments

Finance in the Dark

https://www.phenomenalworld.org/analysis/finance-in-the-dark/
1•speckx•4m ago•0 comments

I made the first eSIM service for OpenClaw

https://www.getesimpal.com/en-US/agents
1•deniurchak•6m ago•1 comments

The 10x inference tax you don't have to pay

https://www.distillabs.ai/blog/the-10x-inference-tax-you-dont-have-to-pay
1•maciejgryka•7m ago•0 comments

Show HN: Aside – Local meeting capture with vault-native AI distillation

https://github.com/jshph/aside/
1•jphorism•7m ago•0 comments

Package Management Is Naming All the Way Down

https://nesbitt.io/2026/03/03/package-management-is-naming-all-the-way-down.html
1•zdw•8m ago•0 comments

Plasma Bigscreen – 10-foot interface for KDE plasma

https://plasma-bigscreen.org
1•birdculture•8m ago•0 comments

Darwinian Post-Design

https://medium.com/@big.sebastian.ionut/darwinian-post-design-when-ease-of-use-becomes-the-only-h...
1•levabalkin•9m ago•1 comments

Qatar Shuts World’s Largest LNG Export Plant

https://www.bloomberg.com/news/articles/2026-03-02/european-gas-rallies-more-than-30-as-qatar-hal...
2•geox•11m ago•0 comments

Show HN: Kai – macOS native fully autonomous AI agent.

https://www.hikai.space
2•StephaneBessa•11m ago•0 comments

Invite people over to your home regularly

https://blog.mattglassman.net/you-should-invite-people-over-to-your-home-regularly/
2•speckx•13m ago•0 comments

Show HN: Potatoverse, home for your vibecoded apps

https://github.com/blue-monads/potatoverse
2•born-jre•15m ago•0 comments

Migrating Elderly Care AI from Qwen 3 to 3.5 on Apple Silicon – 14x Latency Fix

https://medium.com/@aejaz.sheriff/from-qwen-3-to-qwen-3-5-on-apple-silicon-a-14x-latency-regressi...
2•asqpl•15m ago•1 comments

Show HN: AI Home Design – Room redesign and video tour and 3D panorama

https://aihomedesign.io
2•Evanmo666•16m ago•0 comments

Jacinda Arderns move to Australia spotlight on New Zealand's brain drain problem

https://www.bbc.com/news/articles/clyx93597l4o
1•tartoran•16m ago•0 comments

Iran Just Triggered a Cryptic Shortwave Message [video][8m41s]

https://www.youtube.com/watch?v=ErmbTpxAM7Q
1•Bender•17m ago•0 comments

We may soon have 70M boomers too old to drive, too car-dependent to stop

https://lloydalter.substack.com/p/we-may-soon-have-70-million-boomers
4•cainxinth•18m ago•0 comments

Are AI Datacenters Increasing Electric Bills for American Households?

https://newsletter.semianalysis.com/p/are-ai-datacenters-increasing-electric
2•2bluesc•18m ago•1 comments

Tell HN: Gemini 3.1 Pro may be responding to other users' prompts

3•Orochikaku•19m ago•0 comments

Show HN: ScopeGate – Granular permission gateway for AI agents (MCP, open-core)

https://scopegate.dev
1•jetbootsmaker•19m ago•0 comments

What Happened to Agent Frameworks?

https://twitter.com/tonykipkemboi/status/2028564120338063859
1•tonykipkemboi•19m ago•1 comments

Show HN: PTEcorepractice – Free PTE Core Practice with Instant AI Scoring for PR

https://ptecorepractice.com
1•zzx•19m ago•0 comments

Some Tech Publications Consistently Score Products 5–7 Points Higher Than Others

https://www.criticaster.com/blog/publication-scoring-bias
1•gghootch•19m ago•0 comments