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

NATS 2.14 (RC 1) Fast-Ingest Batch Publishing

https://qaze.app/blog/nats-fast-ingest-batch-publish/
1•SebastianM•2m ago•0 comments

WebUSB Extension for Firefox

https://github.com/ArcaneNibble/awawausb
1•tuananh•3m ago•0 comments

Show HN: See if the GitHub stars are real or fake

https://github.com/mercurialsolo/realstars
1•mercurialsolo•7m ago•0 comments

ChatGPT thinks I speak Hindi. I don't

https://old.reddit.com/r/ChatGPT/comments/1s2u82g/chatgpt_randomly_used_a_hindi_word_im_curious/
1•2dvisio•9m ago•1 comments

Show HN: Nodify – Open-Source Headless CMS, CaaS and Native Multilingual Support

https://github.com/AZIRARM/nodify
1•equinox6380•9m ago•0 comments

Same Prompt, Worse Results

https://dheer.co/same-prompt-worse-results/
1•bushido•10m ago•0 comments

Web.archive.org/Web/20230415M*/Litha.pages.dev

https://web.archive.org/web/20230415000000*/litha.pages.dev
1•openrockets•11m ago•0 comments

A Pascal's Wager for AI Doomers

https://pluralistic.net/2026/04/16/pascals-wager/
1•vrganj•12m ago•0 comments

Ask HN: What Vercel alternatives do you recommend?

1•jaynate•17m ago•0 comments

Zsolangi880 Gmail.com

https://blog.cloudflare.com/organizations-beta/
1•hadrabad•21m ago•0 comments

Hacking Google Random Number Generator (Part 2)

https://ivanludvig.dev/tech/google-random-v2
1•IvanLudvig•23m ago•0 comments

Shipping React UI Fast Without Making a Mess

https://www.yashkapure.com/en/blog/shipping-react-ui-fast-without-making-a-mess/
1•yashkapure•25m ago•0 comments

Why the AI Revolution Is a Question About Human Nature, Not Technology

https://medium.com/@genady_awarelife/the-ai-revolution-is-not-about-technology-its-about-what-it-...
1•genadym•26m ago•0 comments

All your agents are going async

https://zknill.io/posts/all-your-agents-are-going-async/
1•zknill•35m ago•1 comments

ChangelogHub – changelogs of the software packages in one place

https://fatihky.github.io/clhub/
1•fatihky•36m ago•0 comments

'He is beyond psychiatric help' – the traumatic origins of JG Ballard

https://www.thetimes.com/culture/books/article/illuminated-man-life-death-worlds-jg-ballard-chris...
1•bookofjoe•41m ago•1 comments

MerJS: A Zig-native web framework that ships without Node

https://merlionjs.com
2•jedisct1•41m ago•0 comments

Lawsuits, licensing, and royalties are complicating 4K video support in gadgets

https://arstechnica.com/gadgets/2026/04/lawsuits-licensing-and-royalties-are-complicating-4k-vide...
2•zinekeller•46m ago•0 comments

Tesla owner uses emergency solar to trickle charge battery in desert

https://electrek.co/2026/04/18/tesla-model-x-solar-charging-atacama-desert-chile-pan-american-hig...
1•asymmetric•47m ago•0 comments

Show HN: AI Applyd – a bot that applies to jobs for you

https://aiapplyd.com/
2•sneefle•49m ago•2 comments

Tariff-refund portal is about to be America's hottest website

https://www.npr.org/2026/04/19/nx-s1-5786635/tariff-refunds-customs-ace-portal
1•geox•49m ago•0 comments

Building Immersive Stories with Timelines, 3D, and Layered Scenes

https://tympanus.net/codrops/2026/04/20/interactive-storytelling-for-the-web-building-immersive-s...
1•danielskogly•53m ago•0 comments

Idle CPU power management: cpuidle

https://www.cnx-software.com/2026/04/20/idle-cpu-power-management-cpuidle/
2•michelangelo•53m ago•0 comments

Reimagine Python Notebooks in the AI Era

https://mljar.com/blog/reimagine-python-notebook-in-ai-era/
2•pplonski86•53m ago•1 comments

Show HN: Overlapping Speaker Transcription Model

https://huggingface.co/Trelis/Chorus-v1
1•mcgov•56m ago•0 comments

Postgres copy-on-write branching explained

https://xata.io/blog/open-source-postgres-branching-copy-on-write
1•tee-es-gee•1h ago•0 comments

Show HN: Bridgerton Inspired Social Network

https://the-ton.vercel.app/login
1•vss01•1h ago•0 comments

Show HN: Malext.io is out – Database of malicious Chrome extensions

https://malext.io
1•toborrm9•1h ago•0 comments

Hospitals That Sue You for Getting Sick

https://healthcareuncovered.substack.com/p/hospitals-that-sue-you-for-getting
4•foolswisdom•1h ago•0 comments

Ask HN: Did Claude lowered its usage limits?

5•yu3zhou4•1h ago•1 comments