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!

Coost v4.0.0 Released

https://github.com/idealvin/coost/releases/tag/v4.0.0
1•idealvin•7m ago•0 comments

Is Shipd.ai (Datacurve) Legit?

https://shipd.ai
1•underscoremark•13m ago•1 comments

Hedge Funds Are the Wild Card in the Turbulent Bond Market

https://www.wsj.com/finance/investing/bond-markets-hedge-funds-003c6ea8
1•kaycebasques•14m ago•0 comments

Have you noticed any changes in the way people communicate now we have chatbots?

2•totetsu•14m ago•0 comments

The Breaks – A Breaking Encyclopedia

https://thebreaks.org/index.html
1•bryanrasmussen•18m ago•0 comments

Mom-as-a-Service

https://www.momasaservice.com/
1•edest28build•21m ago•1 comments

PowerContext, Context for work that humans and agents hand off and continue

https://github.com/oceanbase/powercontext
1•jinqueeny•26m ago•0 comments

Microsoft AI Publishes Its Humanist AI Code of Conduct

https://microsoft.ai/code-of-conduct/
1•CoderLim110•27m ago•0 comments

Volkswagen Mission Efficiency Sets 3 World Records

https://autoindiadaily.in/car-news/volkswagen-mission-efficiency-revealed/
1•snikolaev•29m ago•1 comments

XProtect behavioral flop: the Golden Gasp

https://melomac.com/posts/xprotect-behavioral-flop-the-golden-gasp/
1•lladnar•30m ago•0 comments

Show HN: Daemon OS – An intelligence layer for infrastructure

https://daemon-os.lebarionellison.workers.dev
1•lellison1•36m ago•0 comments

We are all Product Engineers now

https://seldo.com/posts/we-are-all-product-engineers-now/
4•vinhnx•37m ago•1 comments

The Hardness of 4-to-1 Games with Perfect Completeness

https://eccc.weizmann.ac.il/report/2026/179/
1•momeara•37m ago•0 comments

Purely Functional Operating Systems

https://eighty-twenty.org/2022/06/23/henderson-functional-operating-systems-1982
1•vinhnx•38m ago•0 comments

DeepMind's new genome 'atlas' charts effects of all 9B human gene mutations

https://www.nature.com/articles/d41586-026-02835-4
1•jonbaer•39m ago•0 comments

METR Anthropic Network

https://twitter.com/kevinnbass/status/2099621874279817638
3•andrewljohnson•39m ago•0 comments

One Pass to Parse Them All: Fused Parallel CSV Processing [pdf]

https://www.vldb.org/pvldb/vol19/p3579-ellmann.pdf
1•cpard•40m ago•0 comments

India's Dedicated Freight Corridor's last mile challenge

https://finshots.in/archive/the-dedicated-freight-corridors-last-mile-challenge/
1•vismit2000•51m ago•0 comments

Mouse

https://github.com/mousedev/mouse-harness/tree/main
2•Aeroi•51m ago•0 comments

CrofAI Is an OpenRouter Wrapper

https://kendell.dev/blog/crofaifalse/
1•wut42•53m ago•0 comments

Internet Guestbooks: The Rise, Decline, and Afterlife

https://curiouxify.com/internet-guestbooks/
1•mastazi•54m ago•0 comments

An open-source interactive 3D PC Anatomy explore what's inside a computer

https://pc-anatomy.vercel.app/
1•Zeruxe•54m ago•1 comments

Does Scaling Web-Video Pre-Training Help Real Robots Do Real Work?

https://www.rhoda.ai/research/scaling-web-video-pretraining
2•gmays•54m ago•0 comments

The Physical Agent Harness: a portable interface to persistent agents

https://rashidazarang.com/c/the-physical-agent-harness
2•rashidae•57m ago•0 comments

Air Force secretary acknowledges the US has weapons in space

https://abcnews.com/Politics/air-force-secretary-acknowledges-us-weapons-space/story?id=136437923
2•SanjayMehta•57m ago•0 comments

World AI Cooperation Organization

https://en.wikipedia.org/wiki/World_Artificial_Intelligence_Cooperation_Organization
1•soundworlds•58m ago•1 comments

Show HN: Day week calendar app inspired by the French Revolutionary calendar

https://github.com/OlegIGalkin/tendayweekcalendar
1•cantouch•1h ago•0 comments

US-China AI strategic planning

https://sinocism.com/p/us-china-strategic-ai-dialogue-said
2•neptunetriton•1h ago•0 comments

The harms of short-form video on the brain are starting to show

https://www.theguardian.com/commentisfree/2026/sep/14/zuckerberg-short-form-video-cognitive-harm
3•pizzaiolo•1h ago•0 comments

I worked at Google DeepMind. You should listen to the warnings about AI

https://www.theguardian.com/technology/2026/sep/14/google-deepmind-ai-warnings
5•gibspaulding•1h ago•1 comments