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!

Datafly – data agent that automatically understands any database you connect

https://github.com/dkeviv/datafly
1•aichelles•1m ago•1 comments

Apple's New MacBooks Have a Keyboard Change You Might Have Missed

https://www.macrumors.com/2026/03/10/macbook-keyboard-change/
2•samsolomon•2m ago•0 comments

Show HN: Principled Agentic Software Development

https://www.joegaebel.com/articles/principled-agentic-software-development/
1•joegaebel•4m ago•0 comments

Lynas locks Japanese rare earths deal

https://www.australianmining.com.au/lynas-locks-japanese-rare-earths-deal/
1•dwd•10m ago•1 comments

Ask HN: Getting Someone at Facebook to Listen

1•ccleve•13m ago•1 comments

Ohio judge rules that Kalshi is sports betting and must adhere to state law

https://www.nbcnews.com/news/us-news/ohio-judge-rules-kalshi-sports-betting-must-adhere-state-law...
2•petethomas•15m ago•1 comments

The Beginning of History

https://www.wheresyoured.at/the-beginning-of-history/
1•elorant•19m ago•0 comments

Game Modding with GenAI: A Case Study of Stardew Valley Character Maker

https://arxiv.org/abs/2507.13951
1•azhenley•27m ago•0 comments

Cybertruck Tried to Drive 'Straight Off an Overpass' Attorney Claims

https://www.404media.co/cybertruck-tried-to-drive-straight-off-an-overpass-attorney-claims/
6•malshe•28m ago•1 comments

The History of Stoner.com

https://ron.stoner.com/The_History_Of_Stoner_._com/
1•tinkelenberg•30m ago•0 comments

Wero announces the launch of its ecommerce solution in

https://epicompany.eu/media-insights/wero-announces-launch-ecommerce-in-belgium
1•absqueued•30m ago•0 comments

Building Kepler

https://www.astronomer.io/blog/building-kepler-astronomer-internal-data-assistant/
1•tayloramurphy•32m ago•0 comments

A 1,300-pound NASA spacecraft to re-enter Earth's atmosphere

https://www.bbc.com/news/articles/cd9gwdgg38vo
1•reconnecting•34m ago•0 comments

At what level of deep context engineering does AI output become human-crafted?

1•svstoyanovv•36m ago•0 comments

State of AI 2026: The $600B inference subsidy, energy bottlenecks, and labor

https://lostframe.ai/research
1•willtaubenheim•38m ago•1 comments

Tell HN: Vertical tabs has arrived (behind a flag) in Chrome stable

3•crummy•39m ago•0 comments

Ask HN: Is Starlink still being jammed in Iran?

1•Jblx2•39m ago•1 comments

RoqueOS – an OS to control your homelab (now on the Apple App Store)

https://roqueos.com.br/
1•roqueribeiro•40m ago•1 comments

SSH Is the Agent Internet

https://rolandsharp.com/ssh-is-the-agent-internet/
1•epscylonb•46m ago•0 comments

Show HN: Mumpix – Local-first AI infrastructure and $1B developer grant

https://mumpixdb.com/mumpix-billion-program.html#claim
1•carreraellla•46m ago•1 comments

MPs give ministers powers to restrict Internet

https://www.openrightsgroup.org/press-releases/mps-give-ministers-powers-to-restrict-entire-inter...
2•Jigsy•49m ago•0 comments

Amazon Cognito and FusionAuth Comparison

https://fusionauth.io/blog/amazon-cognito-and-fusionauth-comparison
1•mooreds•50m ago•0 comments

Updating yes(1) to run at 175GiB/s

https://github.com/coreutils/coreutils/commit/2b1c059e6
1•pixelbeat__•51m ago•0 comments

Log4j – Addressing AI-slop in security reports

https://github.com/apache/logging-log4j2/discussions/4052
1•tchalla•51m ago•0 comments

Mesa

https://docs.mesa.dev/content/getting-started/introduction
2•handfuloflight•53m ago•0 comments

Bay Area man gets 11 years for $1B solar Ponzi scheme

https://www.sfgate.com/bayarea/article/bay-area-ponzi-scheme-22063096.php
3•randycupertino•55m ago•0 comments

The State of Video Gaming in 2026 (Early Access Edition)

https://www.matthewball.co/all/presentation-the-state-of-video-gaming-in-2026
1•doener•57m ago•1 comments

Think Twice Before Buying or Using Meta's Ray-Bans

https://www.eff.org/deeplinks/2026/03/think-twice-buying-or-using-metas-ray-bans
6•hn_acker•1h ago•2 comments

Anthropic gives lesson in AI revenue hallucination

https://www.reuters.com/commentary/breakingviews/anthropic-gives-lesson-ai-revenue-hallucination-...
2•latinodev•1h ago•2 comments

Production query plans without production data

https://boringsql.com/posts/portable-stats/
3•birdculture•1h ago•0 comments