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!

Microsoft Struggling with AI-Discovered Security Bugs

https://www.propublica.org/article/anthropic-mythos-microsoft-software-vulnerabilities
1•tysone•4m ago•0 comments

Advancing Science by Designing for Surprise

https://www.science.org/doi/10.1126/science.aej4257
1•paraschopra•5m ago•0 comments

Parsers don't have to be complicated

https://bkaradzic.github.io/posts/scanner/
1•signa11•12m ago•0 comments

The Groundhog Trap – Multi-model consensus and AI output failover framework

https://github.com/RickyARojas/The-Groundhog-Trap
1•rarojas•13m ago•0 comments

LLMs and Shaders

https://amitp.blogspot.com/2026/07/llms-and-shaders.html
1•yurivish•14m ago•0 comments

Parse Italian CEE balance sheets into structured financial data in 30s

https://www.parsio.it/
1•Iry-star•16m ago•0 comments

Hierarchical File Systems are Dead (2009)

https://dash.harvard.edu/server/api/core/bitstreams/7312037c-92e6-6bd4-e053-0100007fdf3b/content
1•Tomte•16m ago•0 comments

Designing Balanced Dice

https://blog.colonist.io/balanced-dice-designing/
1•kamphey•20m ago•0 comments

KOReader

https://koreader.rocks/
2•Cider9986•22m ago•0 comments

RazTint: Semantic terminal output for Python CLIs

https://github.com/razbuild/raztint
1•realrazdev•24m ago•0 comments

An Ode to Deluxe Paint

https://www.datagubbe.se/dpaint/
1•Bluestein•24m ago•0 comments

Show HN: Easy MQTT Handler 2: multi platform desktop tray to Home Assistant glue

https://github.com/AtmanActive/easy-mqtt-handler-2
2•atmanactive•25m ago•1 comments

The AI Hype Index: Unsexy AI

https://www.technologyreview.com/2026/07/29/1140795/the-ai-hype-index-unsexy-ai/
2•joozio•26m ago•0 comments

Starling: The first real desktop written by AI

https://starling.build/
4•signa11•28m ago•1 comments

We Hardened an AI Security Platform Against 16 Critical Vulnerabilities

https://aegis-security.higgsfield.app
3•zdotbirch•32m ago•0 comments

Zoye AI – The CRM you don't need to open

https://www.zoye.io
3•anizeu•32m ago•0 comments

Regulation of tobacco by the U.S. Food and Drug Administration

https://en.wikipedia.org/wiki/Regulation_of_tobacco_by_the_U.S._Food_and_Drug_Administration
2•amarcheschi•33m ago•0 comments

Show HN: I used D3/React to transform raw GitHub data into an interactive map

https://github.com/ThierryRakotomanana/GitCharta
3•ThierryRakt•33m ago•0 comments

The Vanishing Page: AI Firms Scan Then Destroy Rare Book Editions

https://dallasexpress.com/national/the-vanishing-page-ai-firms-scan-then-destroy-rare-book-editions/
3•throw0101a•33m ago•0 comments

AI companies buy, scan, shred rare and out-of-print books

https://www.news.com.au/technology/online/internet/ai-labs-buy-scan-shred-millions-of-rare-books/...
3•throw0101a•35m ago•0 comments

History remembers two Robert McNamaras

https://indevelopmentmag.com/numbers-man/
3•salonium_•35m ago•0 comments

National Security Determination Threat Posed by Foreign-Produced Robotic Devices [pdf]

https://www.fcc.gov/sites/default/files/robots-nsd.pdf
14•ellingsworth•40m ago•3 comments

Claude Apps Gateway for AWS

https://aws.amazon.com/blogs/machine-learning/introducing-claude-apps-gateway-for-aws/
2•cebert•40m ago•0 comments

Show HN: Expose Your APIs to Agents Without Losing Control via Koodisi MCP

https://koodisi.com/blog/expose-your-apis-to-agents-without-losing-control
3•theashishmaurya•42m ago•0 comments

KotlinLLM Is Going Open Source

https://blog.jetbrains.com/research/2026/07/kotlinllm-open-source/
3•theanonymousone•45m ago•0 comments

Show HN: Roamr – a CLI that picks the best saved WiFi, and tells you why

https://github.com/sourabh-khot65/roamr
2•sourabh65•46m ago•0 comments

Google DeepMind Disbands AlphaFold Team as AI Strategy Shifts Toward Gemini

https://finance.yahoo.com/technology/ai/articles/market-chatter-alphabet-apos-google-093407849.html
3•theanonymousone•47m ago•1 comments

Tracked Capabilities for Safer Agents

https://martinodersky.substack.com/p/tracked-capabilities-for-safer-agents
2•odersky•48m ago•1 comments

C++ Simulator for Ordnance Penetrators/Kinetic Energy Strike Weapons

https://github.com/omid2007hope/MOP-Simulator
2•omid2007hope•48m ago•1 comments

Allies shrug as US pushes for Strait of Hormuz patrol

https://www.politico.com/news/2026/07/28/iran-us-strait-ofhormuz-allies-patrol-01013659
2•vrganj•50m ago•0 comments