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

Global Intelligence Crisis

https://www.citadelsecurities.com/news-and-insights/2026-global-intelligence-crisis/
1•markus_zhang•29s ago•0 comments

How to Stop a Dictator

https://www.vox.com/politics/479924/democracy-us-brazil-south-korea-poland-backsliding-resilience
1•amai•49s ago•0 comments

Agent System – 7 specialized AI agents that plan, build, verify, and ship code

https://github.com/boraoztunc/agent-system
1•kaizenb•2m ago•1 comments

Apple: Python bindings for access to the on-device Apple Intelligence model

https://github.com/apple/python-apple-fm-sdk
1•tosh•2m ago•0 comments

Show HN: Sidekick – See what your AI coding agents are doing

https://cesarandreslopez.github.io/sidekick-agent-hub/
1•cal_lopez•3m ago•0 comments

Lessons from running Debezium and Kafka at ~1k tables

1•heywalter•4m ago•0 comments

Plato Warned Us About ChatGPT (and Told Us What to Do About It)

https://www.templeton.org/news/plato-warned-us-about-chatgpt-and-told-us-what-to-do-about-it
1•agarttha•4m ago•0 comments

Google API Keys Weren't Secrets. But Then Gemini Changed the Rules

https://simonwillison.net/2026/Feb/26/google-api-keys/
1•speckx•7m ago•0 comments

Automated Generation of Background Music and Sound Effects

https://abagames.github.io/joys-of-small-game-development-en/procedural/sound.html
1•indigodaddy•8m ago•0 comments

Login Endpoint Is Leaking Information

https://federico.page/blog/your-login-endpoint-is-leaking-information/
1•guerra•8m ago•0 comments

Show HN: Zenshi – Google Search Console Dashboards

https://github.com/jakub-kalamarz/zenshi
1•jkalamarz•9m ago•0 comments

Charm v2: Major Updates for Bubble Tea, Lip Gloss, and Bubbles in Go UIs

https://charm.land/blog/v2/
1•birdculture•13m ago•0 comments

Agents can't code MCP apps: it's a Skill issue

https://alpic.ai/blog/agents-can-t-code-ai-apps-it%E2%80%99s-a-skill-issue
2•Eldodi•14m ago•0 comments

Lose Myself

https://www.eod.com/blog/2026/02/lose-myself/
2•interpol_p•16m ago•0 comments

Pigeons and Planes Has a Website Again

https://www.pigeonsandplanes.com/read/pigeons-and-planes-has-a-website-again
1•herbertl•16m ago•0 comments

I built a x86 CPU emulator in CSS (no JavaScript)

https://twitter.com/rebane2001/status/2026120879755628980
1•f-serif•19m ago•0 comments

Bandit a 32bit baremetal computer that runs Color Forth [video]

https://www.youtube.com/watch?v=HK0uAKkt0AE
1•phreda4•19m ago•0 comments

Show HN: QuicFuscate – HTTP/3 VPN transport with adaptive FEC and stealth modes

https://github.com/Christopher-Schulze/QuicFuscate
1•cschulze•21m ago•1 comments

Show HN: A tiny CLI tool for clearer Gov.uk-ish microcopy

https://github.com/sensecall/govuk-rewrite
1•sensecall•22m ago•0 comments

Show HN: SpecLock – Constraint enforcement for AI coding tools (Bolt.new, Claude

https://github.com/sgroy10/speclock
1•sgroy10•25m ago•0 comments

Show HN: Terminal Phone – E2EE Walkie Talkie from the Command Line

https://gitlab.com/here_forawhile/terminalphone
13•smalltorch•27m ago•1 comments

Show HN: Rust-reorder – a CLI tool for reordering top-level items in Rust source

https://github.com/umwelt-ai/rust-reorder
1•soletta•28m ago•0 comments

A set of beautiful KOReader patches

https://github.com/gennaro-tedesco/KOReader.patches
1•evergreengt•28m ago•0 comments

Every agent framework has the same bug – prompt decay. Here's a fix

https://gist.github.com/sigalovskinick/c6c88f235dc85be9ae40c4737538e8c6
1•nikolasi•31m ago•5 comments

Turn pull requests into guided walkthroughs

https://github.com/oddur/gnosis
2•gitnik•32m ago•0 comments

Ferguson's Law: Debt Service, Military Spending, & Fiscal Limits of Power (2025)

https://www.hoover.org/research/fergusons-law-debt-service-military-spending-and-fiscal-limits-power
1•SanjayMehta•35m ago•1 comments

Hubble spotted a 'dark galaxy' that's at least 99.9% dark matter

https://www.science.org/content/article/hubble-spotted-dark-galaxy-s-least-99-9-dark-matter
1•rbanffy•36m ago•0 comments

Why Mars Astronauts Need More Than Just Space Greenhouses

https://www.universetoday.com/articles/why-mars-astronauts-need-more-than-just-space-greenhouses
1•rbanffy•36m ago•0 comments

Show HN: HushWork – A focus environment with ambient sounds and timer in one tab

https://hushwork.app
1•pgebski•37m ago•1 comments

Clonezilla Live (3.3.1-35)

https://sourceforge.net/p/clonezilla/news/2026/02/stable-clonezilla-live-331-35-released/
1•doener•38m ago•0 comments