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

Open-source energy system model for the ENTSOE Ten-Year Network Development Plan

https://open-tyndp.openenergytransition.org/
1•lyoncy•4m ago•0 comments

Learnings from 100K lines of Rust with AI (2025)

https://zfhuang99.github.io/rust/claude%20code/codex/contracts/spec-driven%20development/2025/12/...
1•pramodbiligiri•5m ago•0 comments

Google Just Killed Search as We Know It

https://www.thestateofbrand.com/news/google-just-killed-search-as-we-know-it
1•taubek•7m ago•1 comments

Artist with no technical experience stumbles upon the next generation of LLMs

1•itakechops•10m ago•0 comments

Carbon: open-source DNA foundation models with training code and data pipeline

https://huggingface.co/spaces/HuggingFaceBio/carbon-demo
1•victormustar•11m ago•0 comments

Cities: Skylines Uses a Stock-Market Analogy to Influence Gameplay

http://jkm.dev/posts/cities-skylines-trading-market/
2•birdculture•15m ago•0 comments

How Big Tech is harnessing the data of Indian factory workers to train robots

https://scroll.in/article/1092960/how-big-tech-is-harnessing-the-data-of-indian-factory-workers-t...
1•theletterf•15m ago•0 comments

Goodbye ChatGPT

https://alexieidingli.medium.com/goodbye-chatgpt-a60bcf6b7c5b
2•andsoitis•17m ago•1 comments

Bolt CEO let go of his HR team for creating problems that didn't exist

https://fortune.com/2026/05/19/bolt-ceo-ryan-breslow-cut-hr-department-causing-problems-fintech-s...
1•e2e4•19m ago•2 comments

Honeybee venom and melittin suppress growth in breast cancer (2020)

https://pubmed.ncbi.nlm.nih.gov/32923684/
1•blumomo•21m ago•0 comments

The Sky Heist

https://www.skyheist.me/
1•clivehays•32m ago•0 comments

Ask HN: How to make a mono-repo AI-Ready?

1•kasnaka•37m ago•0 comments

Velocipedia

https://www.gianlucagimini.it/portfolio-item/velocipedia/
2•vintagedave•38m ago•0 comments

PostgreSQL backup tool gets some backup of its own

https://www.theregister.com/databases/2026/05/20/postgresql-backup-tool-gets-some-backup-of-its-o...
2•jjgreen•42m ago•0 comments

Public have more fear than hope on AI and future of work, study finds

https://www.kcl.ac.uk/news/one-in-five-britons-think-ai-will-create-civil-unrest-study-finds
4•geox•43m ago•1 comments

Coding Slow Is Smooth, Coding Smooth Is Fast

https://daily.tinyprojects.dev/207
1•tinyprojects•44m ago•1 comments

Show HN: Kreuzberg Cloud – ultra fast content intelligence – in public beta

https://kreuzberg.dev
5•nhirschfeld•45m ago•4 comments

Show HN: Widget Cast – Video Widgets for Your iPhone and Apple Watch

3•kingofspain•50m ago•0 comments

Elevated radiation levels detected on Russian drone debris

https://unn.ua/en/news/elevated-radiation-levels-detected-on-russian-drone-debris-striking-elemen...
4•defly•51m ago•0 comments

The Fallacy of Levelized Cost and the Politics of Demand

https://systemsthinkingcollection.substack.com/p/sustainable-energy
2•InputName•57m ago•0 comments

Google Antigravity 2.0

https://antigravity.google/blog/introducing-google-antigravity-2-0
2•haizhung•58m ago•0 comments

The weird, wild story of humanity's obsession with gold

https://www.economist.com/culture/2026/05/14/the-weird-wild-story-of-humanitys-obsession-with-gold
2•andsoitis•1h ago•0 comments

Pay Attention – Jon Haidt's Commencement Address at NYU

https://www.theatlantic.com/ideas/2026/05/nyu-jonathan-haidt-commencement-speech/687168/
2•gladuz•1h ago•0 comments

Blood Pumping Mechanism of the Hoof

https://horses.extension.org/blood-pumping-mechanism-of-the-hoof/
2•thunderbong•1h ago•0 comments

Show HN: Agent thread – Share claude code and codex sessions as public links

https://agent-thread.com
2•pixxxel•1h ago•0 comments

Optimizing Your PowerShell $Profile

https://devblogs.microsoft.com/powershell/optimizing-your-profile/
2•ankitg12•1h ago•0 comments

"An (important) message from Infomaniak's founder"

7•netfortius•1h ago•1 comments

Google is rolling out its redesigned Workspace app icons

https://www.theverge.com/tech/932417/google-gmail-docs-cal-sheets-workspace-icon-redesign
2•xanthine•1h ago•2 comments

I Decided to Leave Mistral

https://twitter.com/Briviagra/status/2056975510731698188
2•defly•1h ago•2 comments

A small revolt against bloated software

https://www.f-rello.com/manifesto
2•karstenb•1h ago•0 comments