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!

Ask HN: Techniques for productive AI use in the workspace

1•MiiMe19•1m ago•0 comments

Native Shell: native UI framework in Rust for mobile, desktop and web

https://github.com/longbridge/nsh
1•0x1997•2m ago•0 comments

Cuba is skipping its November 1, 2026 clock change and staying on DST until 2027

https://www.timeanddate.com/news/time/cuba-keeps-dst-until-nov-2027.html
3•n_plus_1_acc•11m ago•1 comments

Show HN: Find hidden technical issues across client websites

https://gotrama.com
1•emmanuelyaks•12m ago•0 comments

EvilQwen

https://jacquesmattheij.com/evilqwen.png
1•jacquesm•15m ago•1 comments

Local-first means three different things

https://hologram.page/blog/local-first-means-three-different-things
1•lawik•17m ago•0 comments

Open Agent Primitives: run enterprise AI agents securely

https://openap.org
1•emreb•19m ago•0 comments

Between Fact and Fiction: unlock the void energy

https://zenodo.org/records/23629786
1•AbdulrahmanAhme•22m ago•0 comments

Everything I know about AI regulation I learned from music videos

https://www.technollama.co.uk/everything-i-know-about-ai-regulation-i-learned-from-music-videos
1•slyall•22m ago•0 comments

Australia Bans AI 'Emotional Intimacy' with Children;

https://dsrupt.news/articles/australia-bans-ai-emotional-intimacy-with-children-chatbot-makers-wi...
1•zippiest•26m ago•0 comments

Show HN: Orc-work-notify – Claude Code plugin with orc voice alerts

https://github.com/vagkaratzas/orc-work-notify
1•vagkaratzas•28m ago•0 comments

Agent's tests passed. Prove they could have failed

https://github.com/greenlitbooks/mustfail
1•ankitg12•30m ago•0 comments

The Early Access Playbook v2.0

https://docs.google.com/document/d/1bo9n52j_M4Nx094TObZQVAq1htlB6h9XlySLgFsH710/edit?usp=sharing
1•yarapavan•32m ago•0 comments

Meta AI support blocking withdrawals from creator accounts

https://www.instagram.com/reel/DfDp6XdvMmq/
2•humblerbumbler•35m ago•0 comments

Bluffer – daily trivia where you bet on how many you can name

https://www.bluffer.lol/
1•casparwack•36m ago•0 comments

Claude's new smart reports tell bosses when workers are 'off-topic'

https://mashable.com/tech/claude-smart-reports-anthropic-ai-worker-overview
4•healsdata•37m ago•0 comments

Vendor lists $60 milllion AI supercomputer on eBay

https://www.tomshardware.com/desktops/servers/it-vendor-lists-massive-usd60-million-ai-cluster-on...
3•Element_•38m ago•0 comments

The Anthropic Prospectus Arrives: My (But Not the) IPO Valuation

https://aswathdamodaran.blogspot.com/2026/10/the-anthropic-prospectus-arrives-ipo.html
2•alastairr•45m ago•0 comments

Mochiboard

https://mochiboard.app/
1•ryangg•46m ago•1 comments

Shellfirm – a seatbelt for AI agents running shell commands

https://github.com/kaplanelad/shellfirm
1•eladkaplan•50m ago•0 comments

Qwen 3.8 invents URLs with real key ID, that's why I think it's no backdoor

https://www.xda-developers.com/qwen-invents-alibaba-urls-real-key-id-dont-think-backdoor/
1•manveru•52m ago•0 comments

When it all align – the good, the bad, the mystery of launching an app

1•2023foo•52m ago•0 comments

The Last Deploy

https://halloween.dev/
1•ultral•52m ago•0 comments

Zero click, silent, remote Android DoS

https://smsofdeath.com/
4•MarkBlah•55m ago•0 comments

The brain liquidates billions of mutant neurons around the time we're born

https://www.nature.com/articles/d41586-026-03444-x
3•frostbyte7•55m ago•0 comments

The Future Trait Has a Missing State

https://blog.yoshuawuyts.com/the-future-trait-has-a-missing-state
1•birdculture•57m ago•0 comments

Why Wouldn't Google Tell Me Who Won the 2020 Election?

https://www.theatlantic.com/technology/2026/10/google-search-ai-2020-election-trump/689197/
3•landonxjames•59m ago•0 comments

Gardaí fear 'attack a strong possibility' ahead of EU leaders' visit next month

https://www.independent.ie/irish-news/gardai-fear-attack-a-strong-possibility-ahead-of-eu-leaders...
2•austinallegro•1h ago•1 comments

The Shinkansen's legendary operation and safety record

https://www.hsrail.org/blog/the-shinkansens-legendary-operation-and-safety-record-2/
3•thunderbong•1h ago•1 comments

Show HN: Alignment Interview Challenge

https://docloop.com/careers/engineering-alignment-quiz
1•claudeomusic•1h ago•0 comments