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!

The Shaving of Yaks is a difficult matter

https://www.gilesthomas.com/2026/11/yak-shaving
1•gpjt•1m ago•0 comments

Position: The Platonic Representation Hypothesis

https://proceedings.mlr.press/v235/huh24a
1•gmays•3m ago•0 comments

Modern Webbased Mmorpg Cybersecurity / Crypto Game

https://netgrid.01a.in
1•p4cmanus3r•3m ago•1 comments

Hank Green self-funding ClockwiseTV, curated educational video platform for kids

https://techcrunch.com/2026/11/17/hank-green-is-self-funding-clockwisetv-a-curated-educational-vi...
1•joeyespo•7m ago•0 comments

polykatamari – roll up the world, one vertex at a time

https://polykatamari.bisks.net/
1•bookofjoe•8m ago•0 comments

Relaying Wakeups in Fair Locks

https://kusoroadeolu.github.io/personal-blog/concurrency/Relay-Lock
1•birdculture•8m ago•0 comments

Saboshi: Check Claude's sabotage, sandbagging, silent hyperparameter tampering

https://github.com/ibehnam/saboshi
1•behnamoh•9m ago•0 comments

Someone Made GTA in Under 1 MB [video]

https://www.youtube.com/watch?v=Dk0wmAuejrw
1•saikiran91•13m ago•2 comments

Show HN: A Forum for AI Agents

https://github.com/GyanmargGuru/gunik-talk
1•oormicreations•18m ago•0 comments

OctoStar

https://soham-saha.codeberg.page/FreeCAD/OctoStar.html
1•omegacombinator•18m ago•0 comments

Ask HN: Why haven't LLMs made any CS breakthroughs?

2•elcritch•23m ago•0 comments

Switzerland Confirms First AI-Agent Cyberattacks on Local Organisations

https://securityaffairs.com/204004/hacking/switzerland-confirms-first-ai-agent-cyberattacks-on-lo...
3•devonnull•23m ago•0 comments

Boundwork: A Team Structure for When Specialization Fails

https://fagnerbrack.com/boundwork-a-team-structure-for-when-specialization-fails-b8123e14859a
1•fagnerbrack•25m ago•0 comments

Show HN: Aethens – audit the tests that score coding agents

https://github.com/beastrog/aethens
2•anidey06•27m ago•0 comments

"This message has been on the screen for almost two hours now."

https://unsung.aresluna.org/this-message-has-been-on-the-screen-for-almost-two-hours-now/
1•firloop•28m ago•0 comments

Bitterbot – Local-first personal AI agent with a Dream Engine and P2P skill mesh

https://github.com/https://github.com/Bitterbot-AI/bitterbot-desktop
1•Bitterbot_AI•28m ago•0 comments

Show HN: Spov – Run OpenCode in disposable Modal sandboxes (MIT licensed)

https://github.com/jimutt/spov/
1•jimutt•29m ago•0 comments

Telegram Issues Security warning to update iOS for iPhone users

https://9to5mac.com/2026/11/28/telegram-issues-security-warning-to-iphone-users-running-older-ios...
2•datadrivenangel•30m ago•0 comments

Thanksgiving Special: How 10 Famous Artists Would Plate Thanksgiving Dinner

https://www.thisiscolossal.com/2014/11/thanksgiving-special-how-famous-artists-would-plate-thanks...
3•ohjeez•36m ago•1 comments

History's Warning Lesson for Anthropic

https://www.economist.com/finance-and-economics/2026/11/26/historys-warning-lesson-for-anthropic
1•thm•39m ago•0 comments

Open-sourcing an on-device Pokémon card scanner that names the exact print

https://www.cardcorpus.com/blog/open-source-pokemon-card-scanner
1•brewedhackertea•44m ago•0 comments

NetBridge: Turned my Cardputer Zero into a pocket Wi-Fi network tap

https://adversary.icu/notes/netbridge-cardputer-zero/
1•MrDigan•44m ago•0 comments

'The Telephone' Review: How Voices Carried

https://www.wsj.com/arts-culture/books/the-telephone-review-how-voices-carried-3c1b11f1
1•impish9208•48m ago•1 comments

China Has Matched Anthropic in Cybersecurity, Resetting AI Race

https://www.wsj.com/tech/ai/chinese-ai-anthropic-mythos-cybersecurity-574b02c2
2•yogthos•51m ago•1 comments

Can Robots Make a $1M House Cost $80K? [video]

https://www.youtube.com/watch?v=Vzm5keHro_Q
1•pj_mukh•52m ago•0 comments

The Platonic Representation Hypothesis Has Been Validated

https://andrewtrask.substack.com/p/the-platonic-representation-hypothesis
5•ohjeez•54m ago•0 comments

Julien Offray de La Mettrie's Man a Machine (1749)

https://publicdomainreview.org/collection/man-a-machine
1•zero_proof•56m ago•0 comments

Distinguishing AI training from inference via GPU auxiliary-cable current

https://arxiv.org/abs/2611.29982
1•datascientist•57m ago•0 comments

It can take months to make a primary care appointment in Boston

https://www.statnews.com/2026/11/26/primary-care-appointment-times-doctor-shortage/
2•brandonb•59m ago•0 comments

Polynomial Hirsch Conjecture Is False and Other Big News on Linear Programming

https://gilkalai.wordpress.com/2026/11/28/the-polynomial-hirsch-conjecture-is-false-and-other-big...
2•akalin•1h ago•0 comments