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!

CA Billionaire Spends $3.5M to oppose OpenAI in NY house race

https://www.nytimes.com/2026/05/01/us/politics/alex-bores-chris-larsen-open-ai-jack-schlossberg.html
1•dolomo•50s ago•1 comments

Anthropic's anti-distillation defense,reverse-engineered from Claude Code source

https://wanlanglin.github.io/-awesome-cc-harness/en/
2•felixwll•5m ago•0 comments

Ling-2.6-1T: A Trillion-Parameter Comprehensive Flagship Model for Complex Tasks

https://huggingface.co/inclusionAI/Ling-2.6-1T
1•darkhorse13•5m ago•0 comments

Show HN: LocalVQE: Tiny ~1M param audio model that cancels echo and noise

https://huggingface.co/spaces/LocalAI-io/LocalVQE-demo
1•richiejp•7m ago•0 comments

SpaceX spending on Starship tops $15B in rush for airline-like rocketry

https://www.reuters.com/business/autos-transportation/spacex-spending-starship-tops-15-billion-ru...
1•bilsbie•8m ago•0 comments

Publishers Demand Accountability from Common Crawl over Unauthorized Use

https://www.newsmediaalliance.org/nma-letter-to-common-crawl/
1•thm•9m ago•1 comments

Ask HN: How do you self-host your apps?

1•blindlobstar•9m ago•0 comments

Without warning, Germany ordered Lexus to remotely shut down the remote-start

https://twitter.com/redpillb0t/status/2050052552948175265
2•bilsbie•10m ago•0 comments

AI commerce needs an MLPerf – early attempt at one

https://ucpchecker.com/blog/ucp-playground-evals
1•benjifisher•12m ago•0 comments

The Productivity Panic Is Your Problem Now

https://stratechgist.com/p/the-productivity-panic-is-your-problem
1•bartdegoede•15m ago•0 comments

Hallucinated citations are polluting the scientific literature. What can be done

https://www.nature.com/articles/d41586-026-00969-z
1•b-man•16m ago•0 comments

Android VPN IP Leak Even If Always-On VPN Enabled

https://lowlevel.fun/posts/tiny-udp-cannon-android-vpn-bypass/
5•birdculture•16m ago•0 comments

The Rise of the High-Range, Less Expensive E.V

https://www.nytimes.com/2026/04/27/upshot/cheap-electric-cars-gas-prices.html
2•TheWeiHu•17m ago•1 comments

Elon Musk's A.I. Claims of Danger Face Limits in OpenAI Trial

https://www.nytimes.com/2026/04/30/technology/openai-trial-elon-musk-existential.html
1•1vuio0pswjnm7•17m ago•0 comments

An Ode to Inconsolation

https://terminaltrove.com/blog/an-ode-to-inconsolation/
1•diazc•18m ago•0 comments

Abaxx Announces Release of Open-Source Library for Agentic Identity: Agents++

https://investors.abaxx.tech/press-releases/abaxx-announces-the-formation-of-abaxx-labs-and-the-r...
1•mdhen•18m ago•1 comments

Herb Sutter: What C++26 Means for Production Systems [video]

https://www.youtube.com/watch?v=Qvr9MTAU_y4
1•KnuthIsGod•19m ago•0 comments

For first time since World War II, US national debt now larger than its economy

https://fortune.com/2026/04/30/national-debt-larger-than-economy-gdp-ratio-100-percent/
2•Geekette•20m ago•0 comments

Juan Alday: Why C++ Wins in Finance [video]

https://www.youtube.com/watch?v=InLxLEqg_fs
1•KnuthIsGod•20m ago•0 comments

Dreams – A New Social Media Network

1•code1234567890•21m ago•0 comments

California billionaire tax proposal attracts 1.5M signatures

https://www.latimes.com/business/story/2026-04-30/what-to-know-about-california-billionaire-tax-p...
3•1vuio0pswjnm7•22m ago•0 comments

Public consultation should begins on plans to transform the moon and Mars

https://www.theguardian.com/commentisfree/2026/may/01/artemis-moon-mars
1•giuliomagnifico•23m ago•0 comments

D. B. Cooper

https://en.wikipedia.org/wiki/D._B._Cooper
1•chistev•24m ago•0 comments

Gašper Ažman: How C++26 Rethinks Concurrency and Execution [video]

https://www.youtube.com/watch?v=A13jJXW74xQ
1•KnuthIsGod•24m ago•0 comments

Vatican Observatory has asteroid named after Pope Leo XIII

https://www.vaticannews.va/en/vatican-city/news/2026-05/vatican-observatory-astronomy-asteroids-p...
1•thinkingemote•27m ago•0 comments

Running Adobe's 1991 PostScript Interpreter in the Browser

https://www.pagetable.com/?p=1854
8•ingve•31m ago•1 comments

Ask HN: How do you detect breaking API changes in CI?

1•coffeecoderr•32m ago•0 comments

Sanders splits with Washington on AI arms race with China

https://www.axios.com/2026/04/30/bernie-sanders-ai-arms-race-china
1•1vuio0pswjnm7•34m ago•1 comments

NHS Goes to War Against Open Source

https://shkspr.mobi/blog/2026/05/nhs-goes-to-war-against-open-source/
5•edent•36m ago•1 comments

Silicon Valley Is Bracing for a Permanent Underclass

https://www.nytimes.com/2026/04/30/opinion/ai-labor-work-force-silicon-valley.html
2•thm•36m ago•0 comments