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•11mo 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•11mo ago
Finally!

GollyStream – Real-time Ethereum events at 1,265 ops/s with minipass

https://github.com/goodgollyholly/gollystream3
1•goodgollyholly•4m ago•0 comments

U.S. National Park Finder

https://nikag-ai.github.io/national-parks/
1•bookofjoe•8m ago•0 comments

Open-source DIY radar that's 95% cheaper than $250k commercial offerings

https://www.tomshardware.com/maker-stem/open-source-radar-system-is-95-percent-cheaper-than-usd25...
2•anjel•8m ago•0 comments

Show HN: Claude Code Rust – a native Rust TUI that avoids the V8 heap OOM

https://github.com/srothgan/claude-code-rust
1•char8•13m ago•0 comments

Reconstructing a Dead USB Protocol: From Unknown Chip to Working Implementation

https://github.com/coremaze/ME2-Writeup/blob/master/README.md
1•birdculture•15m ago•0 comments

In the UK, EVs are cheaper than petrol cars, thanks to Chinese competition

https://electrek.co/2026/04/18/in-the-uk-evs-are-cheaper-than-petrol-cars-thanks-to-chinese-compe...
2•breve•18m ago•0 comments

Crypto Hack Worth $290M Triggers DeFi Contagion Shock

https://www.bloomberg.com/news/articles/2026-04-19/crypto-hack-worth-290-million-triggers-defi-co...
1•helsinkiandrew•22m ago•0 comments

The Work Runs on Different Maps

https://yusufaytas.com/the-work-runs-on-different-maps
11•yusufaytas•24m ago•0 comments

Memjar: Uncompromising, local-first second brain

https://github.com/m00dy/memjar
1•m00dy•28m ago•0 comments

Tim Davis – Probabilistic engineering and the 24-7 employee

https://www.timdavis.com/blog/probabilistic-engineering-and-the-24-7-employee
1•kiyanwang•31m ago•0 comments

2005 PS2 Game Returning with New Release on PS5, PS4

https://comicbook.com/gaming/news/ps2-playstation-2-games-ps5-ps4-release-2005/
1•01-_-•36m ago•0 comments

The framework built by a father in 2006 dominated the internet

https://comuniq.xyz/post?t=966
2•01-_-•38m ago•1 comments

An Amish Paradox: Diversity and Change in the Largest Amish Community

https://www.thepsmiths.com/p/review-an-amish-paradox-by-charles
1•barry-cotter•38m ago•0 comments

LlaMa.cpp Robot Wars

https://www.youtube.com/watch?v=bgZ3pmr0DIs
4•Pasyd•39m ago•1 comments

Performance • tldraw Docs

https://tldraw.dev/sdk-features/performance
2•aragonite•39m ago•0 comments

Ask HN: Is your Mac's menu bar throwing errors?

1•vsgherzi•39m ago•0 comments

SitTall – a macOS app that uses AirPods sensors to detect slouching

https://sittall.app/
1•anilatici•42m ago•1 comments

Anatomy of High-Performance Matrix Multiplication (2008) [pdf]

https://www.cs.utexas.edu/~flame/pubs/GotoTOMS_revision.pdf
2•tosh•43m ago•0 comments

Visual Studio Code Agents App (Preview)

https://code.visualstudio.com/updates/v1_115#_visual-studio-code-agents-preview
2•maxloh•53m ago•0 comments

Hero Engineering: In Defense of Unreasonable Optimizations

https://deancalver.substack.com/p/hero-engineering-in-defense-of-unreasonable
2•DeanoC•58m ago•0 comments

Edit store price tags using Flipper Zero

https://github.com/i12bp8/TagTinker
2•trueduke•1h ago•0 comments

Why Musicians Are Manufacturing Sold-Out Shows

https://www.bloomberg.com/news/articles/2026-04-17/how-bands-like-cameron-winter-s-geese-are-manu...
2•helsinkiandrew•1h ago•0 comments

A Private Recommendation System I Can Control

https://frankk.site/en/blog/controllable-recommendation-system/
1•langtang1996•1h ago•0 comments

Ask HN: How did you land your first projects as a solo engineer/consultant?

9•modelcroissant•1h ago•3 comments

Waterloo’s live AI-goose tracker. Never get ambushed by a cobra chicken again.

https://www.waddleloo.com/
1•consumer451•1h ago•0 comments

Public grocery stores are having a moment. Can they make food more affordable?

https://www.cbc.ca/radio/thecurrent/public-grocery-stores-9.7168321
3•Teever•1h ago•0 comments

Ask HN: Should I build *another* Markdown task manager?

1•simchri•1h ago•1 comments

Show HN: AI Primer – A Searchable AI Changelog for AI Engineers and Creatives

https://www.ai-primer.com
1•andyasprou•1h ago•0 comments

Deleteduser.com –A $15 PII Magnet

https://mike-sheward.medium.com/deleteduser-com-a-15-pii-magnet-c4396eb21061
3•birdculture•1h ago•0 comments

Shyell – a Rust shell with built-in benchmarking and project-aware prompts

https://github.com/sumant1122/shyell
2•paperplaneflyr•1h ago•0 comments