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

GitHub explains six February outages and fixes

https://github.blog/news-insights/company-news/github-availability-report-february-2026/
1•nkko•36s ago•0 comments

Show HN: GitAgent – An open standard that turns any Git repo into an AI agent

https://www.gitagent.sh/
1•sivasurend•3m ago•0 comments

Doom Running on Terminal

https://twitter.com/raphamorims/status/2032226817117937932
1•darkberry•6m ago•0 comments

Show HN: Vim-gramaculate: Vim grammar checker, powered by AI

https://github.com/ahalbert/vim-gramaculate
1•ahalbert4•8m ago•0 comments

Show HN: BirdDex – Pokémon Go, but with real life birds

https://birddex.co/
1•stellay•8m ago•0 comments

We Finally Know How Bumblebee Queens Can Survive Underwater for Days

https://www.sciencealert.com/we-finally-know-how-bumblebee-queens-can-survive-underwater-for-days
1•bookofjoe•8m ago•0 comments

Show HN: Cartero – A personalized, extensible news aggregator

https://github.com/dracarys18/cartero
1•dracarys18•11m ago•0 comments

Xbox Gaming Copilot (Beta)

https://www.xbox.com/en-US/gaming-copilot
1•debo_•12m ago•0 comments

KlongPy: PyTorch Back End and Autograd

http://www.klongpy.org/torch_backend/
1•tosh•12m ago•0 comments

The Great Rotation from Bits to Atoms

https://deadneurons.substack.com/p/the-great-rotation-from-bits-to-atoms
2•nr378•13m ago•0 comments

New chip lets robots see in 4D by tracking distance and speed simultaneously

https://techxplore.com/news/2026-03-chip-robots-4d-tracking-distance.html
2•Brajeshwar•17m ago•0 comments

A New Bigfoot Documentary Helps Explain Our Conspiracy-Minded Era

https://www.wsj.com/arts-culture/film/a-new-bigfoot-documentary-helps-explain-our-conspiracy-mind...
1•fortran77•17m ago•1 comments

Ask HN: How do you use Coding Agents/CLIs out of coding?

1•arbayi•20m ago•0 comments

Show HN: QKD eavesdropper detector using Krylov complexity-open source Python

https://github.com/quantumspiritresearch-crypto/qkd-krylov-detector
1•QuantumSpirit•22m ago•0 comments

What If We Stopped Chasing Fast Hardware and Optimized for Existing Hardware?

https://bensantora.com/posts/resourceful-computing-old-hardware/
1•taskset•22m ago•1 comments

Hockey Puck Mouse = Awful

https://worldofmatthew.com/videos/applemouse/
2•worldofmatthew•23m ago•0 comments

Show HN: ctk-applet – run Cut-the-Knot Java applets locally

https://github.com/joseluis/ctk-applet
1•joseluis•25m ago•0 comments

Lies I was Told About Collaborative Editing, Part 2: Why we don't use Yjs

https://www.moment.dev/blog/lies-i-was-told-pt-2
1•mvelbaum•28m ago•0 comments

AMD Hints at Big FP64 Increases in MI430X GPU as Ozaki Underwhelms

https://www.hpcwire.com/2026/03/13/amd-hints-at-big-fp64-increases-in-mi430x-gpu-as-ozaki-underwe...
4•rbanffy•28m ago•0 comments

Meta planning layoffs as AI costs mount: Reuters

https://www.cnbc.com/2026/03/14/meta-planning-sweeping-layoffs-as-ai-costs-mount-reuters.html
7•nova22033•29m ago•0 comments

Meta Outlines New MTIA Accelerator Roadmap for Its Next-Gen AI Compute Mix

https://www.servethehome.com/meta-outlines-new-mtia-accelerator-roadmap-for-its-next-gen-ai-compu...
2•rbanffy•29m ago•0 comments

Understanding OpenClaw by Building One

https://github.com/czl9707/build-your-own-openclaw
1•zane__chen•32m ago•3 comments

Show HN: Got tired of AI copilots just autocompleting, and built Glass Arc

4•Conquer01•33m ago•1 comments

Show HN: Pi Patterns: generate Images from slices of π

https://pi.yassi.dev/
1•yassi_dev•34m ago•0 comments

EyeDAR tech could give self-driving cars expanded radar perception

https://newatlas.com/automotive/eyedar-expanded-radar-perception/
2•Brajeshwar•36m ago•1 comments

Dylan Patel – Deep dive on the 3 big bottlenecks to scaling AI compute

https://www.dwarkesh.com/p/dylan-patel
3•kerim-ca•37m ago•0 comments

When building becomes cheaper than specifying, everything changes

https://thepmwhobuilds.substack.com/p/when-building-becomes-cheaper-than
2•ffernandesclaro•38m ago•3 comments

Show HN: Fastify's slow startup is an AJV problem – here's a drop-in fix

1•greatvenerable•39m ago•0 comments

Show HN: Lean-pq a typesafe PostgreSQL connector for lean

https://github.com/typednotes/lean-pq
1•ngrislain•40m ago•0 comments

Show HN: Built an AI ad generator and ran $9K of FB ads with it

https://admakeai.com/
3•mesmertech•40m ago•0 comments