frontpage.
newsnewestaskshowjobs

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!

Llama.cpp hits v1.0 with a native app for macOS

https://huggingface.co/blog/ggml-org/llama-cpp-v1
1•shubham0204•1m ago•1 comments

Elephants Found to Be Increasingly Isolated Leading to Fractured Social Networks

https://today.ucsd.edu/story/elephants-found-to-be-increasingly-isolated-leading-to-fractured-soc...
1•gmays•4m ago•0 comments

Of Course Americans Blamed the Ground Stop on AI

https://www.theatlantic.com/ideas/2026/11/faa-grounding-flights-cancelled/689444/
1•paulpauper•4m ago•0 comments

Get Ready for More Chaos

https://www.theatlantic.com/ideas/2026/11/flights-grounded-why/689446/
1•paulpauper•5m ago•0 comments

Little Red Riding Hood's Quest

https://ai-quest.lusion.co/
1•lovegrenoble•6m ago•0 comments

Core Principles

https://lopespm.com/notes/2026/11/14/core-principles.html
1•lopespm•8m ago•0 comments

V&a Storehouse

https://lopespm.com/notes/2026/11/14/v_a_storehouse.html
1•lopespm•9m ago•0 comments

A proof of the Aaronson‑Ambainis conjecture

https://psi.inc/research/aaronson-ambainis/
1•vismit2000•12m ago•0 comments

GigChain Keys – a free, open-source MainStage alternative

https://github.com/xDarkzx/GigChain-Keys
2•DanHodgetts•19m ago•0 comments

FAA lifts ground stop at U.S. airports

https://www.washingtonpost.com/transportation/2026/11/13/faa-grounds-flights-all-us-airports-citi...
4•lisper•19m ago•0 comments

The Iron Pentacle

https://faerywolf.com/iron-pentacle/
1•PaulHoule•19m ago•0 comments

SSH Keys in the Secure Enclave, Without an Agent

https://lograker.app/blog/secure-enclave-ssh-keys-without-an-agent
1•moonlighter•23m ago•1 comments

Making Software – Quantum Computing

https://www.makingsoftware.com/chapters/quantum-computing
2•Brajeshwar•28m ago•0 comments

Tiny London quant fund emerges as one of the UK's biggest corporate taxpayers

https://www.ft.com/content/8e394812-5940-4187-8cbf-6cd597fb314c
3•throwaway2037•33m ago•1 comments

FAA lifted National Ground Stop at 0119Z

https://www.fly.faa.gov/adv/adv_otherdis?adv_date=11142026&advn=5
74•d3nit•36m ago•32 comments

Open-source ChatGPT Enterprise alternative, built on the Codex runtime

https://github.com/LingX-AI/LinkSense
1•snasan•41m ago•0 comments

AI has become a utility bill for Gen Z

https://www.reuters.com/markets/on-the-money/how-ai-has-become-utility-bill-gen-z-2026-11-13/
2•geox•43m ago•0 comments

Show HN: RemoteKu – Desktop Roku remote and live ECP keyboard deck for Mac/PC

https://github.com/KevinOBytes/remoteku
2•KevinBytes•45m ago•0 comments

Let Claude Code read your notes with MCP

https://sayjot.xyz/blog/claude-code-mcp-notes
2•mohakbajaj•46m ago•1 comments

FIRE says US to end efforts to curb App,s FB groups reporting on ICE activity

https://www.reuters.com/legal/litigation/free-speech-nonprofit-says-us-end-efforts-curb-facebook-...
10•anigbrowl•51m ago•2 comments

First person killed by a steam train in UK in 58 years

https://uk.news.yahoo.com/first-person-killed-steam-train-143538887.html
2•nephihaha•55m ago•0 comments

Ukraine knocks out 36% of Russia's oil refining capacity in under two weeks

https://english.nv.ua/nation/thirteen-day-drone-blitz-paralyzes-36-of-moscow-s-oil-50658616.html
84•kaycebasques•56m ago•17 comments

Howard Lutnick Has Got to Go

https://www.nytimes.com/2026/11/13/opinion/jensen-huang-nvidia-howard-lutnick-commerce.html
6•tedd4u•1h ago•3 comments

Trump 'considering sacking Lutnick' in wake of Nvidia scandal

https://www.telegraph.co.uk/us/news/2026/11/12/trump-considering-sacking-lutnick-in-wake-of-nvidi...
2•madihaa•1h ago•0 comments

Plague, gruel and bad teeth: why do people idealise the olden days?

https://www.economist.com/culture/2026/11/12/plague-gruel-and-bad-teeth-why-do-people-idealise-th...
3•Anon84•1h ago•1 comments

The Denny's where Nvidia was born has removed the sign honoring the company

https://www.nbcnews.com/tech/tech-news/dennys-nvidia-jensen-huang-california-rcna609154
8•madihaa•1h ago•3 comments

DOGE will make "rapid safety upgrades" to ATC system (2025)

https://thehill.com/policy/technology/5129134-el-musk-urges-quick-safety-upgrades-faa/
7•12_throw_away•1h ago•0 comments

Advanced Vibecoding [video]

https://www.youtube.com/watch?v=8hrnmA9XDPo
2•yuppiemephisto•1h ago•0 comments

Beyond Happy Path Engineering: Time

https://blog.gaborkoos.com/posts/2026-07-19-Beyond-Happy-Path-Engineering-Time/
2•fagnerbrack•1h ago•0 comments

Elon Musk to sign a petition to reinstate Jensen Huang

https://twitter.com/elonmusk/status/2121345211959804234
6•onmysofa•1h ago•1 comments