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!

Rust breaks into the Tiobe Index top

https://www.tiobe.com/tiobe-index/
1•zdkaster•49s ago•0 comments

I created a free tool that pairs your Nasic and past performance to win contract

https://www.fedfinder.net/
1•sentinelowl•3m ago•0 comments

Claude Fable 5 Backlash Grows

https://tech.yahoo.com/ai/claude/articles/claude-fable-5-backlash-grows-213000534.html
1•cybermango•7m ago•0 comments

NASA's Webb Studies How Planet Survived Death of Its Star

https://science.nasa.gov/missions/webb/nasas-webb-studies-how-planet-survived-death-of-its-star/
1•gmays•9m ago•0 comments

Swapheic – Convert images in the browser, everything happens locally, no uploads

https://swapheic.com/
1•rajsuper123•11m ago•0 comments

Scratch Linux Kernel Modules (scratchnative.at.github)

https://scratch.mit.edu/projects/706685974/editor/
1•oliculipolicula•11m ago•0 comments

The New BMW iX5 Hydrogen

https://www.bmwgroup.com/en/news/general/2026/the-new-bmw-ix5-hydrogen.html
1•plun9•13m ago•0 comments

First-ever reverse-aging drug was just injected into a human

https://www.businessinsider.com/first-ever-reverse-aging-treatment-injected-into-a-human-2026-6
2•cybermango•14m ago•0 comments

What Is Neocloud?

https://www.cisco.com/site/us/en/learn/topics/computing/what-is-neocloud.html
1•plun9•15m ago•0 comments

Breakthrough drug reverses aging in skin and dramatically speeds healing

https://www.sciencedaily.com/releases/2026/05/260519003215.htm
1•cybermango•15m ago•0 comments

The AI-Native Founder

https://www.wensenwu.com/thoughts/ai-native-founder
3•matmult•16m ago•0 comments

Tencent Hy3

https://huggingface.co/tencent/Hy3
2•droidjj•16m ago•0 comments

Math Master

https://www.angryflower.com/1666.html
1•oliculipolicula•19m ago•0 comments

Emerging evidence links tire pollution to Alzheimer's risk

https://medicalxpress.com/news/2026-07-emerging-evidence-links-pollution-alzheimer.html
1•OutOfHere•25m ago•1 comments

UUIDs, ULIDs and Sqids: A Practical Deep Dive

https://wendelladriel.com/blog/uuids-ulids-and-sqids-a-practical-deep-dive
2•shaunpud•28m ago•0 comments

Strata – An app that talks me out of dying outdoors

https://strata.highloop.co/
2•cloocher•30m ago•0 comments

The healing power of watching the boys of 'Jackass' do stupid things

https://www.yahoo.com/entertainment/general/article/the-healing-power-of-watching-the-boys-of-jac...
2•herbertl•32m ago•0 comments

Show HN: Tarot.free – Free Tarot Readings

https://tarot.free/
2•nadermx•34m ago•0 comments

The Hard Parts of Streaming Audio in Voice Agents

2•gokuljs•34m ago•0 comments

Binvariants: Register-Level Invaraint-Guided Fuzzing for Binaries

https://github.com/FuturesLab/Binvariants
2•matt_d•37m ago•0 comments

Env.style: Deployment environment disambiguation via favicon

https://www.env.style/
2•handfuloflight•39m ago•0 comments

Cewsco – the AI that keeps up with you

https://cewsco.com/
2•kalkalka•42m ago•2 comments

Show HN: Dedtxt is a quiet, cross-platform plain-text editor

https://dedtxt.app/
2•chrisportka•42m ago•0 comments

Moody Bible Institute breach leaves 2.3M accounts needing salvation

https://www.theregister.com/security/2026/07/06/moody-bible-institute-breach-leaves-23m-accounts-...
6•Bender•44m ago•1 comments

Brit supermarket giant triples down on facial recog to nab shoplifters

https://www.theregister.com/security/2026/07/06/brit-supermarket-giant-triples-down-on-facial-rec...
3•Bender•45m ago•2 comments

GitHub cuts short offer to burn repos on CD after mockery ensues

https://www.theregister.com/devops/2026/07/06/github-cuts-short-offer-to-burn-repos-on-cd-after-m...
6•Bender•45m ago•2 comments

PuzzleMoE: Efficient Compression of Large Mixture-of-Experts Models

https://supercomputing-system-ai-lab.github.io/projects/puzzlemoe/
2•matt_d•45m ago•0 comments

Jackrong LLM Fine-Tuning Guide

https://github.com/R6410418/Jackrong-llm-finetuning-guide
2•verdverm•47m ago•0 comments

Claude Sonnet 5: Anthropic's Most Agentic AI Model Arrives at a Reduced Price (2026)

https://lucasaguiar.xyz/en/posts/claude-sonnet-5-2026/
3•isfttr•48m ago•0 comments

How to sequence your own DNA at home

https://bradleywoolf.com/links-1/sequencing-my-own-dna-at-home
21•bilsbie•49m ago•2 comments