frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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!

Irrational philistine "education" has won

https://pietersz.co.uk/2026/05/irrational-philistine-education-has-won
1•graemep•2m ago•0 comments

GoPro Q1 2026: gross margin went from 32% to 4.5% in one year, exploring a sale

https://finance.yahoo.com/quote/GPRO/earnings/GPRO-Q1-2026-earnings_call-552481.html
1•Lwrless•7m ago•0 comments

For Residents of Jurisdictions with Age Verification Laws

https://dianne.skoll.ca/projects/california.php
1•vslira•7m ago•0 comments

Men Are Shit.

https://www.kommunikationsliebe.org/en/post/men-are-shit/
1•rendx•7m ago•0 comments

Venera 7

https://en.wikipedia.org/wiki/Venera_7
2•thunderbong•13m ago•0 comments

We open sourced another feature of our commercial EDR Show us love

1•SilverPlate3•13m ago•0 comments

Liverpool and Manchester Railway

https://en.wikipedia.org/wiki/Liverpool_and_Manchester_Railway
1•daverol•14m ago•0 comments

Free US expat tax calculators (no signup, static HTML)

https://www.clearedexpat.com/
2•advsign•15m ago•0 comments

The slop cannons in your engineering org

https://handyai.substack.com/p/the-slop-cannons-in-your-engineering
3•meysamazad•17m ago•0 comments

RescueRadar – UK Emergency Services Flight Tracking Since 2013

https://rescueradar.co.uk/about
1•dp-hackernews•19m ago•0 comments

So what is Open Source Software in a Source Available Software world? (2025)

https://www.unsungnovelty.org/posts/10/2025/oss-and-sas/
1•meysamazad•19m ago•0 comments

Trump Mobile Leaks Customers' Data and the Phone Isn't Even Out Yet

https://gizmodo.com/trump-mobile-leaks-customers-data-and-the-phone-isnt-even-out-yet-2000762600
7•pavel_lishin•19m ago•1 comments

Ruby for Good

https://ti.to/codeforgood/rubyforgood
2•mooreds•21m ago•0 comments

Why the gradient is a list of partial derivatives

https://blog.michalprzadka.com/posts/list-of-partial-derivatives/
5•keyraycheck•23m ago•0 comments

When (if ever) it's appropriate to make jokes before the US Supreme Court

https://www.scotusblog.com/2026/05/when-if-ever-its-appropriate-to-make-jokes-take-selfies-or-cur...
5•mooreds•23m ago•0 comments

50:50 Startups is a catalyst for positive change in the Middle East

https://www.5050startups.org
2•mooreds•24m ago•0 comments

Habits for Americans in an Age of Disruption

https://www.city-journal.org/article/ben-sasse-manhattan-institute-americans-habits
4•moviet•25m ago•0 comments

User level WireGuard for UDP based encryption and authentication

https://utcc.utoronto.ca/~cks/space/blog/tech/WireGuardForUDPAuthEncryption
1•blenderob•25m ago•0 comments

Three Years On: Analysing Advent's Maxar Acquisition

https://newsletter.terrawatchspace.com/three-years-on-analysing-advents-maxar-acquisition/
1•marklit•26m ago•0 comments

Usborne 1980s Computer Books

https://usborne.com/us/books/computer-and-coding-books
3•ngram•27m ago•0 comments

No Juniors Today, No Seniors in 2031

https://www.fbritoferreira.com/blog/no-juniors-today-no-seniors-in-2031/
2•fbritoferreira•28m ago•0 comments

Show HN: Strudel – Generate commit messages via Apple's on-device LLM

https://github.com/Mechse/strudel
4•Mechse•28m ago•0 comments

Three Years of Abstractionless C

https://replicated.wiki/blog/abc
1•gritzko•29m ago•0 comments

BFId: Identity Inference Attacks Utilizing Beamforming Feedback Information

https://dl.acm.org/doi/10.1145/3719027.3765062
1•bookofjoe•29m ago•0 comments

FutureMi – Scheduled Messages

https://play.google.com/store/apps/details?id=com.otijiudezealexander.futuremi&hl=en_US
1•Nightcharm6•30m ago•0 comments

Peruse 332,144 pages of UFO files and videos with your thumb

https://hypergrid.systems/war.gov-ufo-viewer/microfilm5
1•keepamovin•31m ago•0 comments

HTML-in-Canvas WebGL Demos

https://chrome.dev/html-in-canvas/
1•arnejenssen•31m ago•1 comments

Advanced Shader Delivery on RX 9070 XT: up to 95% faster load times

https://www.tomshardware.com/pc-components/gpus/we-tested-advanced-shader-delivery-on-the-rx-9070-xt
1•sbulaev•33m ago•0 comments

Of Course They Booed

https://2ndbreakfast.audreywatters.com/of-c/
6•cdrnsf•43m ago•0 comments

Show HN: Audiomass – a free, open-source multitrack audio editor for the web

https://audiomass.co/?multitrack=1
1•pantelisk•45m ago•0 comments