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!

Kosmora – open packs of Wikipedia posts as cards (I'm addicted)

https://kosmora.io
1•rez0__•23s ago•1 comments

Show HN: Abliterated LLM provider for cyber tasks

https://refuseless.com
1•jurisdb•1m ago•0 comments

Tell HN: Uceprotect is extorting website owners

2•goldenmember•1m ago•0 comments

Russia plague: The suspected case reportedly linked to a lab worker's death

https://www.cnbc.com/2026/10/05/russia-plague-suspected-case-irkutsk.html
1•cramer4next•3m ago•0 comments

The Era of Software Quality, or the Era of Ostriches?

https://blogs.gnome.org/mcatanzaro/2026/10/02/the-era-of-software-quality-or-the-era-of-ostriches/
2•birdculture•4m ago•0 comments

Show HN: PHP-GPU-tensors – Native GPU operations in PHP

https://github.com/lcmialichi/php-gpu-tensors
1•lmcosta•4m ago•0 comments

Show HN: Seylo, project files and references your AI can use

https://seylo.co
1•Yakobeen•6m ago•0 comments

How (and Why) to Build an AI Agent from Scratch in Python

https://machinelearningmastery.com/how-and-why-to-build-an-ai-agent-from-scratch-in-python/
1•eigenBasis•6m ago•0 comments

Making Arena.ofConfined() Even Cheaper in JDK 28

https://inside.java/2026/10/05/confined-pools/
1•lichtenberger•8m ago•0 comments

TypingPall – Mac App for code typing practice

https://github.com/Mieraidihaimu/TypingPall
1•mier•8m ago•0 comments

The Velocity of Bullshit

https://blog.entropy.capital/p/the-velocity-of-bullshit
2•gcotsikis•9m ago•0 comments

The Emu Strikes Back [pdf]

https://romanianjournalofhistoricalstudies.wordpress.com/wp-content/uploads/2019/07/richard-j.-co...
1•squirrel•9m ago•0 comments

Radium Girls

https://en.wikipedia.org/wiki/Radium_Girls
1•tosh•10m ago•0 comments

Show HN: YAVCHN, Yet Another Vibe-Coded Hacker News (Reader)

https://yavchn.com/hn/
1•paulmooreparks•12m ago•0 comments

AlphaSteel

https://www.facebook.com/AlphaSteelTry/
1•losyhanu•13m ago•0 comments

Show HN: Athena – An assistant that listens instead of watching

https://athenaos.net
1•mirconeri•13m ago•0 comments

Radium Dial

https://en.wikipedia.org/wiki/Radium_dial
1•tosh•15m ago•0 comments

Anthropic wants your thoughts on AI

https://www.anthropic.com/research/your-thoughts-on-ai
2•ramijames•16m ago•3 comments

Parametrised tests in Rust with named parameters

https://alexwlchan.net/2026/table-driven-rust/
1•surprisetalk•17m ago•0 comments

The Revise SDK

https://revise.io/blog/09-28-2026/introducing-the-revise-sdk
1•dimonomid•17m ago•0 comments

UK's Extend Robotics Secures US$3.3M to Sell Factory Work Instead of Machines

https://www.saasrise.com/deals/uks-extend-robotics-secures-us33m-26m-to-sell-factory-work-instead...
1•monkeydust•20m ago•0 comments

OntoPrune – Pruning 85% LLM context tokens and 6.7x TTFT on CPU

https://github.com/vigmarcarlo/OntoPrune
1•vigmarcarlo•21m ago•0 comments

Own Personal Jarvis

https://github.com/AnaaySampat/jarvis
2•anaaysampat•22m ago•9 comments

An MMO you can play with curl

https://cooldownmmo.com/
1•lorderetik•23m ago•0 comments

OpenDLSS-NR get a ThreeJS port

https://github.com/bhouston/three-dlss-nr/
2•bhouston•24m ago•0 comments

You Need to Stop Babysitting Your Agent [video]

https://www.youtube.com/watch?v=RQEwXaawOso
4•sam_3•24m ago•0 comments

An application in Lisp you grow by talking to it

https://ghuntley.com/lisp/
2•ghuntley•26m ago•0 comments

The Art of not writing all the code

https://ljtn.github.io/epiq/blog/the-art-of-not-writing-all-the-code.html
2•ionetan•29m ago•0 comments

Fitts's law: why the menu bar is at the top

https://milos.fyi/blog/fitts-law-why-the-menu-bar-is-at-the-top
3•mmilanovic4•30m ago•0 comments

My New Course at UT Austin: AI Alignment Theory

https://scottaaronson.blog/?p=10125
2•nsoonhui•30m ago•0 comments