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!

Port 9001

https://www.rfc-editor.org/info/rfc6335/
1•hamonrxe•40s ago•0 comments

An on-device AI agent for Android

https://github.com/wangzan101/mika
1•snasan•54s ago•0 comments

Capability-based end-to-end tests: method, implementation and measured results

https://medium.com/okossa/capability-based-end-to-end-tests-what-they-fix-and-what-they-cost-414f...
1•okwe•1m ago•0 comments

Built ForjaCero, a platform to help for system software engineering roles

https://www.forjacero.xyz
2•sangramnavale•5m ago•0 comments

Army invokes emergency powers to detonate lead in Iowa, bypass court order

https://www.yahoo.com/news/us/articles/iowa-detonation-lead-proceed-under-163603593.html
3•gmays•9m ago•0 comments

Waffo Pancake vs. Lemon Squeezy: Fees, Payouts and Migration

https://www.waffo.ai/compare/lemon-squeezy
1•Luki1234•17m ago•0 comments

One person unicorn is likely in the next decade

https://ajaychavda.com/blog/one-person-unicorn-is-likely-in-the-next-decade
5•zenincognito•27m ago•0 comments

PlumCalc – 33 client-side calculators with a public MCP server

https://plumcalc.com/
2•zooplays•29m ago•0 comments

Show HN: Synth Patch Hero

https://swarkentin.github.io/synth-patch-hero/
2•kaidon•29m ago•0 comments

Cross Streets: Streets that intersect to form compound words

https://crossings.azlen.me/
2•jxmorris12•30m ago•0 comments

Mcpseal: Grade an MCP server for safety before you install it

https://www.npmjs.com/package/@hashshabbir/mcp-pack
2•husham•34m ago•0 comments

Epistemic Opacity

https://twitter.com/theSamPadilla/status/2124562721173877093
2•gmays•36m ago•0 comments

Held together by spare time: Reviving wiki.alpinelinux.org during PHP2Shell

https://lambdacreate.com/posts/held-together-by-spare-time
2•renehsz•36m ago•0 comments

Show HN: Juncts, one DM inbox for five apps that Claude and ChatGPT can work in

https://juncts.com/app?demo=1&utm_source=hackernews&utm_medium=launch&utm_campaign=launch-nov26
2•jlaufr•37m ago•0 comments

Zero data retention with Enterprise Frontier Safeguards is now in beta

https://claude.com/resources/articles/zero-data-retention-with-enterprise-frontier-safeguards
2•lumpa•38m ago•0 comments

The enterprise guide to securing coding agents

https://claude.com/resources/articles/enterprise-guide-to-securing-coding-agents
2•lumpa•39m ago•0 comments

Trading System – tests trading rules against no-information baselines

https://ultimate-trading-system.com/
2•tbuitendyk•53m ago•0 comments

Show HN: FireVoice, free open-source voice studio on your own GPU

https://firevoice.fabwaseem.com
3•fabwaseem•55m ago•1 comments

A fast CAS with a focus on resolution of singularities

https://github.com/pportilla/atlas
4•furstenheim•56m ago•1 comments

Trump made up to $15M on Nvidia shares after Huang's return

https://www.ft.com/content/67b0a070-c2a9-4229-885a-383cca657763
13•JumpCrisscross•57m ago•2 comments

Hacking radiators for fun and no profit

https://qsantos.fr/2026/11/20/hacking-radiators-for-fun-and-no-profit/
3•andai•57m ago•0 comments

r/RedditEngin: We Let AI Approve PRs at Reddit. Here's What Happened

https://www.reddit.com/r/RedditEng/comments/1y3wbkw/we_let_ai_approve_prs_at_reddit_heres_what/
5•greazy•57m ago•0 comments

Show HN: Graticule, turn oscilloscope screenshots into CSV data and plots

https://github.com/SunSinD/Graticule
2•SunSinD•58m ago•0 comments

Show HN: A narrated map tour of the events leading up to the Texas Revolution

https://whistlestop.guide/features/texas-revolution
3•cognitivefilms•58m ago•1 comments

Phytochemical and genetic analyses of ancient cannabis from Central Asia (2008) [pdf]

https://jxb.oxfordjournals.org/content/59/15/4171.short
1•thunderbong•1h ago•0 comments

Apple Releases New AI Health App

https://www.macrumors.com/2026/11/16/apple-just-released-a-new-app/
2•bookofjoe•1h ago•0 comments

The Brother-Sister Duo Who Want to Keep Anthropic Weird

https://www.wsj.com/tech/ai/anthropic-dario-daniela-amodei-siblings-ipo-be84ad11
3•gmays•1h ago•1 comments

Making a dumb TV just smart enough

https://qsantos.fr/2026/11/19/making-a-dumb-tv-just-smart-enough/
4•andai•1h ago•0 comments

App Store Connect

https://appstoreconnect.apple.com/login?targetUrl=%2Fapps%2F6830303033%2Fanalytics%2Foverview%3Fd...
2•bustapheliac•1h ago•1 comments

US adds Megaspeed to trade blacklist

https://www.theguardian.com/us-news/2026/nov/23/megaspeed-us-trade-blacklist-nvidia
2•mgh2•1h ago•3 comments