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•10mo 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•10mo ago
Finally!

Sucker: My Year as a Degenerate Gambler

https://www.theatlantic.com/magazine/2026/04/online-sports-betting-app-addiction/686061/
1•csheehan10•1m ago•0 comments

I built a game where you guess the AI prompt behind images

https://www.indiehackers.com/post/i-built-a-game-where-you-guess-the-ai-prompt-behind-images-RakW...
1•irtizahammad•2m ago•0 comments

macOS for Developers: 5 Essential Skills to Master Terminal, Homebrew and Docker

https://rakiabensassi.substack.com/p/macos-for-developers-5-essential
1•rakiabensassi•2m ago•1 comments

The Moments That Made 2025

https://rakiabensassi.substack.com/p/the-moments-that-made-2025
1•rakiabensassi•3m ago•0 comments

The Great Transition or the Great Integration?

https://horkan.com/2026/03/12/the-great-transition-or-the-great-integration
1•wayne_horkan•5m ago•0 comments

Support Celestrak

https://giving.classy.org/campaign/750670/donate
1•d_silin•9m ago•0 comments

Adjustments to the China Storefront of the App Store on iOS and iPadOS

https://developer.apple.com/news/?id=dadukodv
1•surprisetalk•13m ago•0 comments

Elon Musk: xAI was not built right first time round; is being rebuilt

https://twitter.com/elonmusk/status/2032201568335044978
3•mellosouls•15m ago•1 comments

Enhanced Atkinson Hyperlegible Font (2025)

https://www.brailleinstitute.org/about-us/news/braille-institute-launches-enhanced-atkinson-hyper...
1•droidjj•16m ago•0 comments

OSS Anti Surveillance: project to track, oppose, and remove surveillance in FOSS

https://github.com/AntiSurv/oss-anti-surveillance
1•iamnothere•17m ago•1 comments

Explainer: What is Basel and why has it been so contentious?

https://www.reuters.com/legal/legalindustry/what-is-basel-why-has-it-been-so-contentious-2026-03-12/
1•petethomas•20m ago•0 comments

Show HN: The Common Infrastructure for Agentic Communication

https://cyrisai.dev/
1•krishnamzg•26m ago•0 comments

Adapting to the New AI Landscape in Software Engineering

https://docs.google.com/document/d/1-vxazqwALKGivwedpGET4j1ipgab09C6RbLMTZ5ve5U/edit?tab=t.wi7nr0...
1•alexjray•26m ago•0 comments

Fed to loosen capital requirements for big US banks

https://www.ft.com/content/a1c81f17-201f-4e3f-8e02-e0b304f1b6a1
2•petethomas•27m ago•2 comments

How HN: PDF Table Extractor – AI-powered tool to extract tables from PDFs to CSV

https://pdf-table-extractor-5wak.vercel.app
1•atdl•28m ago•1 comments

What's My ΔEOK JND?

https://www.keithcirkel.co.uk/whats-my-jnd/
1•donohoe•32m ago•1 comments

Agent Skills for Interview Preparation

https://github.com/jiito/interview-prep-skills
1•jiito•34m ago•0 comments

Probabilistic Execution Beyond Classical Systems

https://www.authorea.com/users/903147/articles/1391658-probabilistic-execution-beyond-classical-s...
1•huiwenhan•34m ago•1 comments

Judgment and creativity are all you need

https://lethain.com/judgment-is-all-you-need/
2•donutshop•34m ago•0 comments

Hackers reportedly stole nearly 1,000TB of data from Telus Digital

https://mobilesyrup.com/2026/03/12/hackers-steal-nearly-1000tb-of-data-from-telus-digital/
2•whynotmaybe•36m ago•1 comments

Management in the Age of AI

https://blog.staysaasy.com/p/management-in-the-age-of-ai
1•donutshop•37m ago•0 comments

To Sparsify or to Quantize: A Hardware Architecture View

https://www.sigarch.org/to-sparsify-or-to-quantize-a-hardware-architecture-view/
2•matt_d•53m ago•1 comments

Tennessee grandmother jailed after AI face recognition error links her to fraud

https://www.theguardian.com/us-news/2026/mar/12/tennessee-grandmother-ai-fraud
32•danso•54m ago•6 comments

Don't Vibe – Prove

https://ngrislain.github.io/projects/2026-3-12-dont-vibe--prove/
4•ngrislain•1h ago•0 comments

I built the Vy replacement that launches March 26th, the day Vy shuts down

https://inceptive-ai.com
2•alymaknojiya•1h ago•3 comments

Meta delays rollout of new AI model after performance concerns

https://www.nytimes.com/2026/03/12/technology/meta-avocado-ai-model-delayed.html
5•wibbily•1h ago•2 comments

Adobe's longtime CEO to exit role amid AI disruption, shares fall

https://www.reuters.com/sustainability/boards-policy-regulation/adobe-announces-ceo-transition-sh...
5•tartoran•1h ago•0 comments

One plan/spec to rule them all (at least replace lots of docs)

3•wek•1h ago•0 comments

In space, no one can hear you kernel panic

https://increment.com/software-architecture/in-space-no-one-can-hear-you-kernel-panic/
2•p0u4a•1h ago•1 comments

Rivian Introduces R2 Lineup, Sharing Full Trims and Pricing

https://rivian.com/newsroom/article/rivian-introduces-r2-lineup
3•freetime2•1h ago•1 comments