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!

Musk vs. Altman: The CEO on Trial

https://precognewsnow.substack.com/p/musk-v-altman-the-ceo-on-trial
1•0xPetra•1m ago•1 comments

Cloudflare launches feature flags with "Flagship"

https://blog.cloudflare.com/flagship/
1•sgammon•2m ago•0 comments

Is there any proof that scrolling ruins our attention span? [video]

https://www.bbc.com/reel/video/p0nfykf2/watch
3•jethronethro•2m ago•0 comments

Ask HN: What Makes AI a Bubble?

1•atleastoptimal•6m ago•1 comments

Tell HN: Site Is Trash Now

3•AndyKelley•11m ago•0 comments

China's DeepSeek prices new V4 AI model at 97% below OpenAI's GPT-5.5

https://www.scmp.com/tech/tech-trends/article/3351595/chinas-deepseek-prices-new-v4-ai-model-97-b...
3•akyuu•11m ago•0 comments

Steam Controller: Official Overview and Quick Start Guide [video]

https://www.youtube.com/watch?v=a55UIaiTE-A
2•LandenLove•15m ago•0 comments

Tracking the history of the now-deceased OpenAI Microsoft AGI clause

https://simonwillison.net/2026/Apr/27/now-deceased-agi-clause/
1•yakkomajuri•15m ago•0 comments

What is physical AI?

https://www.ibm.com/think/topics/physical-ai
1•teleforce•16m ago•0 comments

What's new in pip 26.1 – lockfiles and dependency cooldowns

https://ichard26.github.io/blog/2026/04/whats-new-in-pip-26.1/
1•sashk•18m ago•0 comments

Larry Ellison's Wealth Differs from Other Tech Billionaires

https://www.wsj.com/finance/larry-ellison-net-worth-wealth-5571ca5d
3•JumpCrisscross•21m ago•0 comments

New Integrated by Design FreeBSD Book

https://vivianvoss.net/blog/integrated-by-design-launch
7•vermaden•23m ago•0 comments

Ukraine's drone commander has Russian oil, troops and morale in his sights

https://www.bbc.com/news/articles/c1d9wvd2e4ro
17•tkgally•28m ago•1 comments

The NYC Law on Metal Gates That Nearly Everyone Forgot About

https://www.nytimes.com/2026/04/24/nyregion/metal-gates-city-council-law.html
2•JumpCrisscross•30m ago•0 comments

Reddit no longer allowing mobile users to browse on web

https://old.reddit.com/r/help/comments/1sudaup/reddit_no_longer_letting_me_browse_on_my_phone/
2•darth_avocado•31m ago•0 comments

Show HN: I build an automation that back my Claude chat to a ticketing system

1•xnslx•33m ago•0 comments

Free paycheck calculator for all 50 US states

https://takehometool.com/
1•ahcstudio•34m ago•0 comments

Show HN : Tickword – Chain the words. Dont let the clock catch you

https://tickword.com/en
1•Jekooo•36m ago•3 comments

Intuitive Understanding of PCA

https://ai.ragv.in/posts/intuitive-understanding-of-pca/
1•kn81198•38m ago•0 comments

Why on-chain options are still thin (and a liquidity model that fixes it)

https://rohanrathod.ai/writing/on-chain-options-liquidity
1•ro_lend•40m ago•0 comments

Late pregnancy is pretty bizarre

https://viverricious.substack.com/p/late-pregnancy-is-pretty-bizarre
1•eatitraw•41m ago•0 comments

Predicting the Future (2001) - Strategic Uncertainty 25 years later[pdf]

https://library.rumsfeld.com/doclib/sp/2382/2001-04-12%20To%20George%20W%20Bush%20et%20al%20re%20...
2•pollorollo•41m ago•0 comments

Admin Console Inaccessible – Tailscale Status

https://status.tailscale.com/incidents/01KQ8HC1B4KG94AMB39DD9F0FJ
1•corvad•42m ago•0 comments

How My RLM Tool Works

https://isaacflath.com/writing/rlm
1•simonpure•42m ago•0 comments

Taming the Unpredictable: Reliability in Chaos (Srecon 26)

https://www.usenix.org/conference/srecon26americas/presentation/brush
1•captainkrtek•42m ago•0 comments

Why stablecoins are making many banks nervous

https://www.marketplace.org/story/2026/04/27/why-stablecoins-are-making-many-banks-nervous
2•petethomas•45m ago•0 comments

A common weed killer left an epigenetic footprint in early-onset colon cancer

https://medicalxpress.com/news/2026-04-common-weed-killer-left-hidden.html
7•SilverElfin•45m ago•1 comments

We tested 7,039 sites for MCP support; 5.8% passed a live handshake

https://8bitconcepts.com/research/q2-2026-mcp-ecosystem-health.html
1•8bitconcepts•47m ago•0 comments

Extended interview: Ben Sasse on lessons for America [video]

https://www.youtube.com/watch?v=WcT9O5Sjmd0
1•duck•52m ago•0 comments

Solar exports 2x during Oil Crisis

https://e360.yale.edu/digest/china-solar-exports-iran-war
3•dreadsword•1h ago•0 comments