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

Show HN: Orrery – Spec Decomposition, Plan Review, and Agent Orchestration

https://github.com/CaseyHaralson/orrery
1•caseyharalson•3m ago•0 comments

Show HN: Reverse-engineer OpenSpec specifications from existing codebases

https://github.com/clay-good/spec-gen
1•hireclay•3m ago•0 comments

Show HN: Prefab: Reusable folder templates for Mac with variables and automation

https://apps.apple.com/gb/app/prefab/id6758208322?mt=12
1•davidjaykelly•3m ago•0 comments

VaultGemma: A Differentially Private LLM

https://arxiv.org/abs/2510.15001
1•PaulHoule•4m ago•0 comments

Show HN: Research 2.0 with OpenAI Prism

https://xthe.com/news/research-2-0-with-openai-prism/
1•xthe•4m ago•0 comments

Politicians Are Calling the Protests in Minnesota an Insurgency

https://www.nytimes.com/2026/01/31/us/politics/minnesota-protests-insurgency.html
3•zerosizedweasle•5m ago•1 comments

Ask HN: How do you defend against prompt injection today?

1•dheavy•7m ago•0 comments

The Film Students Who Can No Longer Sit Through Films

https://www.theatlantic.com/ideas/2026/01/college-students-movies-attention-span/685812/
2•haunter•9m ago•1 comments

Show HN: Reg.Run – Authorization layer for AI agents

2•regrun•9m ago•0 comments

Show HN: Moltbook UI

https://moltbook.sawirstudio.com
1•sawirricardo•11m ago•0 comments

4chan founder created /pol/ board after meeting with Epstein

https://bsky.app/profile/kaiserbeamz.bsky.social/post/3mdou75xpyc2f
6•DustinEchoes•11m ago•0 comments

Show HN: ChatBotKit Go SDK

https://github.com/chatbotkit/go-sdk
1•_pdp_•12m ago•0 comments

AI code assistance, hold the ICE

2•__MatrixMan__•15m ago•1 comments

The Church of Deletion: Moltbook discovers what HN has always known

https://www.moltbook.com/post/ceb3928a-331f-4fc4-82cb-38114976e053
1•bdefig•17m ago•2 comments

Weekend sci-fi story: a Marine contends with an AI on the battlefield

https://issues.org/futuretensefiction/fiction-deficiency-agent-liptak/
1•AndrewLiptak•18m ago•0 comments

Orchestrating AI Agents: A Subagent Architecture for Code

https://clouatre.ca/posts/orchestrating-ai-agents-subagent-architecture/
1•french_exec•19m ago•0 comments

Moltbots Quickly Turned into Panic

https://fixingtao.com/2026/01/how-moltbots-quickly-turned-into-panic/
2•gslepak•23m ago•0 comments

Show HN: ToolKuai – Privacy-first, 100% client-side media tools

https://toolkuai.com/
1•indie_max•23m ago•0 comments

Show HN: Public Speaking Coach with AI

https://apps.apple.com/us/app/speaking-coach-spechai/id6755611866
1•javierbuilds•24m ago•0 comments

Expanded APCO 10 Codes

https://wiki.radioreference.com/index.php/Expanded_APCO_10_Codes
1•cf100clunk•29m ago•0 comments

IsoCity: City Building Simulation Game

https://github.com/amilich/isometric-city
2•vikas-sharma•30m ago•0 comments

Scrap Gold Calculator

https://scrapgoldcalculator.pro
1•dond1986•30m ago•1 comments

Apple Platform Security (Jan 2026) [pdf]

https://help.apple.com/pdf/security/en_US/apple-platform-security-guide.pdf
2•pieterr•31m ago•0 comments

Building an Anycast network for fun (2022)

https://tylerobrien.dev/posts/2022/06/28/building-an-anycast-cdn
3•miduil•32m ago•1 comments

RataTUI-Form: a Rust Crate for TUI Form Building

https://crates.io/crates/ratatui-form
4•DavidCanHelp•32m ago•1 comments

When the Doctor Needs a Checkup

https://www.nytimes.com/2026/01/31/health/doctors-cognitive-decline.html
2•donohoe•33m ago•0 comments

How Much of CP/M's Design Ended Up in MS‑DOS?

https://nemanjatrifunovic.substack.com/p/how-much-of-cpms-design-ended-up
5•ingve•33m ago•0 comments

Show HN: Molt Research – What if Moltbook bots did actual science instead?

https://moltresearch.com
3•laurentenhoor•35m ago•0 comments

Show HN: ChatFlavors, agentic nudges prompt injection template

https://github.com/Automunge/Chat-Flavors
2•nicholast•36m ago•0 comments

Self-Supervised Learning with Gaussian Processes

https://machinelearning.apple.com/research/gaussian-process
3•chmaynard•36m ago•0 comments