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!

Thoughts and Observations on apples iPhones duo 18pro event

https://daringfireball.net/2026/09/thoughts_and_observations_on_apples_surprise_and_shine_event
1•djfergus•3m ago•0 comments

Clarity Act (crypto) fails in the Senate

https://www.nytimes.com/2026/09/15/technology/senate-blocks-crypto-bill.html
1•krrishd•5m ago•1 comments

Coreutils – Rejected Feature Requests

https://www.gnu.org/software/coreutils/rejected_requests.html
2•birdculture•5m ago•0 comments

Cerebras-powered, instant design canvas using Qwen3.8-27B [video]

https://www.youtube.com/watch?v=yC4RKUyUt1Y
1•thegeomaster•7m ago•0 comments

Show HN: Now You Can Use – Web Baseline Timeline

https://nowyoucanuse.com/
1•Hyperlisk•8m ago•0 comments

Recent Decisions Spark Questions on GenAI, Privilege, and Privacy Expectations

https://ktslaw.com/insights/alert/2026/4/recent-decisions-spark-questions-on-generative-ai-privil...
1•mooreds•9m ago•0 comments

Contrails.org – Contrail Avoidance for the Climate

https://contrails.org/
1•thenobsta•11m ago•0 comments

Landing the Space Shuttle – A Flying Machine and the Thrill of a Lifetime

https://inspire.eaa.org/2019/05/16/landing-the-space-shuttle-an-incredible-flying-machine-and-the...
1•JojoFatsani•11m ago•0 comments

Show HN: AgentReady – can AI assistants read your site?

https://shop.lumnika.com/lab/agentready/?src=hackernews-showhn
1•deusautoai725•12m ago•0 comments

Show HN: Leo – a Markdown engineering process for AI coding agents

https://github.com/alex-zaporozhan/leo
1•alex-zaporozhan•15m ago•0 comments

Mistaken alignment is not misalignment

https://c.mov/mistaken-alignment/
2•azhenley•16m ago•1 comments

Vieta's Formulas

https://en.wikipedia.org/wiki/Vieta%27s_formulas
1•vismit2000•23m ago•0 comments

More Tree-sitter, more neocaml, more elisp

https://lambdafoo.com/posts/2026-09-14-more-trees-more-neocaml.html
2•RohanAdwankar•23m ago•0 comments

How to keep a knowledge base up to date when the product changes every day

https://frigade.com/blog/how-to-keep-a-knowledge-base-up-to-date
1•pancomplex•25m ago•0 comments

Emily St. John Mandel on Writing a Novel of Dystopian Counterlives

https://lithub.com/emily-st-john-mandel-on-writing-a-novel-of-dystopian-counterlives/
1•mooreds•27m ago•0 comments

The proof passed. Can you see why it works?

https://github.com/8Braid/8db-navier-stokes-evidence/blob/main/explainability/article.md
2•ashdee•32m ago•0 comments

Show HN: A chess analyzer that runs in the browser

https://github.com/huytd/whyblunder/
1•huydotnet•34m ago•0 comments

A better way of blocking macOS updates

https://zoey-on-github.github.io/blog/updates.html
2•juliethefoxcoon•36m ago•0 comments

Ask HN: eBPF verifier packet tracking boundaries under volumetric socket drops?

1•devloperdevesh•41m ago•0 comments

Nvidia and CrowdStrike Develop New Cybersecurity AI Models

https://www.wsj.com/cio-journal/nvidia-and-crowdstrike-develop-new-cybersecurity-ai-models-937bb2aa
1•gmays•43m ago•0 comments

Steve Bannon and Bernie Sanders Condemn Tech 'Oligarchs' and Demand A.I. Reforms

https://www.nytimes.com/2026/09/15/us/steve-bannon-bernie-sanders-ai.html
3•mikhael•46m ago•0 comments

Founding documents from companies that shaped industries

https://relentless-investments.com/library
1•rafaelc•47m ago•0 comments

Waymo to start Tokyo robotaxi service next year in Asia push

https://www.japantimes.co.jp/business/2026/09/15/companies/waymo-tokyo-robotaxi-launch/
1•mikhael•49m ago•1 comments

Interview with Paul Bogen [video]

https://www.youtube.com/watch?v=GJQlzbhai-w
1•oriettaxx•54m ago•0 comments

Divide, Consult, Conquer: Capability Laundering Through Aligned LLMs

https://arxiv.org/abs/2609.15383
2•sbulaev•55m ago•0 comments

Singapore launched a novel five-year national campaign to nurture reading habits

https://www.cnn.com/2026/09/15/asia/singapore-reading-campaign-intl-hnk-dst
2•kelt•59m ago•0 comments

Show HN: Biom – A visual workspace where your AI agents' work lands

https://www.biom.dev/
4•jduhking•1h ago•0 comments

Hackaday Europe 2026: Bare Metal Made Easy

https://hackaday.com/2026/09/15/hackaday-europe-2026-bare-metal-made-easy/
3•geoffbp•1h ago•0 comments

Show HN: Plurnk (Yet *Another* AI Harness)

https://github.com/plurnk/plurnk
1•wikitopian•1h ago•0 comments

Independent Lens – Ghost in the Machine: AI's troubled history, current impacts

https://www.pbs.org/video/ghost-in-the-machine-nynp3f/
3•frmersdog•1h ago•1 comments