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!

UK has not given US permission to use RAF bases for Iran strikes

https://www.bbc.co.uk/news/articles/cj98egkl7l1o
1•only_in_america•51s ago•0 comments

What Developers Need to Know a Conversation with Addy Osmani

https://www.oreilly.com/radar/what-developers-actually-need-to-know-right-now/
1•rmason•1m ago•0 comments

Lessons from Building Claude Code: Prompt Caching Is Everything

https://twitter.com/trq212/status/2024574133011673516
1•mfiguiere•1m ago•0 comments

Castlelight Game

https://www.castlelight.net/
1•napolux•1m ago•0 comments

Truth and Proof (1969)

https://www.scientificamerican.com/article/truth-and-proof/
1•measurablefunc•2m ago•1 comments

Something Is Going on with Colorectal Cancer

https://www.hankgreen.com/crc
1•ZeroGravitas•3m ago•0 comments

The Most Important Design Guideline?

https://www.aristeia.com/Papers/IEEE_Software_JulAug_2004_revised.htm
2•lr0•6m ago•0 comments

Sanders and Newsom become adversaries over push to tax California billionaires

https://apnews.com/article/california-billionaires-bernie-sanders-gavin-newsom-democrats-87a1e54f...
2•donsupreme•7m ago•0 comments

Googling on Brazil about "Gemini said" shows unrevised content from Gemini

2•yrds96•8m ago•0 comments

Mohammed El-Erian on prominent private credit fund halting redemptions

https://twitter.com/elerianm/status/2024432428052365443
1•cs702•10m ago•0 comments

Python Developers Survey 2026

https://surveys.jetbrains.com/s3/python-developers-survey-2026
2•kurinikku•11m ago•0 comments

Highly stable Cu₄₅ superatom could transform carbon recycling

https://phys.org/news/2026-01-highly-stable-cu-superatom-carbon.html
1•PaulHoule•11m ago•0 comments

Show HN: Chat with your Okta tenant directly from Slack (Open-source AI agent)

1•danFctr•12m ago•0 comments

SpaceX's Starbase city is getting its own court

https://techcrunch.com/2026/02/19/spacexs-starbase-city-is-getting-its-own-court/
1•geox•12m ago•0 comments

ChatGPT ads are appearing on the first prompt, not after conversations

https://searchengineland.com/chatgpt-ads-spotted-and-they-are-quite-aggressive-469651
2•speckx•13m ago•0 comments

Show HN: OctoFlow – A GPU-native programming language

3•mr_octopus•13m ago•0 comments

QwenDirStat

https://tkanarsky.com/qwendirstat
1•tkanarsky•13m ago•1 comments

Reproducing autonomous Super Mario play with a genetic algorithm (open source)

https://github.com/testflows/Examples/tree/v2.0/SuperMario
1•vfinix•14m ago•0 comments

Prompt Injection Is a LangSec Problem: Unsolvable in the General Case

https://jhugman.com/posts/prompt-injection-langsec/
1•ashemaj•14m ago•0 comments

Research Revival Fund

https://researchrevival.org/about
1•eamag•14m ago•0 comments

Prompt Caching 201

https://developers.openai.com/cookbook/examples/prompt_caching_201/
1•gmays•14m ago•0 comments

OpenAI Codex PSA on Malicious Config Files

https://www.promptarmor.com/resources/openai-codex-psa-on-malicious-config-files
1•takira•16m ago•0 comments

Insurer to Pay Millions for Errors That Made Mental Health Care Harder to Access

https://www.propublica.org/article/emblem-health-ghost-network-settlement-mental-health
3•cdrnsf•17m ago•0 comments

Integrated crypto portfolio tracking, comparisons, simulations

https://blockviz.xyz/portfolio/compare
1•blockviz•19m ago•0 comments

Kevros – Governance-as-a-service API for AI agents

https://github.com/ndl-systems/kevros-governance-sdk
1•kevros_ai_chain•21m ago•0 comments

An AWKward Modem

https://seriot.ch/software/awkward_modem.html
2•beefburger•21m ago•0 comments

Blue Owl Capital stopping withdrawals has El-Erian making Bear Stearns parallels

https://www.marketwatch.com/story/fund-that-has-frozen-withdrawals-since-november-now-says-itll-n...
2•zerosizedweasle•21m ago•2 comments

Ask HN: Do subagents stop making sense at some point?

1•nemath•25m ago•2 comments

Age-verification software powers the surveillance web

https://www.therage.co/persona-age-verification/
2•delichon•25m ago•0 comments

Show HN: Messaging without accounts – continuity-authenticated instead

1•nick0clark•26m ago•0 comments