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•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!

Run Llama.cpp on a Mac Pro 6,1 with Dual FirePro D700 GPUs on Ubuntu

https://matthewgribben.com/blog/mac-pro-6-1-llama-cpp-firepro-d700-vulkan-ubuntu
1•coloneltcb•1m ago•0 comments

The AI Decoupling

https://vintagedata.org/blog/posts/the-ai-decoupling
1•jxmorris12•1m ago•0 comments

'Catnomics': how Japan's feline fixation has become an industry worth billions

https://www.theguardian.com/world/2026/may/27/japan-obsessed-wth-cats-popular-pet-industry-worth-...
1•n1b0m•2m ago•0 comments

Why Does Your AI Agent Work Better for You Than for Me?

https://vexjoy.com/posts/why-your-ai-agent-works-better-for-you/
1•AndyNemmity•2m ago•0 comments

Credit card skimmer disguised as Google Tag Manager

https://anchor.host/so-you-get-hit-with-a-credit-card-skimmer-what-now/
1•logickkk1•2m ago•0 comments

I shipped a real product for $29.63 with five AI agents

https://github.com/vggg/agent-project-bootstrap
2•vggg•8m ago•0 comments

FML-Bench: A Controlled Study of AI Research Agent Strategies

https://arxiv.org/abs/2605.17373
1•matt_d•9m ago•0 comments

Crossing the Proof of Concept Valley

https://deploy95.substack.com/p/crossing-the-poc-valley
1•dddddaviddddd•11m ago•0 comments

When Quiet Undersea Volcanoes Turn Disruptive

https://www.quantamagazine.org/when-quiet-undersea-volcanoes-turn-disruptive-20260526/
1•anujbans•12m ago•0 comments

OpenRouter $113M Series C

https://www.nytimes.com/2026/05/26/business/dealbook/openrouter-ai-models-fundraising.html
1•swyx•15m ago•1 comments

I added achievements to my portfolio site

https://charlie.dudzik.me
1•cd-4•20m ago•0 comments

Power bills more than 250 per cent higher near data centres

https://www.theglobeandmail.com/investing/investment-ideas/article-market-factors-power-bills-mor...
2•cdrnsf•20m ago•0 comments

1.96.0 pre-release testing – Inside Rust Blog

https://blog.rust-lang.org/inside-rust/2026/05/26/1.96.0-prerelease/
1•kazu11max17•24m ago•0 comments

You Can't Stop This Data Center, a Mom Was Told. She Won't Quit

https://www.nytimes.com/2026/05/26/us/data-centers-kassi-solberg.html
3•1vuio0pswjnm7•27m ago•0 comments

Skills Folder Is a Junk Drawer

https://james-pritchard.com/blog/skills-junk-drawer
2•ArcaneMoose•29m ago•0 comments

Ambsheets: Spreadsheets for Exploring Scenarios

https://www.inkandswitch.com/ambsheets/notebook/
1•antran22•31m ago•0 comments

Micro-Expert-Router: Running Mixtral-Class Moe Models on NVMe SSDs Without a GPU

https://github.com/randyap8-wq/Micro-Expert-Router-SSD-Streamed-MoE-MER
1•randyap8•31m ago•0 comments

OpenAI's Altman says AI unlikely to lead to 'jobs apocalypse'

https://www.reuters.com/world/asia-pacific/openais-altman-says-ai-unlikely-lead-jobs-apocalypse-2...
4•1vuio0pswjnm7•33m ago•0 comments

Finding deadlocks in CuTe kernels with SPIN

https://metaworld.me/blog/public/Statically-finding-races-in-CUTE-kernels-or-Proving-absences-of-...
2•matt_d•34m ago•0 comments

A Case for Tracing Based DSL Kernel Languages

https://metaworld.me/blog/public/A-Case-for-Tracing-Based-DSL-Kernel-Languages
2•matt_d•36m ago•0 comments

Billionaire Mark Cuban says bye-bye Bitcoin: Why he is 'disappointed' by crypto

https://fortune.com/2026/05/26/mark-cuban-bitcoin-disappointed-crypto/
4•1vuio0pswjnm7•42m ago•0 comments

Google's Angle Merges Wayland Support, Unblocking Chromium Embedded Framework

https://www.phoronix.com/news/ANGLE-Merges-Wayland
4•DefineOutside•43m ago•0 comments

We reduced RAG retrieval cost 10× with a hippocampus-inspired memory substrate

https://www.bricbybric.ae/blog/hippocampus-memory-engine
4•aneesalsajir•43m ago•0 comments

The Codex Showcase

https://www.augmentedswe.com/p/openai-shows-you-how-to-use-codex
4•wordsaboutcode•46m ago•0 comments

Arias: Human Proof for FOSS Contributions

https://lwn.net/Articles/1074534/
2•prakashqwerty•47m ago•0 comments

The Coming Coordination Calamity

https://surfingcomplexity.blog/2026/05/24/the-coming-coordination-calamity/
2•wapasta•59m ago•0 comments

Ask HN: Looking for experienced web dev to make math website

2•marysminefnuf•1h ago•1 comments

Researchers Warn of WiFi 7 Routers as 'A Potential Means for Surveillance'

https://gizmodo.com/researchers-issue-warning-about-tech-that-could-turn-every-router-into-a-pote...
5•transpute•1h ago•3 comments

Clanker: A Word for the Machine

https://lucumr.pocoo.org/2026/5/26/clankers/
5•doppp•1h ago•1 comments

Solo founder building SaaS. looking for partner

2•albedim•1h ago•0 comments