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

Ask HN: macOS+AWS Workspace+Bluetooth sucks: dongle headphone recommendations?

1•nico_h•1m ago•0 comments

SlamDunk for 3D Visualizations in Python

https://github.com/Robertleoj/slam_dunk
1•robertleoj•2m ago•1 comments

Council to introduce facial recognition CCTV

https://www.bbc.co.uk/news/articles/crl5030lwkwo
1•jonatron•2m ago•0 comments

Music training can help the brain focus

https://news.ki.se/music-training-can-help-the-brain-focus
1•XzetaU8•6m ago•0 comments

Supporting our AI overlords: Redesigning data systems to be Agent-first

http://muratbuffalo.blogspot.com/2025/09/supporting-our-ai-overlords-redesigning.html
1•furkansahin•7m ago•0 comments

Scandal rocks international stone skipping contest

https://www.popsci.com/science/stone-skipping-scandal/
1•domofutu•7m ago•0 comments

Repatriation games: the mid-market reevaluates its public cloud consumption

https://www.techradar.com/pro/repatriation-games-the-mid-market-reevaluates-its-public-cloud-cons...
1•PaulKeeble•8m ago•0 comments

Works in Progress is now in print

https://worksinprogress.co/print/
2•bensouthwood•11m ago•0 comments

The Art of Japanese Stationery: Why It's More Than Just Office Supplies

https://shibuya-stationery.com/blogs/news/the-art-of-japanese-stationery-why-it-s-more-than-just-...
2•causalitycone•11m ago•0 comments

Slack Client for Your Terminal

https://github.com/jpbruinsslot/slack-term
1•gz09•13m ago•0 comments

Digging deeper into YouTube's view count discrepancy

https://www.jeffgeerling.com/blog/2025/digging-deeper-youtubes-view-count-discrepancy
1•Bogdanp•22m ago•0 comments

Kim Dotcom Extradition Decision Was Lawful, Judicial Review Denied

https://torrentfreak.com/kim-dotcom-extradition-decision-lawful-judicial-review-denied-250916/
3•gslin•24m ago•0 comments

Amiga Walker

https://en.wikipedia.org/wiki/Amiga_Walker
2•doener•24m ago•0 comments

40k-Year-Old Symbols in Caves Worldwide May Be the Earliest Written Language

https://www.openculture.com/2025/09/40000-year-old-symbols-found-in-caves-worldwide-may-be-the-ea...
3•mdp2021•27m ago•0 comments

Best Shippping Aggregrator in India

1•orderzup•27m ago•0 comments

Lovemoney Game Online why this game so popular?

https://lovemoneygames.com
1•Febe1212•28m ago•0 comments

Vivaldi 7.6 allows customizing the Tab Bar and adds a Tab Button

https://vivaldi.com/blog/vivaldi-on-desktop-7-6/
4•newscombinatorY•29m ago•1 comments

Carbon Copy No.8: Classes Part II

https://github.com/carbon-language/carbon-lang/discussions/6090
2•zmodem•31m ago•0 comments

AI has changed the career pathway for junior developers

https://stackoverflow.blog/2025/09/10/ai-vs-gen-z/
1•Tikrong•33m ago•0 comments

Electricity through osmosis: Japan opens landmark osmotic power plant

https://newatlas.com/energy/electricity-through-osmosis-japan-opens-worlds-second-osmotic/
3•Ozarkian•34m ago•0 comments

C++ Committee Prefers Bjarne's Profiles to Baxter's Rustification

1•robinsrowe•35m ago•0 comments

A tool help you find the hairstyle that suits you

https://righthair.ai/
1•MiaTaylor•37m ago•0 comments

"Why Everything Pam Bondi Said About 'Hate Speech' Is Wrong"

https://reason.com/volokh/2025/09/16/why-everything-pam-bondi-said-about-hate-speech-is-wrong/
2•mdp2021•37m ago•0 comments

Show HN: A recursive calendar for 0.1x engineers

1•eltonlin•39m ago•0 comments

Pnpm has a new setting to stave off supply chain attacks

https://pnpm.io/blog/releases/10.16
2•ivanb•41m ago•0 comments

Is there demand for a managed web automation and monitoring service?

1•TheOneEye•43m ago•0 comments

9 Years Solo: Building Complex AI Competition in a Game Management SIM

1•binogure•43m ago•0 comments

Redux in 2025: A reliable choice for complex React projects

https://stefvanwijchen.com/react-and-redux-in-2025/
1•nnx•44m ago•0 comments

Google DeepMind claims 'historic' AI breakthrough in problem solving

https://www.theguardian.com/technology/2025/sep/17/google-deepmind-claims-historic-ai-breakthroug...
2•fergie•47m ago•1 comments

Is viewpoint based flagging suppressing critical replies on this post?

https://news.ycombinator.com/item?id=45282482
1•shadowbanning•50m ago•3 comments