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•9mo 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•9mo ago
Finally!

Model is 6'2" wearing size Medium

https://pilk.website/2/model-is-6-2-wearing-size-medium
1•duck•2m ago•1 comments

Paediatricians' blood used to make new treatments for RSV and colds

https://www.newscientist.com/article/2516079-paediatricians-blood-used-to-make-new-treatments-for...
1•ColinWright•3m ago•0 comments

Why My VP of Alliances Doesn't Code Python?

1•AugSun•3m ago•0 comments

Knife edge getting dull time lapse [video]

https://www.youtube.com/watch?v=QetC2QGr6as
1•dvh•4m ago•0 comments

ΛProlog: Logic programming in higher-order logic

https://www.lix.polytechnique.fr/Labo/Dale.Miller/lProlog/
1•ux266478•6m ago•0 comments

Show HN: How Amazon Pricing Algorithms Work

https://www.pricedropnotifications.com/algorithms.html
1•HNFINDS•9m ago•0 comments

Render and stream large scale 3D Gaussian Splats with Spark 2.0 Preview

https://twitter.com/sparkjsdev/status/2024969164138729632
3•dmarcos•9m ago•0 comments

Show HN: FPGA prime finder – discovered a 1,123-digit Proth prime

https://github.com/0xdeadbeefnetwork/Optimus_Prime
1•sickthecat•9m ago•0 comments

Missing Novell server discovered after four years

https://www.theregister.com/2001/04/12/missing_novell_server_discovered_after/
1•jerdman76•9m ago•0 comments

Xbox chief Phil Spencer is leaving Microsoft

https://www.theverge.com/news/882241/microsoft-phil-spencer-xbox-leaving-retirement
1•cebert•10m ago•0 comments

Wine 11.3 – Run Windows Applications on Linux, BSD, Solaris and macOS

https://www.winehq.org/announce/11.3
1•neustradamus•10m ago•0 comments

GitHub-ospo – Helping open source program offices get started

https://github.com/github/github-ospo
1•themaxdavitt•11m ago•1 comments

The Conspiracy Against High Temperature Sampling

https://gist.github.com/Hellisotherpeople/71ba712f9f899adcb08b94bce20d5397
2•theyoungsir•12m ago•0 comments

How ‘Pachelbel's Canon' Conquered Classical Music

https://www.wsj.com/opinion/free-expression/how-pachelbels-canon-conquered-classical-music-7f23e46f
1•RickJWagner•13m ago•0 comments

What If LLMs Could See Trust Boundaries?

https://rockwotj.com/blog/llm-trust-boundaries/
1•rockwotj•14m ago•0 comments

Across the US, people are dismantling and destroying Flock surveillance cameras

https://www.bloodinthemachine.com/p/across-the-us-people-are-dismantling
2•latexr•17m ago•0 comments

Bringing automated preview, review, and merge to Claude Code on desktop

https://claude.com/blog/preview-review-and-merge-with-claude-code
1•adocomplete•18m ago•0 comments

MAHA Moms Turn Against Trump: 'Women Feel Like They Were Lied To'

https://www.nytimes.com/2026/02/19/us/politics/maha-moms-glyphosate-roundup-robert-kennedy.html
4•whack•18m ago•1 comments

High Performance Computing Kernel for Derivatives Pricing

https://github.com/yluoc/Quant-Kernel
1•yluoc•18m ago•1 comments

Printing circuits on rare nanomagnets puts a new spin on computing(2022)

https://phys.org/news/2022-03-circuits-rare-nanomagnets.html
1•rolph•19m ago•0 comments

PostgreSQL's 8KB Page

https://boringsql.com/posts/inside-the-8kb-page/
2•fbistrash•20m ago•0 comments

A16Z partner says that the theory that we'll vibe code everything is ' wrong'

https://www.aol.com/articles/a16z-partner-says-theory-well-050150534.html
4•paulpauper•20m ago•0 comments

NullFramework: A no-op framework (for Python)

https://github.com/TZubiri/nullFramework
1•TZubiri•21m ago•1 comments

AI Influencer Playbook

https://sigpulse.substack.com/p/ai-influencer-playbook
1•tuye0305•23m ago•0 comments

Show HN: Super Launch – A platform for you to get discovered and grow traffic

https://super-launch.app
1•yuni_aigc•23m ago•2 comments

Tithe Act 1836

https://en.wikipedia.org/wiki/Tithe_Act_1836
1•zeristor•24m ago•0 comments

Show HN: CH-UI v2 – ClickHouse workspace in a single binary (Go and Svelte)

https://ch-ui.com
8•caioricciuti•25m ago•0 comments

2025 State of JavaScript Results

https://2025.stateofjs.com/en-US
2•twoquestions•26m ago•1 comments

Show HN: A lightweight Delta Lake alternative for local time-series data

https://github.com/mag1cfrog/timeseries-table-format
1•redscarfman•27m ago•0 comments

What makes civilisational collapse inevitable and imminent

https://collapseos.org/civ.html
1•vermilingua•27m ago•3 comments