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!

Show HN: Presidential Stock Trade Tracker

https://www.quiverquant.com/Donald-Trump-Stock-Trades/
1•ckardat123•52s ago•0 comments

New 3D silicon chip breakthrough could extend Moore's Law for years

https://www.sciencedaily.com/releases/2026/05/260530053412.htm
1•jonbaer•1m ago•0 comments

My Remaining Use for Pen and Paper

https://jarbus.net/blog/my-remaining-use-for-pen-and-paper/
1•jarbus•2m ago•0 comments

Tesla's 'Full Self-Driving' fraud lawsuit gets first hearing in China

https://electrek.co/2026/05/30/tesla-fsd-china-lawsuit-first-hearing-10-owners/
1•breve•3m ago•0 comments

Why Deep Learning Works Even Though It Shouldn't

https://moultano.wordpress.com/2020/10/18/why-deep-learning-works-even-though-it-shouldnt/
1•simianwords•4m ago•0 comments

Show HN: AI command review drill for engineers and vibe coders

https://www.proreview.dev/
1•shaad1337•5m ago•0 comments

A browser horror game about clicking primes

https://ipipgamedev.itch.io/idle-primes
1•ABudrys•6m ago•0 comments

AWS Budgets Has an 8-Hour Delay. Your Bedrock Bill Doesn't

https://blog.llmcap.io/aws-budgets-has-an-8-hour-delay-your-bedrock-bill-doesn-t
1•cfaruk•10m ago•0 comments

Resonate: Low latency, high temporal and frequency resolution spectral analysis

https://alexandrefrancois.org/Resonate/
4•arjf•10m ago•1 comments

Step 3.7 Flash – 198B-A11B MoE vision-language model

https://huggingface.co/stepfun-ai/Step-3.7-Flash
1•dryarzeg•10m ago•0 comments

Republicans are trying to kill science in this country

https://www.npr.org/2026/05/21/nx-s1-5828768/science-funding-cuts-nih-trump-administration
3•pdar4123•11m ago•0 comments

You need to stop using Google now

https://www.youtube.com/watch?v=4WyduoGpIPo
3•cable2600•12m ago•0 comments

The AV2 Video Standard Has Released (Final v1.0 Specification)

https://av2.aomedia.org
3•ksec•16m ago•0 comments

The first documented digitallipogram – URL erases a tech giant from the alphabet

https://logoggilo.substack.com/p/abcdfhijkmnpqrstuvwxyzcom-lipogram
1•gillesr•18m ago•1 comments

Show HN: Phive

https://phive.app
1•0xCA1EB•19m ago•0 comments

Why the Brain Cannot Be a Computer

https://arxiv.org/abs/2503.10518
2•Cerchie•20m ago•0 comments

The timing of the impending crude crisis

https://www.brookings.edu/articles/the-timing-of-the-impending-crude-crisis/
3•mooreds•21m ago•0 comments

Linda Perry: Writing and Producing Hits [video]

https://www.youtube.com/watch?v=e8pmhdjHCxM
1•bartekurbanski•21m ago•0 comments

10g Upgrade

https://klaxzy.net/var/infra/10g-upgrade.html
1•klaxzygen•30m ago•0 comments

Provisioning a Private Talos Kubernetes Cluster on Hetzner Cloud

https://onatm.dev/2026/05/30/provisioning-a-private-talos-kubernetes-cluster-on-hetzner-cloud/
2•onatm•31m ago•0 comments

OpenLogi – Rust Alternative to Logi Options+

https://github.com/AprilNEA/OpenLogi
1•elmean•37m ago•2 comments

UK public data to inform decisions and build services

https://www.data.gov.uk
1•als0•38m ago•0 comments

First Drone Tree Harvest in a Real Forest

https://www.dronewatch.eu/swedish-startup-achieves-first-fully-autonomous-tree-harvest-by-drone/
3•tda•41m ago•0 comments

The Effect of Caffeine on Sleep-Related Electroencephalography (EEG)

https://www.mdpi.com/2072-6643/18/8/1220
3•bookofjoe•46m ago•0 comments

Type-Safe Internationalization in Gleam

https://markuseliasson.se/article/type-safe-i18n-in-gleam
3•mooreds•48m ago•0 comments

Anonymous age verification using only hand gestures

https://borderage.com/
1•emmanuel549•48m ago•1 comments

AI Can't Care

https://www.mooreds.com/wordpress/archives/3737
1•mooreds•52m ago•1 comments

Mumbai's famed dabbawalas fed millions for over 100 years

https://www.bbc.co.uk/news/articles/c202d0l92weo
2•frou_dh•53m ago•2 comments

Rotary GPU: Exploring Local Execution for Large Moe Models Under Limited VRAM

https://arxiv.org/abs/2605.29135
1•dryarzeg•56m ago•0 comments

Show HN: A website for the top internet videos of all time

https://www.internetalltime.com/
1•mfh423•57m ago•2 comments