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!

How to Use ZizkaDB Suggestions to Cut Costs and Fix Agent Performance

https://medium.com/@MirArshadTalpur/how-to-use-zizkadb-suggestions-to-cut-costs-and-fix-agent-per...
1•Arshad-Talpur•1m ago•0 comments

Preprint-centric publishing model gets major boost

https://www.nature.com/articles/d41586-026-03445-w
1•sohkamyung•2m ago•0 comments

ICE Is Running One of the Largest Anti-Left Surveillance Ops in US History

https://www.wired.com/story/ice-is-running-one-of-the-largest-anti-left-surveillance-operations-i...
1•zzzeek•3m ago•0 comments

Show HN: Fanout – OpenTelemetry back end in one Go binary (Parquet, DuckDB, MCP)

https://github.com/labstack/fanout
1•matrika•4m ago•0 comments

Are our personal AI agents holding us hostage?

https://trevinsays.com/p/are-our-personal-ai-agents-holding
1•ingve•6m ago•0 comments

Show HN: Obsidian Garden – Publish an Obsidian vault as a server-rendered site

https://github.com/sina-salahshour/obsidian-garden
1•snslhshr•6m ago•0 comments

Why don't we run the taskbar and Task Manager at high priority?

https://devblogs.microsoft.com/oldnewthing/20261027-00/?p=112800/
1•ibobev•7m ago•0 comments

One dead LED killed a working TV

https://train-it.eu/blog/one-dead-led-killed-a-working-tv/
4•ibobev•8m ago•0 comments

Humman Attention Requires Human Effort

https://gavinleroy.com/writings/posts/human-attention-effort/
1•yorelnivag•8m ago•0 comments

Ask HN: Should something be done about paywalled articles?

1•thejamesbox•8m ago•0 comments

EnsoJS: A native-first microframework for building declarative Web Components

https://ensojs.dev/
1•ibobev•8m ago•0 comments

An AI-Native Workspace, How realistic is that? [video]

https://www.youtube.com/watch?v=STQCVBBTOn0
1•vanessa1211•9m ago•0 comments

Show HN: Peregrine – Integrated Terminal and File Browser

https://github.com/David-OConnor/peregrine
1•the__alchemist•9m ago•0 comments

Is the Music Business Collapsing?

https://www.honest-broker.com/p/is-the-music-business-collapsing
1•RickJWagner•10m ago•0 comments

Show HN: CMusee – C/C++ timeless debugger

https://veefuse.com/en/cmusee/
1•veexx103•11m ago•0 comments

Tiny Terminal: A fake terminal where kids type anything and get fun responses

https://github.com/madebydia/tiny-terminal
1•surprisetalk•12m ago•0 comments

Model is being retired. Are you ready to upgrade?

https://mahalsystems.ai/research/what-survives-a-model-swap/
1•jasondavis•13m ago•1 comments

Show HN: Shufler: 3D gaming harness around your coding harness and dev pipeline

https://github.com/jgrichardson/shufler
1•jgrichardson67•13m ago•0 comments

Tailscale SSH: Findings and Fixes

https://tailscale.com/blog/tailscale-ssh-findings-fixes
1•mfrw•14m ago•0 comments

Where They Stand – Nonpartisan Guide to Every House and Senate Race

https://wheretheystand.vote
1•zaidbourini•15m ago•1 comments

Two high-speed trains collide near Toledo, Spain

https://www.euronews.com/video/2026/10/28/spain-first-footage-reveals-wreckage-of-deadly-high-spe...
6•evilmonkey19•17m ago•2 comments

Ask HN: Why do Agents keep on forgetting stuff?

1•rishikeshs•17m ago•0 comments

AI Can Draw Blueprints Now

https://stephenjgallagher.substack.com/p/ai-can-draw-blueprints-now
1•SteveGallag•20m ago•0 comments

Rudra-JS, LLM-designed product recommendations for React stores

https://github.com/clivedsouza1010/rudra-js
1•clivedsouza8484•21m ago•0 comments

Claude Chalk, a mod that lets Claude Code colour its own replies

https://github.com/adamkdean/claude-chalk
1•imdsm•23m ago•0 comments

Show HN: Popkern – open-source CAD kernel with G2 corner blends, browser IDE

https://popkern.dev/
1•geedy•26m ago•0 comments

Show HN: ReplySlip – An open-source async task inbox for AI agents

https://github.com/klahrich/replyslip
1•good1andrew•26m ago•0 comments

I Don't Write Code Anymore. I Still Read It

https://oioannou.com/blog/i-still-read-the-code/
2•GTP•27m ago•0 comments

Sleep framework: A new way for LLMs to retain knowledge in continual learning

https://research.google/blog/the-sleep-framework-a-new-way-for-llms-to-retain-knowledge-in-contin...
1•acossta•28m ago•0 comments

The Cost of AI in Code: Goodbye, Fingerspitzengefühl?

https://architecturenotes.co/p/the-cost-of-ai-in-code-goodbye-fingerspitzengefu
3•stevefan1999•29m ago•1 comments