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!

JitAPI – An MCP server for dynamic tool discovery (34x fewer tokens)

https://github.com/nk3750/jitapi
1•peaknk•1m ago•0 comments

Everything Wrong with Material 3 Expressive (2025)

https://xylight.dev/posts/everything-wrong-with-m3e
2•Velocifyer•2m ago•0 comments

The last human profession will be

https://hundredmondays.substack.com/p/the-last-human-profession-will-be
1•capnchaos•3m ago•0 comments

Nixcache-oci: Use GHCR as a Nix binary cache

https://github.com/cmspam/nixcache-oci
1•n8henrie•3m ago•0 comments

Show HN: I Built Paul Graham's Intellectual Captcha Idea

https://mentwire.com/sample
2•nowflux•3m ago•0 comments

'Treasure trove' of antiviral proteins could inspire powerful molecular tools

https://www.nature.com/articles/d41586-026-01011-y
2•prabal97•4m ago•0 comments

I am thinking of open sourcing my medical information as an LLM wiki – advice?

2•kranke155•4m ago•0 comments

The 20-Year-Old Chess Prodigy Laying Waste to the Top Grandmasters

https://www.wsj.com/sports/javokhir-sindarov-candidates-tournament-chess-9a50a66a
1•tortilla•4m ago•0 comments

I Built a Functional Cognitive Engine

https://github.com/youngbryan97/aura
1•bryanyoung97•6m ago•0 comments

Launch HN: Freestyle: Sandboxes for AI Coding Agents

https://www.freestyle.sh
2•benswerd•7m ago•0 comments

Tell HN: Google bot suspended our startup's email with 0 human recourse

1•FounderLindsay•8m ago•1 comments

Show HN: Pg_kazsearch – Full-text search for Kazakh in PostgreSQL

https://github.com/darkhanakh/pg-kazsearch
2•darkhanakh•9m ago•1 comments

Sum Ergo Demonstro

https://linusakesson.net/scene/sum-ergo-demonstro/index.php
2•adunk•10m ago•0 comments

No KYC Casino and Cold Wallet: The Ultimate Anonymous Gambling Setup 2026

https://playonstake.eu/blog/no-kyc-casino-cold-wallet-the-ultimate-anonymous-gambling-setup-2026
1•onedah•11m ago•0 comments

Artemis II, Apollo 8, and Apollo 13

https://www.johndcook.com/blog/2026/04/02/artemis-apollo/
2•ibobev•12m ago•0 comments

Hyperbolic Version of Napier's Mnemonic

https://www.johndcook.com/blog/2026/04/02/hyperbolic-napier-mnemonic/
1•ibobev•12m ago•0 comments

We built a unified API for EHR integrations

https://www.usecobalt.com/
1•bryanmillstein•12m ago•0 comments

Play Is Winding Down

https://createwithplay.com/play-update-2
1•edude03•14m ago•1 comments

Top Level System – A modular C microkernel with 50 hot-loadable modules

https://github.com/garacil/TopLevelSystem
2•tecnoxarxa•15m ago•1 comments

You're measuring code coverage wrong

https://getotterwise.com/blog/you-are-measuring-code-coverage-wrong
2•lasserafn•15m ago•0 comments

Jeevanyatra – The Human Lifecycle as a 7-State Finite State Machine

https://prachi.onslate.in/
1•buddhahastha•15m ago•0 comments

Show HN: GovAuctions lets you browse government auctions at once

https://www.govauctions.app/
2•player_piano•18m ago•0 comments

Show HN: NfcGuard – Block distracting apps with NFC tags

https://github.com/Andebugulin/nfcGuard
1•Andebugulin•18m ago•0 comments

Show HN: Orchestrating AI into reviewable PRs you can reason about

https://github.com/ninthwave-sh/ninthwave
1•roblambell•19m ago•0 comments

A NAS appliance built on bcachefs

https://github.com/nasty-project/nasty
2•khajdamowicz•21m ago•1 comments

US-Iranian War: a best case scenario

https://kamilkazani.substack.com/p/us-iranian-war-a-best-case-scenario
3•enaaem•21m ago•0 comments

Molecule in Python blood could pave way for new obesity drugs, scientists say

https://www.theguardian.com/science/2026/mar/19/molecule-python-blood-metabolism-obesity-weight-l...
2•PaulHoule•23m ago•0 comments

I Replaced Kafka, Redis, and RabbitMQ with One Tool – A Deep Dive into NATS

https://medium.com/@jainal/i-replaced-kafka-redis-and-rabbitmq-with-one-tool-heres-what-i-learned...
4•jainal09•23m ago•0 comments

An Actual Alternative to Originalism

https://www.scotusblog.com/2026/04/an-actual-alternative-to-originalism/
1•Tomte•23m ago•0 comments

81yo Dodgers fan can no longer get tickets because he doesn't have a smartphone

https://twitter.com/Suzierizzo1/status/2040864617467924865
47•josephcsible•24m ago•21 comments