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

What's Next? Clippy Copilot?

1•johnnyballgame•1m ago•0 comments

Social Signals 2025_v5

https://docs.google.com/presentation/d/1aSrP4Pojh7EZde8EZL5kTOH_DAY0SoXzEWF6o2RmFg4/edit?slide=id...
1•ericzawo•1m ago•0 comments

THEA1200 is a full-size working Amiga replica

https://www.theregister.com/2025/11/14/thea1200_fullsize_amiga_replica/
1•rbanffy•2m ago•0 comments

RIP Raul Malo (The Mavericks)

https://apnews.com/article/raul-malo-dies-mavericks-d31ac0c4e1a77c85fcd800f71f079eb7
1•pauseandplay•2m ago•0 comments

Shell permission errors for busy coding agents

https://www.da.vidbuchanan.co.uk/blog/agent-perms.html
1•cirwin•3m ago•0 comments

Show HN: Celeste – The 'Requests' for AI: Any provider, any capability

https://github.com/withceleste/celeste-python
1•Kamilbenkirane•3m ago•1 comments

A new nuclear 'island' where magic numbers break down

https://phys.org/news/2025-12-nuclear-island-magic.html
1•rbanffy•4m ago•0 comments

EU investigates Google over AI-generated summaries in search results

https://www.bbc.com/news/articles/crl95eg33k1o
3•hackerbeat•4m ago•0 comments

Pyrefly typechecker/language server now has experimental support for Pydantic

https://pyrefly.org/blog/pyrefly-pydantic/
1•javabster•5m ago•0 comments

We Improved Organization Invites to Keycloak

https://xata.io/blog/how-we-improved-organization-invites-to-keycloak
1•chuckhend•6m ago•0 comments

Apple's Slow AI Pace Becomes a Strength as Market Grows Weary of Spending

https://finance.yahoo.com/news/apple-slow-ai-pace-becomes-104658095.html
7•bgwalter•6m ago•1 comments

Big Tech joins the race to build the world's heaviest airplane

https://pluralistic.net/2025/12/09/temporarily-embarrassed-founders/
1•hn_acker•6m ago•0 comments

The world needs social sovereignty

https://blog.joinmastodon.org/2025/12/the-world-needs-social-sovereignty/
1•benwerd•9m ago•1 comments

What DocumentDB Means for Open Source

https://thenewstack.io/what-documentdb-means-for-open-source/
2•3littlefish•10m ago•0 comments

Is your AI system illegal in the EU?

https://medium.com/@lea.leumassart/is-your-ai-system-illegal-in-the-eu-heres-how-to-check-b92e2a5...
2•pbacdf•11m ago•0 comments

Show HN: Isogen – Lightweight AI Coding Tool (Rust and JavaScript, <50MB, BYOK)

https://slidebits.com/isogen
1•ojr•12m ago•0 comments

New Pebble Device

https://repebble.com/blog/meet-pebble-index-01-external-memory-for-your-brain
3•freshrap6•12m ago•0 comments

Fighting the Client Spaghetti Monster with Rust Traits

http://gnunicorn.org/writings/spaghetti-monster-clients-rust-traits-final-boss/
1•todsacerdoti•12m ago•0 comments

LA Parents say school-issued iPads and Chromebooks cause chaos

https://www.nbcnews.com/tech/tech-news/la-parents-kids-school-issued-ipad-chromebook-los-angeles-...
1•speckx•13m ago•0 comments

Show HN: Gemini Pro 3 Hallucinates the HN Front Page 10 Years from Today

https://dosaygo-studio.github.io/hn-front-page-2035/news
1•keepamovin•14m ago•1 comments

AI order: Fight over artificial intelligence rules continues

https://www.usatoday.com/story/news/politics/2025/12/08/trump-federal-ai-rule-restrict-states/876...
1•gmays•14m ago•0 comments

Firefox 146 Now Available with Native Fractional Scaling on Wayland

https://www.phoronix.com/news/Firefox-146-Released
2•signa11•14m ago•0 comments

From Books to Wikipedia. From Wikipedia to ChatGPT

https://powerplatformnews.substack.com/p/from-books-to-wikipedia-from-wikipedia
1•puskark4•15m ago•1 comments

How the variability of coffee harvests can teach us about sustainable farming

https://phys.org/news/2025-11-sociology-ecology-variability-coffee-harvests.html
1•PaulHoule•16m ago•0 comments

Show HN: A 3-Tool ETL Pipeline for CSV/TSV/Excel/Parquet in Go

2•mimixbox•16m ago•0 comments

Addressing Linux's Missing PKI Infrastructure

https://discourse.ubuntu.com/t/addressing-linuxs-missing-pki-infrastructure/73314
2•_____k•17m ago•0 comments

Stellantis partners with Bolt for 2026 Europe driverless trials

https://www.reuters.com/business/autos-transportation/stellantis-partners-with-bolt-2026-driverle...
2•database_lost•17m ago•0 comments

Zig asserts are not C asserts

https://cryptocode.github.io/blog/docs/assert/
2•signa11•18m ago•0 comments

The baby whose life was saved by the first personalized CRISPR therapy

https://www.nature.com/articles/d41586-025-03847-2
1•Brajeshwar•18m ago•0 comments

Autofocus glasses watch your eyes, and shift their focus accordingly

https://newatlas.com/wearables/ixi-autofocus-eyeglasses/
2•Brajeshwar•18m ago•0 comments