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!

Why Do Computers Stop and What Can Be Done About It? (1985) [pdf]

https://pages.cs.wisc.edu/~remzi/Classes/739/Fall2018/Papers/gray85-easy.pdf
1•jruohonen•3m ago•0 comments

Tell HN: Claude-code prompt-cache workaround/fix

1•g4cg54g54•4m ago•0 comments

SFPD investigates apparent shooting near OpenAI CEO Sam Altman's home

https://www.sfchronicle.com/bayarea/article/sam-altman-openai-gunfire-22202648.php
1•throwaway2027•8m ago•2 comments

Uses for Nested Promises

https://blog.jcoglan.com/2026/03/23/uses-for-nested-promises/
1•bkudria•12m ago•0 comments

HN: Distill-CBL, a single-file COBOL-to-WASM compiler in Rust

https://github.com/StealthEyeLLC/distill-cbl
1•stealtheyellc•18m ago•0 comments

AI Image Editor

https://jpgtomp4.com
1•yalvhe2009•20m ago•1 comments

BirdNET-Go – 24/7 realtime bird song analysis

https://github.com/tphakala/birdnet-go
1•darknavi•21m ago•1 comments

Show HN: Turn any YouTube video into something you can use

https://www.pandarecord.com/extension
1•misonic•23m ago•0 comments

Drawing Database – Blueprints for 3D modeling

https://drawingdatabase.com/
1•hyperific•26m ago•0 comments

Ecolibrium Directory

https://github.com/simonlpaige/ecolibrium
1•larrytheworm•28m ago•1 comments

PocketLLM – Run local LLMs from a USB stick

https://github.com/vraj00222/pocketllm
1•vrajpatel00•29m ago•0 comments

Apple's accidental moat: How the "AI Loser" may end up winning

https://adlrocha.substack.com/p/adlrocha-how-the-ai-loser-may-end
9•walterbell•37m ago•0 comments

2014: Black Holes and Supercomputing

https://www.goldengooseaward.org/01awardees/black-holes
1•mooreds•49m ago•0 comments

Tell HN: Reddit now demands to know why you won't use their app

6•josephcsible•1h ago•4 comments

The disappearing and unappreciated art of audible alerts [video]

https://www.youtube.com/watch?v=nXdVG45wveo
2•fortran77•1h ago•0 comments

Show HN: A better alternative to CLI and MCP for local tools

https://github.com/stefanwebb/named-pipes
1•stefanwebb•1h ago•0 comments

Molecular adaptations and engineering of extremophiles for synthetic biology

https://www.frontiersin.org/journals/microbiology/articles/10.3389/fmicb.2026.1754802/full
1•PaulHoule•1h ago•0 comments

Ukraine renews attacks on Russian energy sites – what has been hit?

https://www.reuters.com/business/energy/ukraine-renews-attacks-russian-energy-sites-what-has-been...
2•YZF•1h ago•1 comments

Is the Nutrition of an Egg the Same as in the Chick?

https://drjohnson.com/is-the-nutrition-of-an-egg-the-same-as-in-the-chick/
1•debo_•1h ago•0 comments

ReceiptBot – Stop Node.js AI agents from reading .env and burning your budget

https://github.com/redshadow912/ReceiptBot
1•LocalhostLegend•1h ago•1 comments

Show HN: Narrate – Generate multi-voice long-form audio with one command

https://github.com/zackham/narrate
2•zackham•1h ago•0 comments

Writing should have a soul and its own Claude Skill

https://getlago.substack.com/p/open-sourcing-my-writing-claude-skill
5•AnhTho_FR•1h ago•0 comments

Show HN: Yet another AI image ediotr and generator

https://imageditor.net/
1•shawnta•1h ago•0 comments

Ask HN: What was the limiting factor in growth of demand for fiber during 2000s?

1•AbstractH24•1h ago•6 comments

All elementary functions from a single binary operator

https://arxiv.org/abs/2603.21852
22•pizza•1h ago•10 comments

Moat: Run AI agents in isolated containers

https://majorcontext.com/moat/
2•cjbarber•1h ago•1 comments

State of Homelab 2026

https://mrlokans.work/posts/state-of-homelab-2026/
6•swq115•1h ago•0 comments

Level 3 Thinking: A Unified Theory of Self-Improvement

https://www.nateliason.com/blog/level-3-thinking
1•theorchid•1h ago•0 comments

OpenMAIC – Open Multi-Agent Interactive Classroom

https://open.maic.chat/
2•9woc•2h ago•0 comments

The Social Battery Paper: Gradient, Constraint, and the Extraction of Work In

https://www.academia.edu/165644285/The_Social_Battery_Paper_Gradient_Constraint_and_the_Extractio...
2•WilliamGriffin•2h ago•0 comments