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

I Build an Idea I Love. I Need You to Tear It Apart

1•indigoeagle•31s ago•0 comments

Wong Kar-wai on technology and AI

https://twitter.com/RadiantFilm/status/2010104914274341236
1•keepamovin•4m ago•1 comments

AI memory is sold out, causing an unprecedented surge in prices

https://www.cnbc.com/2026/01/10/micron-ai-memory-shortage-hbm-nvidia-samsung.html
1•jonbaer•5m ago•0 comments

AI "cheating", anti-intellectualism and the carceral

https://overland.org.au/2025/10/ai-cheating-anti-intellectualism-and-the-carceral/
1•Pamar•7m ago•0 comments

Gentoo Linux 2025 Review

https://www.gentoo.org/news/2026/01/05/new-year.html
1•akhuettel•7m ago•0 comments

Show HN: Typical is TypeScript with type-safety at runtime

https://typical.elliots.dev/
1•elliotshep•8m ago•0 comments

When AI Meeting Notes Become Legal Evidence

https://www.aivojournal.org/when-ai-meeting-notes-become-legal-evidence/
1•businessmate•14m ago•1 comments

I dumped Windows 11 for Linux, and you should too

https://www.notebookcheck.net/I-dumped-Windows-11-for-Linux-and-you-should-too.1190961.0.html
3•smurda•14m ago•0 comments

Nature-inspired computers are shockingly good at math

https://phys.org/news/2026-01-nature-good-math.html
2•pseudolus•14m ago•0 comments

Putting the "You" in CPU

https://cpu.land/
1•napolux•16m ago•0 comments

Show HN: Authentic AI CV optimizer – real keywords only, 90%+ ATS scores

https://www.cvora.net/
1•jaumapv•20m ago•0 comments

HTML-only conditional lazy loading (via preload and media)

https://orga.cat/blog/html-conditional-lazy-loading/
1•netol•21m ago•0 comments

The Hobbyist Maintainer Economic Gravity Well

https://www.softwaremaxims.com/blog/hobbyist-gravity-well
1•todsacerdoti•23m ago•0 comments

Self-driving cars aren't nearly a solved problem

https://strangecosmos.substack.com/p/self-driving-cars-arent-nearly-a
2•lordgrenville•25m ago•0 comments

Show HN: SSL Radar – Real-time CT logs with probabilistic data structures

https://demo.limite.dev
1•lopezb•26m ago•0 comments

Lean Dine – Scan restaurant menus for calories, macros, and allergens

https://leandine.app
1•albertnahas•27m ago•1 comments

Ruling for the Rich: The Supreme Court over Time

https://www.nber.org/papers/w34643
2•gslin•27m ago•0 comments

The Coming AI Compute Crunch

https://martinalderson.com/posts/the-coming-ai-compute-crunch/
1•jnord•28m ago•0 comments

How Judges Are Using AI to Help Decide Your Legal Dispute

https://www.wsj.com/tech/ai/how-ai-could-help-decide-your-next-legal-dispute-9cb12517
1•pseudolus•33m ago•1 comments

llcat: /usr/bin/cat for LLMs

https://github.com/day50-dev/llcat
1•lioeters•34m ago•0 comments

Media Player Classic Qute Theater

https://github.com/mpc-qt/mpc-qt
2•XzetaU8•35m ago•0 comments

Microsoft is retiring 'Send to Kindle' in Word

https://www.bleepingcomputer.com/news/microsoft/microsoft-is-retiring-send-to-kindle-in-word/
1•7777777phil•37m ago•0 comments

Think of Pavlov

https://boz.com/articles/think-pavlov
2•kiyanwang•43m ago•1 comments

Show HN: I built a fast, minimal Dota 2 counter tool to help me learn the game

https://dota2.tools/
1•lijinxuan•45m ago•1 comments

Show HN: Mac Cleaner, Offline That Fixes the "System Data" Problem

https://freeupmymac.com/
3•tonikami•46m ago•1 comments

Metadata Protection in Instant Messaging Applications: A Review

https://passthesalt.ubicast.tv/permalink/v126afbf79921jjt3bh1/
1•Ey7NFZ3P0nzAe•46m ago•0 comments

(Greenland) Our Friends in the North (2008)

https://bellacaledonia.org.uk/2008/12/01/our-friends-in-the-north/
2•nephihaha•47m ago•1 comments

Show HN: Qonvo – a group chat that turns conversations into live maps

https://qonvo.xyz
1•digi_wares•47m ago•0 comments

HexStrike AI on Kali with Roo Code

https://0ut3r.space/2026/01/11/hexstrikeai-setup/
1•h0ek•50m ago•0 comments

I released an app a year ago and I'm struggling to get users

https://www.solance.app
3•Solance•50m ago•7 comments