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!

Counting Until the End of the Universe

https://essenceia.github.io/projects/until_heat_death_do_us_part/
1•random__duck•5m ago•1 comments

ContainerUtility: A macOS app for the container CLI

https://github.com/erdaltoprak/ContainerUtility
2•erdaltoprak•7m ago•0 comments

Living subscription-free in my brain

https://mapwriting.substack.com/p/living-subscription-free-in-my-brain
1•doitLP•8m ago•0 comments

Exploiting LLM Agent Supply Chains via Payload-Less Skills

https://arxiv.org/abs/2605.14460
1•_pdp_•10m ago•0 comments

Show HN: Apple Foundation Model in Xcode-Beta

https://gist.github.com/voxels/b6ea737dd127745f9af009ebd038ded4
1•edgcumbe•12m ago•0 comments

Omegacode: Code based orchestration for any coding agent

https://github.com/Sawyerhood/omegacode
1•handfuloflight•16m ago•0 comments

3D Airplane tracker on Mercator map

https://github.com/jamalrfordii-arch/Vanguard-Map
1•Lawyer24•18m ago•0 comments

Show HN: Desunofier – Removing shimmer from Suno songs

https://www.instasong.co/tools/desunofier
1•stanyy•18m ago•0 comments

Invisible Cities: The Legal Analysis of Space Based Solar Power

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6881678&__cf_chl_f_tk=hLQWAnW2Nv4B5PaV4xX16mF...
1•Lawyer24•19m ago•0 comments

GPT-5.5 Codex reasoning-token clustering may be leading to degraded performance

https://github.com/openai/codex/issues/30364
13•maille•20m ago•1 comments

Australian influencer Lily Jay's tangled web of AI manipulation

https://www.abc.net.au/news/2026-07-05/lily-jay-foundation-posts-ai-generated-misleading-videos/1...
1•phs318u•20m ago•0 comments

Global scammers use US tech to fleece people

https://apnews.com/article/scams-fraud-technology-ai-impostor-scam-phishing-12f549d5203abd38857c4...
4•jethronethro•22m ago•0 comments

Edeward Neumeier talks about 'RoboCop'

http://www.money-into-light.com/2013/07/edward-neumeier-talks-about-robocop.html
1•firasd•23m ago•0 comments

Taking the Temperature of Black Holes(2019)

https://www.bbc.com/news/uk-scotland-47773553
1•rolph•27m ago•0 comments

Tea-dash – a gh-dash-style terminal dashboard for Gitea and Forgejo

https://github.com/gbarany/tea-dash
1•gbarany•29m ago•0 comments

Show HN: Markdown to PDF CLI Tool

https://github.com/leonardosalasd/doc-engine-cli
2•leonardosalasd•33m ago•1 comments

My AI-built PHP engine in Rust passes 17% of PHP-src tests, renders WordPress

https://ekinertac.com/blog/i-dont-know-rust-my-ai-is-rewriting-php-in-it/
1•ekinertac•35m ago•0 comments

GoDaddy argues India's fake site crackdown could damage internet

https://www.reuters.com/world/worlds-biggest-domain-seller-fears-indias-fake-site-crackdown-could...
4•1vuio0pswjnm7•39m ago•1 comments

Small, odd, fleeting moments in which a neighborhood briefly exceeds itself

https://www.neighborhood-stills.com/
1•alexandruboia•40m ago•0 comments

The tests are the code now

https://softwaredoug.com/blog/2026/03/10/the-tests-are-the-code-now
3•softwaredoug•42m ago•0 comments

Alibaba/page-agent: in-page GUI agent. Control web interfaces

https://github.com/alibaba/page-agent
1•jonnonz•42m ago•0 comments

I Went Looking for Dignity and found it here [video]

https://www.youtube.com/watch?v=4gFGFbctEe0
2•pshapiro99•44m ago•1 comments

How AI Became More Expensive Than the Workers It Replaced [video]

https://www.youtube.com/watch?v=cfaZZPjA3g0
2•Bender•47m ago•0 comments

Linux DRM Scheduler Patches Yield Improvement for Job Submission Latency

https://www.phoronix.com/news/DRM-Scheduler-Lower-Job-Submit
2•Bender•50m ago•0 comments

Don't Hang Up on AI Scammers. Do This Instead [video]

https://www.youtube.com/watch?v=lk3jCuITwcE
1•wisemanwillhear•50m ago•0 comments

Show HN: Mise – A keyboard-driven Python/Qt6 browser built for fanless laptops

https://github.com/Rakosn1cek/Mise
1•Rakosn1cek•54m ago•0 comments

Exclusive-Meta's Zuckerberg says AI agent tech progressing slower than expected

https://finance.yahoo.com/technology/ai/articles/exclusive-zuckerberg-says-ai-agent-201123441.html
1•_____k•54m ago•0 comments

Show HN: Seize the means of production from our agentic overlords

https://github.com/Xophmeister/wean
2•Xophmeister•56m ago•0 comments

Show HN: I built an encrypted BLE dongle for pasting stuff to air-gapped devices

https://github.com/Brisk4t/ToothPaste
2•Brisk4t•57m ago•1 comments

Operation Ivy Bells

https://en.wikipedia.org/wiki/Operation_Ivy_Bells
3•m-hodges•58m ago•0 comments