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•1y 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•1y ago
Finally!

Meta Begins 8k Global Job Cuts in Asian Hub of Singapore

https://finance.yahoo.com/sectors/technology/articles/meta-begins-8-000-global-004153394.html
1•doppp•1m ago•0 comments

Copyright Office Rejected My Attempt to Copyright a Tweet

https://www.techdirt.com/2014/08/04/copyright-office-rejected-my-attempt-to-copyright-tweet/
1•danhite•7m ago•1 comments

Ember: 365-day audited record of AI models vs. Polymarket, scored by Brier

https://emberfyi.com/
1•emberfyi•8m ago•0 comments

AI video editing is blowing my mind

https://aivideoediting.io/
1•pekingzcc•13m ago•0 comments

Architect of the UK Online Safety Act Calls for Its Complete Repeal

https://prestonbyrne.com/2026/05/19/architect-of-the-uk-online-safety-act-calls-for-its-complete-...
1•iamnothere•13m ago•0 comments

Rendezvous: A serverless, Zoom-like video conferencing web app

https://github.com/predatorray/rendezvous
2•zetaplusae•20m ago•0 comments

Generalization Dynamics of LM Pre-Training

https://jiaxin-wen.github.io/blog/generalization-dynamics
1•gmays•21m ago•0 comments

Iteration

https://blog.viktomas.com/posts/iteration/
1•luca-sctr•21m ago•0 comments

GPU telemetry anomaly: 146W idle draw on A100 (white paper)

https://github.com/mikebains41-debug/ai-gpu-energy-optimizer-/blob/main/WHITEPAPER.md
1•mikebains•26m ago•0 comments

Who Wins the Future: Chips vs. Frontier LLMs

https://medium.com/@vektormemory/who-wins-the-future-chips-vs-frontier-llms-1e8e0ca42641
1•vektormemory•28m ago•1 comments

The Richest Cat in the World

https://www.theatlantic.com/magazine/2026/06/karl-lagerfeld-cat-heir-choupette/686940/
1•gmays•28m ago•0 comments

Energy Efficiency

https://ai-gpu-brain-v3.onrender.com/metrics
2•mikebains•29m ago•0 comments

Anthropic hires OpenAI cofounder Andrej Karpathy

https://www.cnbc.com/2026/05/19/anthropic-hires-openai-cofounder-andrej-karpathy-former-tesla-ai-...
1•doppp•31m ago•1 comments

CVE-2025-54518

https://nvd.nist.gov/vuln/detail/cve-2025-54518
1•losfair•33m ago•0 comments

Key, in sight [Creative uses of keyboard shortcuts and macros]

https://aresluna.org/key-in-sight/
1•anotherevan•38m ago•1 comments

Show HN: Building a Programming Language for Myself

https://blog.aawadia.dev/2026/05/19/teak-lang/
1•asadawadia•39m ago•0 comments

20 Year old pgcrypto CVE reported

https://thebuild.com/blog/2026/05/15/two-decades-two-rces-what-pgcrypto-has-been-doing-since-2005/
1•sameers•41m ago•1 comments

Coding is solved? Software is not

https://arcplane.ai/journal/software-is-not-solved
2•splash123•41m ago•0 comments

Greg Hyman, Co-Creator of Tickle Me Elmo, Dies at 78

https://www.nytimes.com/2026/05/19/business/greg-hyman-dead.html
1•bookofjoe•46m ago•1 comments

Google Scholar names its most influential papers for 2025

https://www.nature.com/nature-index/news/google-scholar-reveals-most-influential-research-papers-...
1•teleforce•46m ago•0 comments

Japan is gripped by mass allergies. A 1950s project is to blame

https://www.bbc.com/future/article/20260515-the-1950s-blunder-which-causes-mass-hay-fever-in-japan
2•ranit•48m ago•0 comments

Ask HN: Should I learn to code in 2026?

3•vrinda13•49m ago•1 comments

Thioacetone (Wiki)

https://en.wikipedia.org/wiki/Thioacetone
1•sans_souse•51m ago•0 comments

XINF MCP Server

https://xinf.dev/mcp
2•ZeroTerabytes•55m ago•2 comments

Canonical launches Ubuntu Core 26

https://canonical.com/blog/canonical-launches-ubuntu-core-26
2•LopRabbit•56m ago•0 comments

Ben Welsh made an index of all FiveThirtyEight articles on the Internet Archive

https://fivethirtyeightindex.com/
3•ChocMontePy•57m ago•1 comments

'We don't see a robot as a threat: simply another form of presence in the world'

https://english.elpais.com/science-tech/2026-05-16/takeshi-yoro-anatomist-in-japan-we-dont-see-a-...
1•Geekette•59m ago•1 comments

Sci/acc: what happens to science after super-intelligence?

https://willzeng.com/shared/sciacc.html
1•wzeng•1h ago•1 comments

Ubuntu Core 26 targets IoT, offers up to 15 years of security maintenance

https://www.cnx-software.com/2026/05/19/ubuntu-core-26-targets-iot-devices-and-embedded-systems-o...
2•0in•1h ago•0 comments

On Guard! The Story of SAGE [IBM, 1956]

https://www.youtube.com/watch?v=lFGco9ZsFGE
1•doctaj•1h ago•1 comments