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!

It's Good Enough (2014)

https://karl-voit.at/2014/02/08/good-enough/
1•Antibabelic•2m ago•0 comments

Article by article, how Big Tech shaped the EU's roll-back of digital rights

https://corporateeurope.org/en/2026/01/article-article-how-big-tech-shaped-eus-roll-back-digital-...
1•robtherobber•2m ago•0 comments

Open-Science-Land

https://expedition-open-science.org/
1•Tomte•5m ago•0 comments

Show HN: Tarantillo – Create beautiful AI videos with granular slide control

https://tarantillo.com
1•programad•9m ago•0 comments

A new paradigm for cloud-native infrastructure (2025)

https://blog.rackspacecloud.com/blog/2025/11/24/a_new_paradigm_for_cloud-native_infrastructure
1•shscs911•10m ago•0 comments

Select Wat from SQL;

https://scattered-thoughts.net/writing/select-wat-from-sql/
1•fanf2•14m ago•0 comments

Show HN: Enjoy – A gamified GitHub repo where contributions earn karma

https://github.com/fabriziosalmi/enjoy
1•fab_space•16m ago•0 comments

Static site search without JavaScript (Perl + FastCGI + SA index)

https://www.asciimx.com/log/site-search/
2•kovac•16m ago•1 comments

ZeroDP: Just-in-Time Weight Offloading over NVLink for Data Parallelism

https://mainlymatmul.com/blog/zerodp/
1•mezark•18m ago•0 comments

Why Young Danes Are Still Having Sex

https://spectator.com/article/gen-z-as-is-well-known-is-having-significantly-less-sex-than-their-...
4•barry-cotter•19m ago•1 comments

Hackers claim to have Target source code for sale following recent cyberattack

https://www.techradar.com/pro/security/hackers-claim-to-have-target-source-code-for-sale-followin...
1•01-_-•24m ago•0 comments

The PS Plus Premium Problem Nobody Wants to Talk About

1•01-_-•26m ago•0 comments

Study: Ethnonationalism by Algorithm

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6065414
3•giuliomagnifico•26m ago•1 comments

Building a Personal Knowledge Base with Local Files

https://desktopcommander.app/blog/2026/01/07/build-a-personal-ai-knowledge-base-with-local-files/
1•rafaepta•27m ago•0 comments

UW ttyp0 Monospace Bitmap Fonts (v2.1)

https://people.mpi-inf.mpg.de/~uwe/misc/uw-ttyp0/
2•woffer•28m ago•0 comments

IDE-like features for your Markdown notes (LSP and CLI)

https://iwe.md
2•gimalay•28m ago•0 comments

Show HN: Professional Headshot AI – A Tool for Realistic Headshots Using AI

1•ZHUDAN509•28m ago•0 comments

Things I learned from burning myself out with AI coding agents

https://arstechnica.com/information-technology/2026/01/10-things-i-learned-from-burning-myself-ou...
2•brazukadev•29m ago•1 comments

Amazon is ending all inventory commingling as of March 31, 2026

https://twitter.com/ghhughes/status/2012824754319753456
26•MrBuddyCasino•31m ago•3 comments

Simplifying Room Planning with a Wardrobe and Drawers Set

https://dreamhomestore.co.uk/collections/bedroom-furniture-sets
1•paulsimpson3214•33m ago•1 comments

Are you tired of AI stigma?

https://slopper.robot-future.com/
2•busters4•37m ago•0 comments

We built Git-like versioning and context-aware AI for software architecture

1•SougataAS•38m ago•0 comments

Creusot: Devlog

https://creusot-rs.github.io/devlog/2026-01-19/
2•syrak•40m ago•0 comments

Washington State Bill Seeks to Add Firearms Detection to 3D Printers [pdf]

https://lawfilesext.leg.wa.gov/biennium/2025-26/Pdf/Bills/House%20Bills/2321.pdf?q=20260119041123
2•jnord•42m ago•0 comments

Developer productivity metrics are measuring you, not your team

https://dougrathbone.com/blog/2026/01/19/your-developer-productivity-metrics-are-measuring-you-no...
1•wiredone•47m ago•1 comments

'Factory flaw' spurs toy horse to instant popularity

https://www.chinadaily.com.cn/a/202601/12/WS69644af0a310d6866eb3329e.html
2•masfuerte•49m ago•0 comments

Interview with Warren Buffett: A Life and Legacy

https://podcasts.apple.com/us/podcast/warren-buffett-a-life-and-legacy-1-13-26/id1480890290?i=100...
1•sarmike31•50m ago•0 comments

I am worried about these newest Captchas

https://medium.com/the-haven/i-am-worried-about-these-newest-captchas-82d406715994
3•bryanrasmussen•51m ago•0 comments

Show HN: I made a pocket IDE for Android Developers

https://youtu.be/ToNxbKVkTic
1•0dayman•51m ago•0 comments

Weight-Loss Drugs Could Save U.S. Airlines $580M per Year

https://www.nytimes.com/2026/01/19/travel/airlines-weight-loss-drugs.html
1•mistersquid•53m ago•0 comments