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!

Introduction to the DOM for Vulnerability Researchers

https://www.youtube.com/watch?v=Pwta5nZtVNA
1•wetw0rk•1m ago•0 comments

A magnitude 6.9 earthquake has struck near Iwate Pref Japan

https://www3.nhk.or.jp/nhkworld/en/news/weather-disaster/earthquake/
1•momentmaker•3m ago•0 comments

ZKP-Vault: Cryptographic Session Gating and Data Center Optimization

https://github.com/Les-Senters/ZKP-Vault-
1•zkpvault•9m ago•0 comments

I'm Not a Cat

https://www.scattered-thoughts.net/writing/im-not-a-cat/
1•jamii•10m ago•0 comments

I Am the Spark, the Bellows, and the Quench

https://zackproser.com/blog/spark-bellows-quench
1•gk1•11m ago•0 comments

The year is 2063 and you were never interesting

https://lizleatrice.substack.com/p/the-year-is-2063-and-you-were-never
1•FigurativeVoid•12m ago•0 comments

Omnigent: Open-source meta harness for agents

https://github.com/omnigent-ai/omnigent
1•chatmasta•13m ago•0 comments

PostgreSQL Is Enough

https://gist.github.com/cpursley/c8fb81fe8a7e5df038158bdfe0f06dbb
2•Imustaskforhelp•18m ago•0 comments

Steam Machine: Official Overview and Quick Start Guide [video]

https://www.youtube.com/watch?v=XPNW3GCIeOM
1•Jotalea•22m ago•0 comments

Show HN: RealTube – Watch YouTube with filters for AI-generated content

https://realtube.io
1•danielpop•23m ago•0 comments

Cloudflare teams up with big browsers to help websites detect unwelcome visitors

https://www.theregister.com/software/2026/06/22/cloudflare-teams-up-with-big-browsers-to-help-web...
2•cpeterso•27m ago•0 comments

Colorado Startup Week Call for Sessions 2026

https://docs.google.com/forms/d/e/1FAIpQLScfiL33y9FMODTRB-AqlZaWEoA3cbwhXg1dDFEEy_-uyoqfjQ/viewform
3•mooreds•29m ago•0 comments

Why communities struggle to change [video]

https://www.youtube.com/watch?v=HGa2a4IiYOA
1•mooreds•29m ago•0 comments

Food Delivery Killed Competition (and Your Budget) [video]

https://www.youtube.com/watch?v=1Eq5jzsu1xU
2•mooreds•31m ago•0 comments

Stochastics

https://stochastics.vercel.app/
2•talos-better•35m ago•0 comments

Chinese Supercomputer Overtakes U.S. as World's Fastest

https://www.wsj.com/tech/ai/chinese-supercomputer-overtakes-u-s-as-worlds-fastest-d0f8dbff
1•bookofjoe•35m ago•3 comments

Show HN: GDPRedirect – Become EU compliant in one line of code (satire)

https://gdpredirect.com
2•apwn•36m ago•0 comments

Strong Earthquake Felt in Caracas, Venezuela - Reuters Witness

https://twitter.com/cgtnamerica/status/2069905400963404242
1•mikhael•37m ago•0 comments

Maturana: Hardware-isolated, zero-trust agent harness

https://github.com/ajensenwaud/maturana
1•hestefisk•40m ago•0 comments

New Study Shows That Tall Hoods Cause Deaths per Year

https://www.caranddriver.com/news/a71663782/study-vehicle-hood-height-pedestrian-safety/
6•breve•41m ago•4 comments

Show HN: Clearthesis – Get a clear investment thesis for any public US company

https://www.clearthesis.ai/home
1•kumaramit0703•42m ago•0 comments

Congress passes largest housing affordability bill and Trump cancels signing

https://www.npr.org/2026/06/23/nx-s1-5867575/congress-passes-housing-affordability-bill
3•sizzle•43m ago•0 comments

OmniIDE 1.0.4 by OmniNodeCo Released

https://github.com/OmniNodeCo/OmniIDE/releases/tag/v1.0.4
1•OmniNodeCo•43m ago•0 comments

LLMs use "safety" specific neuron layers to identify vulnerabilities in code

https://arxiv.org/abs/2605.29901
3•summarity•46m ago•1 comments

Save Design: Elements Library

https://save.design/explore
1•handfuloflight•46m ago•0 comments

unrot your brain newsletter · issue #1

https://readpondercom.substack.com/p/unrot-your-brain-newsletter-issue
1•wingdiction•46m ago•0 comments

Talos: Scaling rare disease diagnosis by automated, iterative genomic reanalysis

https://www.microsoft.com/en-us/research/blog/talos-scaling-rare-disease-diagnosis-with-automated...
2•femto•47m ago•1 comments

I Built a Zero-Trust Resume Pipeline to Stop AI from Hallucinating

https://github.com/Gotili/EigenCV
1•g0tili•50m ago•0 comments

A24 Knows You're Mad About the Google AI Collab

https://www.wired.com/story/a24-knows-youre-mad-about-the-google-ai-collab/
4•nate•51m ago•1 comments

How We Securely Serve a Large Agent Fleet on a Small Infra Footprint

https://gluondb.com/blog/how-we-securely-serve-a-large-agent-fleet
5•slopranker•52m ago•1 comments