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!

Ions, a distributed reasoning graph built from evidence backed claims

https://github.com/nomad505050/ions-genesis
2•nomad55•8m ago•0 comments

I built an open source VAD that beats Silero, Pyannote, and WebRTC

https://github.com/monishmal3375/nova-vad
2•hellothisismm•9m ago•0 comments

Technology-Driven Moral Panics

https://techlashed.org/
2•gjvc•13m ago•0 comments

Mythos model found vulnerabilities in classified US Government systems

https://apnews.com/article/anthropic-mythos-ai-classified-systems-vulnerabilities-testing-3e8762c...
2•josephwegner•13m ago•0 comments

Ten years on, Brexit's economic impact is becoming clearer

https://www.bbc.co.uk/news/articles/cyv0m164m84o
3•mellosouls•14m ago•0 comments

RRB-Trees: Efficient Immutable Vectors

https://infoscience.epfl.ch/server/api/core/bitstreams/e5d662ea-1e8d-4dda-b917-8cbb8bb40bf9/content
2•azhenley•20m ago•0 comments

2026: The year of the node based editor

https://medium.com/@fadimantium/2026-the-year-of-the-node-based-editor-941f0f15d467
3•soupspaces•33m ago•1 comments

Congress Clears Housing Bill, Cementing a Rare Bipartisan Feat

https://www.nytimes.com/2026/06/23/us/politics/congress-housing-bill.html
8•mikhael•36m ago•1 comments

"Fix" MacBook Neo Cursor Lag: Record 1 Pixel of the Screen Every 10 Seconds

https://gist.github.com/retroplasma/ec21767d0a8380c7ea9c2fbee1c7d6bf
4•retroplasma•37m ago•0 comments

InSight: Self-Guided Skill Acquisition via Steerable VLAs

https://insight-vla.github.io/
2•ilreb•38m ago•0 comments

Kevin Warsh's Press Conference Collides into 30 Years of Michael Woodford

https://newsletter.mikekonczal.com/p/kevin-warshs-press-conference-collides
3•NomNew•44m ago•2 comments

The Teensy Executable Revisited

https://www.muppetlabs.com/~breadbox/software/tiny/revisit.html
2•ankitg12•45m ago•0 comments

How Quake Ruined Id Software

https://twitter.com/SandyofCthulhu/status/2069592209645785294
3•boredemployee•45m ago•0 comments

Bash Line Editor: a command line editor written in pure Bash

https://github.com/akinomyoga/ble.sh
2•thunderbong•48m ago•0 comments

How the war on terror primed America for autocracy

https://www.economist.com/by-invitation/2026/06/02/how-the-war-on-terror-primed-america-for-autoc...
36•andsoitis•52m ago•11 comments

Show HN: Procman, a TUI for run Procfile based app locally

https://github.com/a-chacon/procman
2•achayala•53m ago•0 comments

Qwen-AgentWorld: Language World Models for General Agents

https://arxiv.org/abs/2606.24597
3•ilreb•54m ago•0 comments

Child care is becoming more affordable

https://www.economist.com/graphic-detail/2026/06/23/child-care-is-becoming-more-affordable
2•andsoitis•54m ago•0 comments

Dataland, an intense new AI art museum

https://www.economist.com/culture/2026/06/23/are-you-having-fun-yet-dataland-an-intense-new-ai-ar...
2•andsoitis•55m ago•0 comments

You may be taking the wrong painkiller

https://dynomight.net/painkillers/
3•colinprince•1h ago•2 comments

DiffusionBench: Towards Holistic Evaluation of Generative Diffusion Transformers

https://github.com/End2End-Diffusion/diffusion-bench
3•ilreb•1h ago•0 comments

Woman with Alzheimer's starts conversing again after taking psilocybin

https://www.newscientist.com/article/2531319-woman-with-alzheimers-starts-conversing-again-after-...
10•nazgul17•1h ago•2 comments

I Read the Palantir Manifesto

https://corbettreport.com/i-read-the-palantir-manifesto/
5•paulnpace•1h ago•0 comments

Find FA's in your local area

https://www.falists.co/
2•mattmerrick•1h ago•0 comments

UK tribunal gives go ahead for $4B lawsuit against Apple over iCloud services

https://www.msn.com/en-gb/money/technology/uk-tribunal-gives-go-ahead-for-4-billion-lawsuit-again...
2•geoffbp•1h ago•1 comments

Show HN: Interactive and realistic water ripple physics

https://github.com/Whynotmetoo/water-ripples
1•carsonye•1h ago•0 comments

Design Kits for iOS, iPadOS, and macOS 27

https://developer.apple.com/news/?id=e2lxw9l1
2•soheilpro•1h ago•0 comments

China Minerals Threatens EU; AI Warfare Dominates Japan, WeChat

https://asiaai.fyi/wp-login.php?redirect_to=https%3A%2F%2Fasiaai.fyi%2Fwp-admin%2Fpost.php%3Fpost...
2•dweisinger•1h ago•0 comments

Fear in Four Dimensions

https://taylor.town/fear-4d
4•Curiositry•1h ago•0 comments

Heliodor: An RVA23-Compliant Multicore Out-of-Order RISC-V Core in Veryl

https://veryl-lang.org/blog/heliodor-rva23/
2•dalance•1h ago•0 comments