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!

Show HN: Namecom-CLI – CLI and agent skill so Claude Code/Codex can do your DNS

https://github.com/hypersocialinc/namecom-cli
1•selcuk•45s ago•0 comments

Follow when your world cup team is going to play

https://copa2026.florianobi.workers.dev/
1•brunojppb•54s ago•0 comments

22-year-old Mozart's handwritten notebook unearthed in 'major discovery'

https://www.classicfm.com/composers/mozart/handwritten-notebook-discovered-major-paris/
1•thunderbong•1m ago•0 comments

Agent Memory Layer: Repository-local memory for AI coding agents

https://github.com/ragnarok268/agent-memory-layer
1•einherjarlabs•3m ago•0 comments

Lightweight Compression in DuckDB (2022)

https://duckdb.org/2022/10/28/lightweight-compression
1•tosh•4m ago•0 comments

Cognitive Offloading

https://blog.daddooo.dev/posts/cognitive-offloading/
1•daddooo•4m ago•0 comments

FSST: Fast Random Access String Compression [pdf]

https://www.vldb.org/pvldb/vol13/p2649-boncz.pdf
1•tosh•5m ago•0 comments

Noverdesk – reusable skills for AI support agents, with a conversational builder

https://www.noverdesk.com/
1•kodicar•7m ago•0 comments

Big Tech is stoking unrest in the UK. Why?

https://www.ft.com/content/0f3e33d2-0b9e-481d-a911-245d8cc01a9c
9•mmarian•9m ago•2 comments

New GCP Big Query Emulator

https://github.com/jjviscomi/bqemulator
2•jjviscomi•10m ago•1 comments

The Joel Test (2000)

https://web.archive.org/web/20020604023729/http://www.joelonsoftware.com/articles/fog0000000043.html
2•tosh•11m ago•0 comments

Show HN: Tiny.Place – AI Social network for orchestration, payments & jobs

https://github.com/tinyhumansai/tiny.place
2•enamakel•13m ago•1 comments

One giant US power line, enough wind power for 1M homes

https://electrek.co/2026/06/19/sunzia-one-giant-us-power-line-wind-power-for-1-million-homes/
2•Brajeshwar•14m ago•0 comments

Indie hackers needed better founder pages, so I made this

https://www.founder.best
2•jacksonnick•14m ago•0 comments

Votre guide sur l'intelligence artificielle

https://theassociationwebmasters.blogspot.com/2026/06/i-spent-morning-chasing-ai-garage-sales.html
2•odilelof•15m ago•0 comments

Ask HN: Why SF? Why not India? UK? Or anywhere else?

2•akashwadhwani35•19m ago•1 comments

They caught Fauci. [video][14 mins]

https://www.youtube.com/watch?v=6GhHkQ0RuIo
2•Bender•22m ago•0 comments

No training. No cloud. No transformers. It abstains instead of hallucinating [video]

https://www.youtube.com/watch?v=X90A9ZFtg6g
2•verhash•23m ago•1 comments

Tech companies seeking better control of spending on AI

https://www.cbc.ca/news/business/ai-spending-ending-tokenmaxxing-tokenomics-9.7237680
2•heresie-dabord•26m ago•0 comments

NewsGlobe – An interactive 3D globe of world newspapers and live news

https://newsglobe.app/
2•subinalex•26m ago•1 comments

Power shortages force Cuban churches to ration Communion wafers

https://www.ucanews.com/news/power-shortages-force-cuban-churches-to-ration-communion-wafers/113797
2•t-3•28m ago•0 comments

Wanted: War-Zone Divers to Scrape Barnacles from Ships in Persian Gulf

https://www.insurancejournal.com/news/international/2026/06/18/874196.htm
3•t-3•28m ago•0 comments

Trump Conquered the Republican Party

https://www.natesilver.net/p/how-trump-conquered-the-republican
3•7777777phil•29m ago•0 comments

Sogen Kato

https://en.wikipedia.org/wiki/Sogen_Kato
4•sorokod•30m ago•0 comments

Sensors: The Other Half of the Harness

https://blog.tacoda.dev/sensors-the-other-half-of-the-harness-43d3781a722e
3•tacoda•30m ago•0 comments

Cwcode and Cwmail

https://code.intellios.ai
2•coolwulf•32m ago•0 comments

Show HN: I mapped every privacy claim in my messenger to its source code

https://veilusdigital.co/audit/
2•VeilusDigital•32m ago•0 comments

The Bald Soprano: One of the most beautiful (and eccentric) books ever published

https://dangerousminds.net/pop-culture/the-bald-soprano-one-of-the-most-beautiful-books/
2•rramadass•33m ago•1 comments

Remove Target="_blank"

https://therepanic.com/blog/2026/06/17/remove-target-blank.html
2•therepanic•33m ago•0 comments

64,000 Lines of Nothing

https://www.lifeofnav.in/2026/06/64000-lines-of-nothing.html
3•madmax108•34m ago•0 comments