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!

Build a Browser Extension with Jev

https://medium.com/towards-artificial-intelligence/build-a-browser-extension-with-jev-22e026255cb7
1•cadeos•2m ago•0 comments

PostMCP – Turn any OpenAPI spec into a context-optimized MCP server

https://github.com/braveram/postmcp
1•plxor•6m ago•0 comments

Trained KV cache bank turns any LLM into Jev like Model

https://gambler-relay-us-west1.leo-fish.ts.net/demo
1•faangguyindia•8m ago•2 comments

My German Exit Tax: 13 Tax Advisors, 1.5 Years, 18.7k€ to leave the country

https://eidel.io/posts/my-german-exit-tax-13-tax-advisors-1-5-years-18-7k-to-be-able-to-leave-the...
2•olieidel•10m ago•1 comments

The Alien Signal That Looked Intelligent [video]

https://www.youtube.com/watch?v=NmCRQPITE2g
1•binyu•11m ago•0 comments

Zipf's law

https://en.wikipedia.org/wiki/Zipf%27s_law
2•binyu•13m ago•0 comments

Show HN: Codex Reset – A tracker for public Codex reset signals

https://codexreset.live
1•Jiangshan•16m ago•0 comments

Claude Microfactory

https://claude.ai/artifact/7nCPrrWTcQsWFfkXFRHDLR
1•jaksa•17m ago•1 comments

London buses in decline? Why public transport in global cities is slowing

https://www.theguardian.com/uk-news/ng-interactive/2026/sep/23/london-buses-in-terminal-decline-w...
3•world2vec•19m ago•0 comments

Longtime SUSE staff asked if they'd opt for 'voluntary separation'

https://www.theregister.com/software/2026/09/22/longtime-suse-staff-asked-if-theyd-opt-for-volunt...
1•pelasaco•19m ago•0 comments

Nemotron-H: A Family of Accurate, Efficient Hybrid Mamba-Transformer Models

https://research.nvidia.com/labs/adlr/nemotronh/
1•Bluestein•22m ago•0 comments

Show HN: What's Next – make Claude Code respond with choice, not prose

https://github.com/kvitapp/kvit-plugins
1•skolos•23m ago•0 comments

Enables Nvidia DLSS Frame Generation (DLSS-G) on RTX 30-series and RTX 20-series

https://github.com/sdli1995/dlssg_for_sm86
2•metrofun•24m ago•0 comments

Show HN: ToolRoots, local alternatives to the tools you use

https://toolroots.com
1•drdruide•26m ago•0 comments

Qwen-Audio-3.1-TTS

https://fun-resource-shanghai.oss-cn-shanghai.aliyuncs.com/cuijiayan.cjy/tmp/exp/qwen_audio_3_tts...
1•nthypes•26m ago•0 comments

Tokens Too Cheap to Meter

https://jyn.dev/tokens-too-cheap-to-meter/
2•teoruiz•27m ago•0 comments

MNT Station – A modular, open hardware desktop computer and server

https://www.crowdsupply.com/mnt-research/mnt-station
1•birdculture•29m ago•0 comments

Directus The back end for your whole team

https://directus.com/
1•Bluestein•31m ago•0 comments

Next version of OpenClaw uses a decision model to decide between steer or queue

https://twitter.com/steipete/status/2102667004557832497
1•tosh•33m ago•0 comments

Show HN: A running app that turns your runs to a garden

https://apps.apple.com/us/app/run-tracker-run-grow/id6745428070
1•Utkarshn101•35m ago•0 comments

Positive emotions toward AI outweigh negative ones in 34 out of 37 countries

https://news.gallup.com/poll/714593/optimism-globally-widespread-despite-uneven.aspx
2•giuliomagnifico•36m ago•0 comments

Netherlands bracing for potentially devastating US sanctions against the ICC

https://apnews.com/article/icc-trump-sanctions-eu-israel-netherlands-2c1cc314732f920c2de59396d3b5...
39•vrganj•38m ago•1 comments

A New DNA Analysis May Solve the Centuries-Old Medici Mystery

https://www.smithsonianmag.com/smart-news/did-this-duke-poison-his-brother-a-new-dna-analysis-may...
2•thunderbong•51m ago•0 comments

Oryn, an ultra fast compact decision model

https://huggingface.co/timosarkar/oryn
2•timosarkar•52m ago•0 comments

Agent-Shell 0.78 Updates

https://xenodium.com/agent-shell-0-78-updates
1•xenodium•52m ago•0 comments

Synchrony AI – AI Powered Investment Research and Portfolio Management Platform

https://www.synchrony-ai.com
1•emmanuelcooke•55m ago•0 comments

Responsive Iframes in Chrome 154

https://developer.chrome.com/blog/responsive-iframes
3•twapi•57m ago•0 comments

Trump TV Flops in Embarrassing Numbers Disaster

https://www.thedailybeast.com/trump-tv-immediately-flops-in-embarrassing-numbers-disaster/
4•doener•57m ago•0 comments

New U.S. sanctions against the ICC threaten European sovereignty

https://ioplus.nl/en/posts/new-us-sanctions-against-the-icc-threaten-european-sovereignty
5•doener•58m ago•1 comments

Using shallow-Git tarballs for CI

https://people.kernel.org/monsieuricon/using-shallow-git-tarballs-for-ci
1•garo-pro•59m ago•0 comments