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!

AI and camera counter human trafficking

https://spectrum.ieee.org/traffickcam-human-trafficking-hotel-ai
1•asdefghyk•2m ago•1 comments

AI Browser Extensions Leave Fingerprints Everywhere

https://webdecoy.com/blog/detect-ai-browser-extensions-claude-chatgpt-copilot/
1•cport1•4m ago•0 comments

Norman Podhoretz, 1930-2025

https://www.commentary.org/john-podhoretz/norman-podhoretz-1930-2025/
1•stmw•12m ago•0 comments

FTX insider Caroline Ellison has been moved out of prison

https://www.businessinsider.com/caroline-ellison-prison-release-ftx-sam-bankman-fried-2025-12
4•harambae•19m ago•1 comments

The Genius Effects of Old Movies [video]

https://www.youtube.com/watch?v=TunR4zCQ5Fk
3•billybuckwheat•25m ago•0 comments

Show HN: Made a Visionboard Tool

https://visionboardit.art/
1•girlwhocode•25m ago•0 comments

Minimum Viable Benchmark (For Evaluating LLMs)

https://blog.nilenso.com/blog/2025/11/28/minimum-viable-benchmark/
1•todsacerdoti•27m ago•0 comments

Fara-7B: An Efficient Agentic Model for Computer Use

https://www.microsoft.com/en-us/research/blog/fara-7b-an-efficient-agentic-model-for-computer-use/
1•mjshashank•28m ago•0 comments

Apple TV's new intro was done practical, not CGI or AI [video]

https://www.youtube.com/shorts/C3uLRJGVkmo
3•busymom0•32m ago•1 comments

Luminar Technologies, Inc. Initiates Voluntary Chapter 11 Proceedings

https://investors.luminartech.com/news-events/press-releases/detail/110/luminar-technologies-inc-...
2•rguiscard•39m ago•0 comments

The Lost Generation

https://www.compactmag.com/article/the-lost-generation/
4•koolba•43m ago•0 comments

Video: Lunar impact flash detected on the moon by Armagh Observatory

https://phys.org/news/2025-12-video-lunar-impact-moon-armagh.html
2•1659447091•43m ago•0 comments

How I Assess Open Source Libraries

https://nesbitt.io/2025/12/15/how-i-assess-open-source-libraries.html
1•gpi•47m ago•0 comments

Deaf Crocodile Blu-Rays

https://deafcrocodile.com/collections/blu-rays
2•gregsadetsky•49m ago•0 comments

The Core Problems of AI Coding

https://magong.se/posts/real-problems-ai-coding-lesswrong
2•mikasisiki•49m ago•0 comments

Project Zeros New Website

https://projectzero.google/
1•0xkato•52m ago•1 comments

Show HN: Website to APK Convertor

https://website2apps.com/
1•Codegres•56m ago•0 comments

Building a WASM Runner with Cloud Hypervisor

https://burakemir.ch/post/building-wasm-runner/
1•todsacerdoti•1h ago•0 comments

A Guide to Magnetizing N48 Magnets in Ansys Maxwell

https://blog.ozeninc.com/resources/from-datasheet-to-demagnetization-a-guide-to-magnetizing-n48-m...
2•peter_d_sherman•1h ago•0 comments

The Bifurcation in the AI Market

https://tomtunguz.com/2025-12-16-open-router-insights/
2•jaynate•1h ago•0 comments

OpenAI in Talks to Raise $10B, Adopt Amazon's AI Chips

https://www.bloomberg.com/news/articles/2025-12-17/openai-in-talks-to-raise-10-billion-from-amazo...
2•marc__1•1h ago•1 comments

Show HN: Better Gmail Tabs – turn search queries into tabs for fast email load

https://chromewebstore.google.com/detail/better-gmail-tabs/ffgbhpheihcopgdlgbabanhbgemohjgc
1•jharohit•1h ago•0 comments

Show HN: Obsidenc – a Rust-based paranoid-grade encryption utility

https://github.com/markrai/obsidenc
2•markrai•1h ago•0 comments

After years of resisting it, SpaceX now plans to go public

https://arstechnica.com/space/2025/12/after-years-of-resisting-it-spacex-now-plans-to-go-public-why/
2•somenameforme•1h ago•0 comments

What happened to iRobot can happen to anyone

https://www.engadget.com/home/what-happened-to-irobot-can-happen-to-anyone-164500625.html
4•codetiger•1h ago•2 comments

You're 25-35 years old? You're running out of time

https://breatheless.substack.com/p/youre-25-35-years-old-youre-running
3•sss111•1h ago•1 comments

Tesla engaged in deceptive marketing for Autopilot and Full Self-Driving, judge

https://techcrunch.com/2025/12/16/tesla-engaged-in-deceptive-marketing-for-autopilot-and-full-sel...
1•pseudolus•1h ago•0 comments

Show HN: 200+ Likes/day as fake profile → built my own dating app in 100 days

https://www.wctokyoseoul.com/ko
2•vulcanidic•1h ago•0 comments

Optimizing Claude Code

https://mays.co/optimizing-claude-code
2•stevenmays•1h ago•0 comments

Marshall Islands launches universal basic income scheme offering cryptocurrency

https://www.theguardian.com/world/2025/dec/17/marshall-islands-launches-universal-basic-income-sc...
1•uxhacker•1h ago•0 comments