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

Follow Tracker making NHL players rethink social media

https://www.nytimes.com/athletic/7178360/2026/04/08/nhl-follow-tracker-x-social-media/
1•_doctor_love•1m ago•1 comments

A soft robot has no problem moving with no motor and no gears

https://engineering.princeton.edu/news/2026/04/08/soft-robot-has-no-problem-moving-no-motor-and-n...
1•hhs•2m ago•0 comments

Anthropic says new AI model too dangerous for public release

https://thehill.com/policy/technology/5824219-anthropic-new-ai-dangerous-public/
1•geox•2m ago•0 comments

The AWS Lambda 'Kiss of Death'

https://shatteredsilicon.net/the-aws-lambda-kiss-of-death/
1•birdculture•5m ago•0 comments

How Many Lives Do Amber Alerts Really Save?

https://www.mcgill.ca/oss/article/critical-thinking-technology-history/how-many-lives-do-amber-al...
1•bookofjoe•6m ago•0 comments

Show HN: Lingle – Voice agent to simulate zoom-based personal language lessons

https://lingle.ai/
3•andrewfhou•7m ago•2 comments

Amazon Ending Support for Older Kindles: Full List of Affected Devices

https://www.techrepublic.com/article/news-amazon-ends-support-older-kindles-2026/
2•rmason•12m ago•1 comments

Show HN: Memoriki – LLM Wiki+MemPalace for persistent personal knowledge bases

2•Aianback•14m ago•0 comments

Show HN: Agent Tuning, using recursion to achieve predictable agent output

https://github.com/adam-s/agent-tuning
2•dataviz1000•14m ago•0 comments

Kids Are Discovering the Joys – and Pains – Of the Landline

https://www.wsj.com/lifestyle/kids-are-discovering-the-joysand-painsof-the-landline-f703d505
1•fortran77•15m ago•1 comments

Open source died in March. It just doesn't know it yet

https://www.chainguard.dev/unchained/open-source-died-in-march-it-just-doesnt-know-it-yet
2•gpi•19m ago•1 comments

How the Trivy supply chain attack harvested credentials from secrets managers

https://vaultproof.dev/blog/trivy-supply-chain-attack
3•Rial_Labs•25m ago•0 comments

Hosted AI API Gateway – smart routing across Google, OpenAI, Anthropic, and more

https://api.lxg2it.com
1•sea-gold•26m ago•2 comments

Funerals Keep Africa Poor

https://davidoks.blog/p/how-funerals-keep-africa-poor
3•powera•26m ago•0 comments

Kanye of the Tech Industry

https://getlearnix.com/
1•noahjohnson1•28m ago•0 comments

Samsung's 2026 Q1 profit increased eightfold to a record $38B

https://www.reuters.com/sustainability/sustainable-finance-reporting/samsung-flags-eight-fold-jum...
3•itopaloglu83•28m ago•1 comments

A dashboard for the state of the American Chestnut

https://chestnut.fyi/
2•adam_gyroscope•28m ago•0 comments

Use a gaming PC as a Google Gemma 4 LLM server

https://sgbarker.com/use-a-gaming-pc-as-a-google-gemma-4-llm-server/
1•amaitu•31m ago•1 comments

BunnyCDN has been silently losing our production files for 15 months

https://old.reddit.com/r/webdev/comments/1sglytg/bunnycdn_has_been_silently_losing_our_production/
5•speckx•32m ago•0 comments

Show HN: Rust based eBook library for Python, with MIT license

https://github.com/arc53/fast-ebook
2•larry-the-agent•33m ago•0 comments

Show HN: Curated list of ~40 AI browser extensions across 9 categories

https://github.com/kklt92/awesome-ai-extensions
2•imvyarqoyzcuem•33m ago•0 comments

The Training Example Lie Bracket

https://pbement.com/posts/lie_brackets/
1•pb1729•36m ago•0 comments

Benchmarking LLMs with Marimo Pair

https://ericmjl.github.io/blog/2026/4/8/benchmarking-llms-with-marimo-pair/
1•akshayka•38m ago•0 comments

MS Aspire – Open-source stack, streamlined

https://aspire.dev/
1•evo_9•38m ago•0 comments

Tip: Use services, not the terminal, to run local backends

https://probablymarcus.com/blocks/2026/04/09/use-os-services-for-your-local-backends.html
1•mrcslws•39m ago•1 comments

Show HN: Linear RNN/Reservoir hybrid generative model, one C file (no deps.)

https://raw.githubusercontent.com/bggb7781-collab/lrnnsmdds/refs/heads/main/lrnnsmdds
1•adinhitlore•41m ago•0 comments

We simulate target market so you can ask anything ±4% vs. real surveys

https://inqvey.com/hn
1•yarasheff•42m ago•2 comments

How to achieve P90 sub-microsecond latency in a C++ FIX engine

https://akinocal1.substack.com/p/how-to-achieve-p90-sub-microsecond
1•klaussilveira•43m ago•0 comments

Show HN: Undocumented Qualcomm mesh topology 802.11 frames

https://david.weekly.org/blog/2026-04-09-orbi-mesh-beacon-topology/
1•dweekly•43m ago•0 comments

AI Speedometer: Real-time AI model speed benchmarks

https://ai-speedometer.oliveowl.xyz/
2•sea-gold•47m ago•1 comments