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

How to live a life that matters [video]

https://www.youtube.com/watch?v=1Vi96A6tFxI
1•omnifischer•42s ago•0 comments

Laptops are about to become a casualty of the AI grift

https://www.theblaze.com/columns/opinion/your-laptop-is-about-to-become-a-casualty-of-the-ai-grift
1•walterbell•49s ago•0 comments

Peter Scholze: Condensed Mathematics [video]

https://www.youtube.com/watch?v=uHJizsbVmhk
1•hackandthink•51s ago•1 comments

Notes for December 25-31

https://taoofmac.com/space/notes/2025/12/31/1830#the-unreasonable-popularity-of
1•rcarmo•1m ago•0 comments

NASA's Largest Library Is Closing Amid Staff and Lab Cuts

https://www.nytimes.com/2025/12/31/climate/nasa-goddard-library-closing.html
2•nxobject•1m ago•0 comments

Communicating in Pull Requests

https://stolee.dev/2025/12/31/pr-communication.html
1•stolee•6m ago•0 comments

A Mystery in Fixed Income

https://www.apolloacademy.com/a-mystery-in-fixed-income/
2•akyuu•6m ago•0 comments

Show HN: Happymail – We made email simple again

https://happymail.tech/concept/
1•samset7•7m ago•0 comments

LebGeeks Programming Exercises

https://lebgeeks.com/forum/d/7497
1•goodburb•8m ago•0 comments

We've Updated the Site for Hmpl.js

https://hmpl-lang.dev/
1•aanthonymax•8m ago•0 comments

A Brief History of iPhone Security [video]

https://www.youtube.com/watch?v=gQ3mS14SR8k
2•astroanax•9m ago•0 comments

Visualization of childcare fraud cases across USA

https://www.somaliscan.com
1•Alifatisk•10m ago•0 comments

Show HN: FantasyDawg – Your Fantasy Football League Recap

https://www.fantasydawg.com
1•perhapsAnLLM•11m ago•0 comments

Facts I Heard This Year

https://zhengdongwang.com/2025/12/21/the-best-facts-i-heard-this-year.html
1•o_nate•11m ago•0 comments

Ask HN: Do typical computer monitors spy on you now?

1•andy99•11m ago•0 comments

Atkinson Hyperlegible Next

https://fonts.google.com/specimen/Atkinson+Hyperlegible+Next
1•xenophonf•11m ago•0 comments

AI Has Fueled $70B in Data Center M&A Talks This Year

https://www.bloomberg.com/news/articles/2025-12-29/ai-has-fueled-70-billion-in-data-center-m-a-ta...
1•1vuio0pswjnm7•12m ago•0 comments

Show HN: I vibe-coded a DAW that lets you vibe-compose with Opus 4.5

https://synthesizer-steel.vercel.app/
1•elliotbnvl•13m ago•0 comments

Show HN: Got tired of searching for AI news daily so I built my own AI news page

https://dreyx.com/
1•lilsquid•13m ago•0 comments

Phone Searches at the Border Are Up. How to Protect Your Privacy

https://www.nytimes.com/2025/12/31/travel/airport-border-phone-search.html
1•bookofjoe•14m ago•1 comments

Fighting the Last War: By the time you understand a decade, it's over

https://blog.bawolf.com/p/fighting-the-last-war
1•bryantwolf•15m ago•0 comments

Sylve: The Most Promising Proxmox-Like Virtualization Way for FreeBSD and Bhyve

https://gyptazy.com/sylve-the-most-promising-proxmox-like-virtualization-platform-for-freebsd-and...
2•gyptazy•21m ago•2 comments

A Comptime Calculus for Zig

https://pithlessly.github.io/comptime-calculus
2•fanf2•21m ago•0 comments

Privacy and control. My tech setup

https://toidiu.com/blog/2025-12-25-privacy-and-control/
2•todsacerdoti•23m ago•0 comments

Manus joins Meta (AI agent for research, coding and data analysis)

https://www.facebook.com/business/news/manus-joins-meta-accelerating-ai-innovation-for-businesses...
1•yowmamasita•24m ago•0 comments

Avoiding space leaks at all costs

https://chshersh.com/blog/2022-08-08-space-leak.html
2•PaulHoule•27m ago•0 comments

The Weeb Economy

https://www.noahpinion.blog/p/the-weeb-economy
3•paulpauper•28m ago•0 comments

Claude Code hacked into Ring doorbell and built a native Mac OS app

https://twitter.com/zishxn/status/2006432617822814545
1•nahsiz•28m ago•0 comments

The ML drug discovery startup trying hard to not cheat

https://www.owlposting.com/p/an-ml-drug-discovery-startup-trying
1•abhishaike•29m ago•0 comments

Built an SSRF Prevention Library

https://www.npmjs.com/package/nullspace
1•bymehul•29m ago•0 comments