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

Ask HN: Why can't I find NDK for Linux ARM64?

1•DenisDolya•4m ago•0 comments

Mattermost restricted access to old messages after 10000 limit is reached

https://github.com/mattermost/mattermost/issues/34271
1•xvilka•12m ago•0 comments

Package managers keep using Git as a database, it never works out

https://nesbitt.io/2025/12/24/package-managers-keep-using-git-as-a-database.html
1•WhyNotHugo•12m ago•0 comments

I managed to get that lost UNIX v4 tape running on my Android tablet

https://old.reddit.com/r/termux/comments/1pv7si4/i_managed_to_get_that_lost_unix_v4_tape_running/
1•sipofwater•13m ago•0 comments

GitHub – rcarmo/feed-summarizer: The feed summarizer that powers feeds.carmo.io

https://github.com/rcarmo/feed-summarizer
1•janandonly•14m ago•0 comments

Show HN: VideoReview – Collaborative video review for games and animation

https://github.com/KirisameMarisa/video-review
1•KirisameMarisa•17m ago•0 comments

Ask HN: Payload in Amazon "Shipped" Emails

1•krautburglar•18m ago•0 comments

Show HN: Mandate – treating AI agents like economic actors, not scripts

https://github.com/kashaf12/mandate
1•kashaf12•19m ago•0 comments

I don't trust NPM install, so I built dev

https://github.com/f0i/dev
2•f0i•23m ago•1 comments

Agent Skills

https://github.com/skillmatic-ai/awesome-agent-skills
4•dergalem•28m ago•0 comments

Waymo Is Working on a Gemini AI Assistant. Here's the System Prompt

https://wongmjane.com/blog/waymo-gemini
1•kerim-ca•28m ago•0 comments

Ask HN: Share your favorite Christmas gimmicks

2•jFriedensreich•29m ago•0 comments

Exposing Honey's Evil Business Model [video]

https://www.youtube.com/watch?v=wwB3FmbcC88
1•echan00•30m ago•0 comments

Show HN: One AI API for word-accurate transcription, translation, and export

https://www.transcripthq.io/
1•ssreenithin•30m ago•0 comments

Show HN: Quintel, a Rule-Discovery Game

https://eternaldawn.itch.io/quintel
1•MageOfTheEast•30m ago•0 comments

How to Help Santa Claus Concurrently

https://wyounas.github.io/puzzles/concurrency/2025/12/23/how-to-help-santa-claus-concurrently/
2•simplegeek•31m ago•0 comments

Line scan camera image processing

https://daniel.lawrence.lu/blog/2025-09-21-line-scan-camera-image-processing/
1•vasco•33m ago•0 comments

How we solved for Cloudflare and Azure outages

https://thesidedish.flipdish.com/flipdish-shipping-forecast-multiple-clouds-with-a-chance-of-seve...
2•flibble•34m ago•0 comments

Ingestr: CLI tool to copy data between any databases with a single command

https://github.com/bruin-data/ingestr
2•saikatsg•37m ago•0 comments

We invited a man into our home at Christmas and he stayed with us for 45 years

https://www.bbc.co.uk/news/articles/cdxwllqz1l0o
47•rajeshrajappan•40m ago•2 comments

Agent-Skills-for-Context-Engineering

https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering
3•kim0•41m ago•0 comments

Good Morning to Those at Work

3•sandworm101•49m ago•0 comments

Extreme Ironing

https://en.wikipedia.org/wiki/Extreme_ironing
2•m4khno•50m ago•0 comments

Reflections on building internal tools after AI changed the workflow

1•kinj28•54m ago•0 comments

Indian rocket launches record-breaking BlueBird 6 smartphone satellite to orbit

https://www.space.com/space-exploration/launches-spacecraft/indian-rocket-launch-bluebird-6-satel...
1•saikatsg•58m ago•0 comments

Download Python Today

https://files.catbox.moe/taze7f.jpg
1•lihaciudaniel2•1h ago•0 comments

Contributing to Debezium: Fixing Logical Replication at Scale

https://engineering.zalando.com/posts/2025/12/contributing-to-debezium.html
2•saikatsg•1h ago•0 comments

Best practices for long-run LED strip installs (20–50M) to avoid flicker?

1•emmasuntech•1h ago•0 comments

Gluetun v3.41.0 Release – The Ranting Section

https://www.youtube.com/watch?v=SSkGpys40ck
1•FeelingGood•1h ago•0 comments

Prompts.chat: the social platform for AI prompts

https://prompts.chat
1•fka•1h ago•0 comments