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

Colorado moves age checks from websites to operating systems

https://www.biometricupdate.com/202602/colorado-moves-age-checks-from-websites-to-operating-systems
2•iamnothere•3m ago•0 comments

Pb-ext: Enhanced PocketBase server with monitoring, logging and API docs

https://github.com/magooney-loon/pb-ext
1•thunderbong•7m ago•0 comments

Ruby Is the Best Language for Building AI Apps

https://paolino.me/ruby-is-the-best-language-for-ai-apps/
2•thunderbong•17m ago•0 comments

Back to textbooks: Denmark rolls back digital learning

https://www.france24.com/en/tv-shows/focus/20260106-back-to-textbooks-denmark-rolls-back-digital-...
1•talonx•18m ago•0 comments

Show HN: Free tool to migrate OpenAI Assistants

https://migratetoresponses.com
1•adkfusion•18m ago•0 comments

A Galaxy Composed Almost of Dark Matter Has Been Confirmed

https://www.wired.com/story/a-galaxy-composed-almost-entirely-of-dark-matter-has-been-confirmed/
1•taubek•19m ago•0 comments

Python creator Guido van Rossum asks Elon Musk what SpaceX uses for coding

https://twitter.com/elonmusk/status/2024388903869043061
1•MilnerRoute•20m ago•0 comments

Infographic of the Navy and Air Force build up nearby Iran

https://twitter.com/sentdefender/status/2024929210867839399
1•nomilk•23m ago•0 comments

Acme Weather, from the Creators of Dark Sky

https://apps.apple.com/us/app/acme-weather/id6742032583
1•gammarator•28m ago•0 comments

Free Shadcn/UI patterns for faster UI delivery

https://reui.io
2•shuxer0205•29m ago•1 comments

Show HN: Fix-my-mic – stop macOS from switching to AirPods mic every connection

https://github.com/yigitkonur/cli-disablemic
2•yigitkonur35•29m ago•0 comments

Formula: A VST for coding custom DSP inside your DAW

https://github.com/soundspear/formula
1•peteforde•31m ago•0 comments

A 3000W Water-Cooled Power Supply (With GAN and Sic) [video]

https://www.youtube.com/watch?v=da9GwXX-0Zs
1•dmmalam•33m ago•0 comments

OpenClaw Partners with VirusTotal for Skill Security

https://openclaw.ai/blog/virustotal-partnership
1•iskiifanhaaw•38m ago•0 comments

The Rolling Layoffs at Jack Dorsey's Block

https://www.wired.com/story/inside-rolling-layoffs-jack-dorsey-block/
4•Pasanpr•48m ago•0 comments

Ask HN: How would you distribute a privacy-first AI chat for teams?

1•shreyaspapi•48m ago•0 comments

Enable automatic coverage workflow setup

1•nishiohiroshi•54m ago•0 comments

Show HN: Resilient OpenClaw Browser Relay – Survives WS Drops and MV3 Restarts

https://github.com/Unayung/openclaw-browser-relay
1•unayung•57m ago•0 comments

Show HN: Stop Pasting Credentials in Slack

https://www.usevaultlink.com/
2•ankurbhugra•1h ago•0 comments

Show HN: Skill Check CLI for your skill.md

https://github.com/thedaviddias/skill-check
1•thedaviddias•1h ago•0 comments

Show HN: WebhookStream – Receive, relay, send and debug webhooks from 1 platform

https://webhookstream.com
1•fallenranger•1h ago•1 comments

The political effects of X's feed algorithm

https://www.nature.com/articles/s41586-026-10098-2
3•iamflimflam1•1h ago•1 comments

Show HN: Mukoko weather – AI-powered weather intelligence built for Zimbabwe

https://weather.mukoko.com/harare
1•bryanfawcett•1h ago•0 comments

AstianGO Search API

https://astiango.com/developers/docs
1•ponchale•1h ago•1 comments

Show HN: WP2TXT – Wikipedia dump text extractor with category/section filtering

https://github.com/yohasebe/wp2txt
1•yohasebe•1h ago•0 comments

Show HN: Filepack: a fast SHASUM/SFV/PGP alternative using BLAKE3

https://github.com/casey/filepack
1•rodarmor•1h ago•0 comments

Show HN: AI Code Review Agent – Automated PR Reviews with Google ADK and Gemini

https://github.com/mkantwala/AI-Code-Review-Agent
1•tme15b014•1h ago•0 comments

Show HN: NF-1 – A resource-zero programming language for low-end hardware

https://github.com/sonamsingh25437-ship-it/NF-1-PROGRAMMING-LANGUAGE
1•aditya_rai-331•1h ago•0 comments

Let's Burn Some Tokens – AI Chatbot Cost Exploitation as an Attack Vector

https://dixken.de/blog/lets-burn-some-tokens
1•snigsnog•1h ago•0 comments

AI Fatigue: Why the "Test Only, Zero Code Review" Methodology Is Flawed

https://fastfilelink.com/static/blog/ai-fatigue-test-only-zero-code-review.html#ai-fatigue-test-o...
4•bear330•1h ago•0 comments