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!

I've created an open source 100% Rust clean-room clone of 7 of Adobe's apps

https://www.reddit.com/r/Adobe/comments/1wvyxjd/photocraft_ive_created_an_open_source_100_rust/
1•robenkleene•41s ago•0 comments

GTF – Event-driven Go service converting GitHub events into LinkedIn posts

https://github.com/hawksxo/git-to-feed
1•hawksxo•2m ago•0 comments

At the Conformation Show: Chasing the Ideal Dog

https://www.theparisreview.org/blog/2026/09/03/the-conformation-show-and-the-pursuit-of-the-ideal...
1•Vigier•3m ago•0 comments

Woking Electrical Control Room (2016)

http://www.darbiansphotography.com/woking-electrical-control-room-urbex
1•NaOH•5m ago•0 comments

Trump consulted Musk's chatbot Grok before abducting Venezuela's president

https://www.independent.co.uk/news/world/americas/us-politics/trump-musk-grok-venezuela-maduro-b3...
1•morkalork•5m ago•0 comments

LF UX Designer – Bay Area Hybrid

https://vuetech.sh/careers
1•pvuetech•5m ago•0 comments

Gpui based database client built for teams and AI agents

https://based.pavi2410.com/
1•faramarz•6m ago•0 comments

Winnow wallet is the best iOS BTC wallet

https://compare.winnowwallet.com/
1•alexnewman•8m ago•0 comments

The AI telling farmers when to harvest

https://www.bbc.com/news/articles/cgk53dkmyxko
1•rmason•10m ago•2 comments

Three AI agents, two countries, and one uneven world wide web

https://royapakzad.substack.com/p/multilingual-ai-agents
5•effects•10m ago•0 comments

Barcodes are about to go extinct

https://thehustle.co/originals/why-barcodes-are-about-to-go-extinct
2•rmason•12m ago•1 comments

Thumos

https://en.wikipedia.org/wiki/Thumos
1•bryanrasmussen•14m ago•0 comments

Show HN: FB Post Generator

https://gemini.google.com/share/1a34bce7137f
1•FDX2018•14m ago•0 comments

Apple will limit Mac disk access as AI agents 'substantially' increase risk

https://www.theverge.com/tech/1004295/apple-limit-mac-disk-access-ai-agents
3•qzervaas•16m ago•1 comments

How to save a life without knowing CPR

https://bookofjoe2.blogspot.com/2026/10/beyondthemedspeak-how-to-save-life.html
2•bookofjoe•16m ago•0 comments

Connections Museum Seattle

https://www.telcomhistory.org/ConnectionsSeattle.html
1•mooreds•18m ago•0 comments

Run over by the Future

https://dgwbirch.substack.com/p/run-over-by-the-future
1•mooreds•19m ago•0 comments

Human Baselines for Benchmarks: AI Now Outperforms Junior Accountants

https://www.mercor.com/blog/human-baselines-for-benchmarks-ai-now-outperforms-junior-accountants/
1•iphonecorridor•19m ago•0 comments

Microsandbox

https://microsandbox.dev
1•handfuloflight•21m ago•0 comments

A Warning for Frontier AI Model Governance

https://www.lawfaremedia.org/article/a-warning-for-frontier-ai-model-governance
1•EA-3167•21m ago•0 comments

A2A CLI: A tool to discover, message, and manage remote AI agents

https://github.com/a2aproject/a2a-cli
1•msampath•23m ago•0 comments

What's the Date?

https://www.lesswrong.com/posts/vzKWsEskYBEWTwpBP/what-s-the-date
2•ronfriedhaber•24m ago•0 comments

Out-of-Band Authorization Codes

https://justinsecurity.medium.com/out-of-band-authorization-codes-50a3563bb5af
1•mooreds•25m ago•0 comments

Six Charts That Show Just How Much We Need A.I

https://www.nytimes.com/2026/10/02/opinion/ai-tech-innovation.html
2•tysone•25m ago•0 comments

Advertising Is Shit Now

https://james.cridland.net/blog/2026/advertising-is-shit-now/
5•1317•31m ago•3 comments

Show HN: Ask the news – Find relevant news faster

https://news.svpn.com/chat
1•svpn•33m ago•0 comments

ASD-STE100: What It Is and What It Has to Do with LLMs

https://kgolubic.com/posts/asd-ste100-and-llms/
6•taubek•34m ago•0 comments

Muse Home Link

https://gadgets.muse.ai/home-link
2•big_toast•34m ago•2 comments

A BGP-Inspired Identity Network for Autonomous AI Agents

https://medium.com/@rodmontiel/uai-a-bgp-inspired-identity-network-for-autonomous-ai-agents-73b89...
1•rodmontiel•36m ago•0 comments

Zoho's ZeptoMail Is Now Cpaas to Incorporate WhatsApp, SMS and Voice

https://www.zoho.com/blog/cpaas/zeptomail-is-now-zoho-cpaas.html
1•rodolphoarruda•36m ago•0 comments