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!

The Secret World of Tiny Phones That Go Inside Your Butt (2016)

https://www.vice.com/en/article/prison-phones-that-go-up-your-bum/
1•downbad_•4m ago•0 comments

MVRV Regime Monitor – the only crypto strategy that survived held-out validation

https://github.com/lonelyobserver0/mvrv-regime-monitor
1•lonelyobserver0•4m ago•0 comments

The Sigmoids Won't Save You

https://www.astralcodexten.com/p/the-sigmoids-wont-save-you
1•Tomte•4m ago•0 comments

WxRuby3 v1.70 Released

https://github.com/mcorino/wxRuby3/discussions/473
1•mariuz•6m ago•0 comments

Hello Robot's Wheeled Home Robot Ditches Humanoid Hype

https://spectrum.ieee.org/stretch-4-home-robot
1•rbanffy•12m ago•0 comments

Clippy can send emails, write excel sheets, and interact with any application

https://clippyai.app
2•AmDab•13m ago•0 comments

Developer Experience Is a Performance Feature

https://bytecode.news/posts/2026/05/developer-experience-is-a-performance-feature
2•LaSombra•16m ago•0 comments

Steve Jobs Next Computer: His Forgotten Exile Years

https://spectrum.ieee.org/steve-jobs-next-computer
2•rbanffy•20m ago•0 comments

SDL Library Adds Support for the New Steam Controller Without Depending on Steam

https://www.phoronix.com/news/SDL-Steam-Controller-2026
2•haunter•20m ago•1 comments

Justice Department Investigation Determines Yale Discriminated Based on Race

https://www.justice.gov/opa/pr/justice-department-investigation-determines-yales-medical-school-d...
2•Claudus•23m ago•1 comments

NanoTDB – Golang Append-Only Time Series DB

https://github.com/aymanhs/nanotdb
1•aymanhs72•23m ago•0 comments

Known by Their Actions: Fingerprinting LLM Browser Agents via UI Traces

https://arxiv.org/abs/2605.14786
1•sbulaev•26m ago•1 comments

Tachyons Neo – Utility CSS without build step

https://tachyonsneo.com
2•hit8run•30m ago•1 comments

Show HN: OrcaSheets, local first analytics engine to process billions of rows

https://orcasheets.ai
1•ydgandhi•32m ago•0 comments

How to Enter Side Doors

https://velvetnoise.substack.com/p/how-to-enter-side-doors
2•jger15•36m ago•0 comments

Nairobi became a nexus for the black market in giant harvester ants

https://www.theguardian.com/environment/ng-interactive/2026/may/13/smuggled-illegal-global-trade-...
2•Michelangelo11•42m ago•1 comments

Scryve-tools – Unified wallet auth for CKB, EVM, and BTC in one NPM package

https://github.com/tecmeup123/scryve-tools
1•scryve•49m ago•0 comments

The Earliest Known Dentistry Wasn't Done by Our Species

https://www.sciencealert.com/the-earliest-known-dentistry-wasnt-done-by-our-species
2•janandonly•53m ago•1 comments

Show HN: Sanjaya – Academic paper discovery and extraction (OpenAlex/Scrapy)

https://sanjaya-six.vercel.app/
1•oug-t•55m ago•1 comments

Rest alone doesn't fix burnout. Here's the structural reason why

https://www.sharks-coaching.com/content-hub/emotions-and-stress-management/how-to-recover-from-bu...
4•roxxon_1•55m ago•1 comments

Show HN: One Markdown File to Set Up Claude, Codex, Cursor and Copilot

https://github.com/kernalix7/ai-project-setup
2•kernalix7•57m ago•0 comments

Show HN: Domain DMARC Checker

https://dmarcdefender.io/tools/domain-check
4•c0nrad•58m ago•0 comments

Overseas fakers using AI videos to push a narrative of UK decline, BBC finds

https://www.bbc.co.uk/news/articles/ckgpyn30dp3o
10•dijksterhuis•58m ago•1 comments

Show HN: Mailenc – Test if your PGP email setup works

https://mailenc.org/
2•soeckly•58m ago•0 comments

AI Will Not Make Everyone More Productive

https://www.vincentschmalbach.com/ai-will-not-make-everyone-more-productive/
5•vincent_s•1h ago•0 comments

Britain's latest civil servant is a chatbot trained on Gov.uk misery

https://www.theregister.com/public-sector/2026/05/15/britains-latest-civil-servant-is-a-chatbot-t...
3•jjgreen•1h ago•0 comments

Ask HN: How do you listen to research papers? (TTS workflows for commutes)

2•vinxu•1h ago•1 comments

Ways in which GenAI has changed the way I write code so far

https://lengrand.fr/ways-in-which-genai-has-changed-my-coding-so-far/
2•jlengrand•1h ago•0 comments

Geography is four-dimensional

https://sive.rs/4d
16•galfarragem•1h ago•3 comments

Show HN: My time has come – let Claude Code wrap up before 5-hour usage runs out

https://github.com/JinBa1/my-time-has-come
2•BuyG1n•1h ago•1 comments