frontpage.
newsnewestaskshowjobs

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!

We Are the Bootloader: Transitioning to Intelligent Systems

https://marutp.substack.com/p/we-are-the-bootloader-transitioning
1•mwiki•1m ago•0 comments

Ethereum Gets Top Marks in Parano1d 101

https://ethresear.ch/t/ethereum-lessons-from-a-live-end-to-end-pq-proof-native-protocol/25730
2•notsatoshinotsa•3m ago•1 comments

Hysenlabs

https://hysenlabs.com/en
1•yanpinquan•5m ago•0 comments

I was wrong about Rust on the web [video]

https://www.youtube.com/watch?v=HfRQjix9tU4
1•auraham•6m ago•0 comments

List Your SaaS

https://goodsaas.xyz/
1•lux_revelare•8m ago•0 comments

Should Developers Design?

https://blog.webb.page/WM-104
1•NetOpWibby•9m ago•0 comments

Cloudflare's 2026 Annual Founders' Letter

https://blog.cloudflare.com/cloudflares-2026-annual-founders-letter/
1•willx86•9m ago•0 comments

Reducing .NET AWS Lambda Cold Starts by Adding Memory

https://www.lloydatkinson.net/posts/2026/reducing-dotnet-aws-lambda-cold-starts-by-increasing-mem...
1•theanonymousone•9m ago•0 comments

SeedRouter – One API for LLM, image and video models

https://seedrouter.ai
1•xbaicai•14m ago•0 comments

Researchers Propose Searching the Moon for Microscopic Technosignatures

https://www.seti.org/news/researchers-propose-searching-the-moon/
1•geox•14m ago•0 comments

Coligny Calendar: Gallo-Roman Astronomy

http://www.wasteflake.com/tiki-read_article.php?articleId=46
1•Mr_Minderbinder•15m ago•0 comments

Pragmatic Anthropomorphism, Or: How to Talk to an Autocompleting Cricket

https://blog.lmorchard.com/2026/09/27/pragmatic-anthropomorphism/
2•nizarmah•16m ago•0 comments

Publish facts AI agents can trust, instead of what they scraped

https://profiles.skin/
1•ralphdelblanco•18m ago•0 comments

Show HN: I made my childhood dream come true today, Opus did it

https://twitter.com/riderashgame/status/2103862325455519907
1•testingsaket•18m ago•0 comments

Show HN: FAB – A benchmark for AI agents doing financial due diligence

https://github.com/SecondState-ai/finance-agents-benchmark
1•ELAmrani•18m ago•0 comments

Ask HN: Using AI to develop software while being Anti-AI

1•emn4tor•23m ago•0 comments

Using AI to develop software while being Anti-AI

2•emn4tor•24m ago•1 comments

How to make – and keep – friends as a grownup, according to science

https://www.cnn.com/2026/09/27/health/make-keep-friends-grownup-wellness
1•theanonymousone•25m ago•0 comments

Switzerland rejects stricter interpretation of its neutrality

https://www.bbc.com/news/articles/cm750plvwy9vo
1•theanonymousone•25m ago•0 comments

Weird Machines in Transport Layer Security

https://arxiv.org/abs/2608.13685
1•suhacker256•29m ago•0 comments

Claude Isn't Allowed to Write Me Prose

https://blog.kvit.app/posts/agent-not-allowed-to-write-prose/
1•skolos•31m ago•0 comments

Minecraft is getting its first new dimension in 14 years, called The Sift

https://www.eurogamer.net/minecraft-the-sift-new-dimension-2027
1•mikhael•34m ago•0 comments

Show HN: I Made Agent Office

https://github.com/alminisl/agent-office
1•Ilikeruby•34m ago•1 comments

My hometown shows that high streets have to change or die

https://www.bbc.com/news/articles/crd689de186jo
1•tagawa•35m ago•0 comments

Show HN: A whimsigoth-themed webapp for making relationship date plans

https://build-a-date.cals.cafe/
2•callumgare•37m ago•2 comments

Equal Rights Amendment

https://en.wikipedia.org/wiki/Equal_Rights_Amendment
2•dataflow•39m ago•0 comments

JSON with Comments

https://jsonc.org/
2•notRobot•39m ago•0 comments

Where Fixing Things Becomes a Threat

https://medium.com/@gurvinder372/article-23-where-fixing-things-becomes-a-threat-c5ee5e06fe5b
1•gps372•41m ago•0 comments

LLM capabilities can transfer through unrelated text

https://github.com/myboker/ATD
1•zzy0110•41m ago•0 comments

Show HN: Bounded Loops and Graphs

https://github.com/qualixar/bounded-loops
1•vpbhardwaj•45m ago•0 comments