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!

Resend overtook SendGrid+Mailgun+Postmark+Mailjet combined on indie launches

https://stackscope.dev/blog/state-of-indie-launches-april-2026
1•stackscope•23s ago•0 comments

Amsterdam bans public adverts for meat and fossil fuels

https://www.bbc.com/news/articles/c9wejdekpwyo
1•mr_toad•3m ago•0 comments

SoftBank plans to list new AI and robotics company in the US

https://www.ft.com/content/55c7d99c-7e68-453c-b784-33d6b9838e16
1•JumpCrisscross•4m ago•0 comments

Circuitiny: AI-assisted circuit design tool for hobbyists

https://github.com/mfranzon/circuitiny
1•mfranzon•4m ago•0 comments

Redis new Array type PR and request for feedbacks

https://github.com/redis/redis/pull/15162
1•antirez•4m ago•0 comments

Heat pump sales jump as consumers recoil at high fossil fuel prices

https://www.ft.com/content/571e9cc4-1b32-49ef-bc82-e550e9404d8f
1•JumpCrisscross•5m ago•0 comments

The A.I. Industry Is Booming. When Will It Make Money?

https://www.newyorker.com/news/the-financial-page/the-ai-industry-is-booming-when-will-it-actuall...
1•geox•6m ago•0 comments

Why the Ideal Magnet Remains Out of Reach

https://spectrum.ieee.org/rare-earth-free-magnets
1•pseudolus•12m ago•0 comments

Iarpa Trojans in Artificial Intelligence

https://arxiv.org/abs/2602.07152
1•hlynurd•12m ago•0 comments

Advice I WISH I'D BEEN Told (1999)

http://web.archive.org/web/20090502012411/http://wwwstage.valpo.edu/english/vpr/mcdonaldessay.html
1•downbad_•13m ago•1 comments

Family data reveal two genetic paths to childhood depression and anxiety

https://medicalxpress.com/news/2026-04-family-reveal-genetic-paths-childhood.html
1•pseudolus•16m ago•0 comments

More than double the gas stuck in Hormuz is wasted each year, IEA says

https://www.ft.com/content/fdc6aa8a-538a-4f1d-b1b9-a0ce0cd2a5ac
2•JumpCrisscross•18m ago•0 comments

Kant: Was Ist Aufklärung?

https://www.hs-augsburg.de/~harsch/germanica/Chronologie/18Jh/Kant/kan_aufk.html
2•doener•20m ago•1 comments

Show HN: Valk Guard– Catches dangerous SQL hidden inside your ORM,no DB required

https://github.com/ValkDB/valk-guard
1•valkdb•21m ago•0 comments

Why do so many people use AI to cheat at fun?

https://www.thecut.com/article/would-you-use-chatgpt-to-cheat-at-hobbies.html
1•the-mitr•22m ago•0 comments

Reviving the internet radio in my 12-year-old Denon

https://victorantos.com/posts/i-bought-a-denon-for-my-wedding-then-i-vibe-coded-its-radio-back/
2•victorbuilds•23m ago•0 comments

GitHub (But It's a EU Project)

https://pinolallo.com/html/eurohub-demo.html
4•HipstaJules•25m ago•0 comments

Shoppers falsely identified by facial recognition struggle to clear their names

https://www.theguardian.com/technology/2026/may/03/guilty-until-proven-innocent-shoppers-falsely-...
1•rwmj•26m ago•0 comments

AI-Generated Code Has No Author – Ossature Blog

https://ossature.dev/blog/ai-generated-code-has-no-author/
1•lifeisstillgood•26m ago•0 comments

United flight collides with truck and light pole as it lands at Newark airport

https://www.cnn.com/2026/05/03/us/united-airlines-newark-truck-streetlight
2•blendergeek•27m ago•0 comments

The Arena of Seperation

https://drive.google.com/drive/folders/1LhbVuK--98o6UsyiCzTjQ3yxQb3VjWce?usp=sharing
1•thepppanda•28m ago•1 comments

10K+ Satellites in Space

https://tech.marksblogg.com/gcat-satellite-database.html
1•marklit•28m ago•1 comments

Agent Skill Pack: Market and Marketing and Monetization (9 and 2 Skills)

https://8253360822677.gumroad.com/l/beamer-agent-skills-market-marketing-monetization
1•davidvartanian•29m ago•0 comments

Ouster's new color Lidar is coming to replace cameras

https://techcrunch.com/2026/05/04/ousters-new-color-lidar-is-coming-to-replace-cameras/
1•jacobwiseberg•31m ago•0 comments

The wild life and brutal death of a crypto hustler

https://thelogic.co/news/the-big-read/kevin-mirshahi-bitcoin-cryptocurrency-influencer-murder/
2•pseudolus•33m ago•0 comments

Speed of Implementation and the Law of Shitty Click Throughs

https://taylorpearson.me/ctr/
1•rzk•33m ago•0 comments

May the Fourth Be with You

2•emreb•34m ago•0 comments

Show HN: Pictero.com – mostly browser based image toolbox

https://www.pictero.com/
1•y42•35m ago•0 comments

Prototype Fund is a funding program for innovative Open Source Software

https://www.prototypefund.de/en/
1•snowpid•38m ago•0 comments

Show HN: Pokelingo – guess the Pokémon from its Pokédex entry in target language

https://pokelingo.io/en/riddle/
1•itsprobablyme•39m ago•3 comments