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!

We Have Named Arguments at Home

https://corrode.dev/blog/named-arguments-at-home/
1•dimonomid•53s ago•0 comments

OpenRouter: Server Tools Marketplace

https://openrouter.ai/tools
1•theanonymousone•1m ago•0 comments

Shared Memory for Coding Agents

https://getbelay.vercel.app/
1•doplexlabs•2m ago•0 comments

Lifestreams: A storage model for personal data: ACM SIGMOD Record: Vol 25, No 1

https://dl.acm.org/doi/10.1145/381854.381893
1•rbanffy•3m ago•0 comments

US plan for 90 day diesel export ban could have significant impact on Europe

https://www.politico.eu/article/eu-launches-diplomatic-offensive-to-stop-trumps-diesel-export-ban/
1•ck2•3m ago•1 comments

Open OCI spec for agent sandboxes

https://www.linux.com/featured/docker-commits-to-bringing-the-sandbox-kit-spec-to-the-cncf/
1•pploug•4m ago•0 comments

LLMs can write tool workflows. Will they choose to?

https://github.com/kukushko/agent/blob/main/agent_workflows_exploratory_benchmark.md
1•kukushko•4m ago•0 comments

The International AI Race May Not Be Won by the Smartest AI

https://phroneses.com/articles/leadership/notes/the-ai-race.html
1•speckx•6m ago•0 comments

S.F. Democratic Party stands behind Flock surveillance cameras in vote

https://missionlocal.org/2026/09/san-francisco-democratic-party-flock-cameras/
4•mikhael•7m ago•0 comments

Gemini 3.8 Live with Live Avatar

https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-3-8-live-with-live...
1•xnx•7m ago•0 comments

One day of AI reading: 5.7M crawler reads of a 60M-company index, by engine

https://engagemii.com/research/one-day-of-ai-reading
1•gp_engagemii•8m ago•0 comments

The Download: a bid to scrap the virtual wall and AI hits Climate Week

https://www.technologyreview.com/2026/09/24/1145064/the-download-bid-scrap-virtual-wall-ai-climat...
1•joozio•9m ago•0 comments

Pinocchio, make copilot agents real by giving them memory

https://github.com/chiedo/pinocchio
2•chiedo•10m ago•0 comments

Three Years Later: What Happened to 1,927 Public API Specs

https://routebase.dev/blog/public-api-specs-three-years-later/
1•driedl•10m ago•0 comments

We Built Safety into Muse

https://research.meta.ai/blog/security-and-safety-for-ai-agents-our-approach-with-muse
1•tosh•10m ago•0 comments

The Gnome LLM Policy That I Want

https://blogs.gnome.org/alatiera/2026/09/23/the-gnome-llm-policy-that-i-want/
1•birdculture•11m ago•0 comments

Every Muse user gets a free computer in the cloud

https://twitter.com/dps/status/2103161493722419334
1•tosh•11m ago•0 comments

Ask HN: Are .shop domains down?

2•esher•12m ago•1 comments

Gemini 3.8 with Live Avatar

https://cloud.google.com/blog/products/ai-machine-learning/gemini-3-8-live-with-live-avatar-is-no...
1•geox•12m ago•0 comments

macOS Can't Clone "Dumb" Git Repositories over HTTP/2

https://www.agwa.name/blog/post/macos_cant_clone_dumb_git_repos_over_http2
1•speckx•13m ago•0 comments

Node.js built-ins that replaced NPM packages

https://flaviocopes.com/node-builtins/
1•Kuyawa•14m ago•1 comments

CISA active Linux kernel CVEs (CVE-2025-39964, CVE-2026-53266, CVE-2025-39682)

https://github.com/mc493/linux-kernel-zero-day-mitigation-zero-downtime-kernel-defense-
1•mc493•14m ago•0 comments

LA Metro has some of the slowest escalators on Earth

https://basin.la/articles/ninety-feet-a-minute.html
1•big_toast•19m ago•1 comments

Cheaper LLM Labelling

https://entropicthoughts.com/cheaper-llm-labeling
2•ibobev•20m ago•0 comments

Armbian for Android TV Boxes – Turn Old Hardware into Linux Servers

https://digitalescapetools.com/tools/armbian.html
1•xabd•20m ago•0 comments

Shrinking a Fedora Virtual Disk

https://entropicthoughts.com/shrinking-fedora-virtual-disk
2•ibobev•20m ago•0 comments

Transformers Won't End the Human Race Lol

https://www.stephendiehl.com/posts/transformers_wont_end_human_race/
3•ibobev•21m ago•0 comments

Xcode project configuration that's more human-readable and editable by agents

https://developer.apple.com/documentation/xcode/updating-your-xcode-project-configuration-file-fo...
1•Austin_Conlon•22m ago•0 comments

Show HN: I built an AI assistant that turns website visitors into leads

https://www.brevn.com
1•brevn•24m ago•0 comments

Aspyre Intelligence is hiring developers

https://aspyre.nl/careers
1•Arn280•24m ago•1 comments