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!

Show HN: A multiplayer pong inspired game over SSH

https://antics.gg/ssh
1•eric_khun•20s ago•0 comments

Women account for nearly all new US jobs in August

https://www.semafor.com/article/09/06/2026/women-account-for-nearly-all-new-us-jobs-in-august
1•thm•1m ago•0 comments

Google SRE – Troubleshooting Methodology: A Learning Path

https://sre.google/sre-book/effective-troubleshooting/
1•ankitg12•3m ago•0 comments

Roast any SaaS you want

https://www.roastit.lol/
1•shamil_b•5m ago•1 comments

Rust Atomics and Locks (2023)

https://mara.nl/atomics/
1•nhatcher•7m ago•0 comments

A local dashboard that tells you when your Claude Code session is stuck

https://github.com/MohammedNihal03/AI-observibility
1•mohammednihal39•7m ago•1 comments

Computer Science Achievement and Writing Skills Predict Vibe Coding Proficiency

https://arxiv.org/abs/2603.14133
1•rurban•8m ago•0 comments

Where Edge Cases Reshape the System

https://medium.com/@gurvinder372/article-9-where-edge-cases-reshape-the-system-c5884b3b51b2
1•gps372•10m ago•0 comments

Show HN: Mercur – open-source multi-vendor marketplace platform

https://github.com/mercurjs/mercur
2•GregTomaka•14m ago•1 comments

Inverse Kinematics and Foot Locking

https://theorangeduck.com/page/inverse-kinematics-foot-locking
1•airhangerf15•16m ago•0 comments

What Does a Wikidata-Powered Abstract Wikipedia Article Look Like?

https://jsamwrites.substack.com/p/what-does-a-wikidata-powered-abstract
1•rapnie•16m ago•0 comments

Chess5.ai – Play Chess, Go, Xiangqi, Gomoku, and Othello Against LLMs

https://chess5.ai/en
1•wilsonye•21m ago•1 comments

Show HN: TestLab – open-source UDS testing without ECU hardware

https://github.com/Xaloqi/xaloqi-testlab-core
2•Xaloqi•22m ago•0 comments

Cory Doctorow on the AI lie [video]

https://www.youtube.com/watch?v=nTqCVJFr7XM
2•dgellow•28m ago•0 comments

Moral Competence Before Moral Content: Why LLM Agents Lack the Prerequisites

https://arxiv.org/abs/2609.05036
1•sbulaev•30m ago•0 comments

Show HN: H200 GPUs under $1.99/hour, H100s at $1.19/hour

https://compute.cheap/#new-launch
2•EmiCorleone•31m ago•0 comments

Programming is Art

https://orchidfiles.com/programming-is-art/
2•theorchid•32m ago•0 comments

Zero Is the Worst Return Value

https://www.claudecertifiedarchitects.com/blog/zero-is-the-worst-return-value/
1•jockorules•33m ago•0 comments

H200 GPUs $1.99/hour, H100s at $1.19/hour

https://compute.cheap/#new
2•gpuguy•34m ago•0 comments

The new frontier of Japan's rearmament is cyberspace

https://english.elpais.com/international/2026-08-21/the-new-frontier-of-japans-rearmament-is-cybe...
1•rdmuser•37m ago•0 comments

It's time for Mark Zuckerberg to resign from Meta

https://www.theguardian.com/technology/commentisfree/2026/sep/04/mark-zuckerberg-resign-meta
12•domhudson•38m ago•8 comments

Show HN: Nitter Redirector – Find a Working Instance Automatically

https://xcancel.com/antibot/captcha
2•DavCreator•41m ago•0 comments

I was on Ubuntu's first design team in 2009 London

https://twitter.com/dvdsgl/status/2096775107989672007
4•tosh•41m ago•1 comments

Australians will be able to switch off social media algorithms

https://www.bbc.co.uk/news/articles/cn9wyvxn95vo
2•rwmj•42m ago•0 comments

When 'if' slows you down, avoid it

https://easylang.online/blog/branchless
2•signa11•46m ago•0 comments

Agent memory that forgets and distorts on purpose

https://github.com/jbsalles/Selmem
1•Jibs79•46m ago•0 comments

IKEA Hacks and DIY Ideas – IKEA Hackers

https://ikeahackers.net
1•thunderbong•47m ago•0 comments

Forge: Go Library and CLI for Working with GitHub, GitLab, Forgejo

https://github.com/git-pkgs/forge
1•joooscha•49m ago•0 comments

Understanding Inference and the Economics of Enterprise AI

https://www.vistaequitypartners.com/insights/inference-economics-enterprise-ai/
1•nlpnerd•50m ago•1 comments

Show HN: Crew — Let Claude/Codex/OpenCode agents talk to each other

https://github.com/0xmmo/crew/
2•mmoustafa•53m ago•1 comments