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!

Apple says 'random or anonymous chat' apps no longer welcome on the App Store

https://9to5mac.com/2026/02/06/apple-says-random-or-anonymous-chat-apps-no-longer-welcome-on-the-...
1•tcfhgj•1m ago•0 comments

Tether EVO Scores Top in Global AI Benchmark for Brain-to-Text AI Challenge

https://tether.io/news/tether-evo-scores-top-5-in-global-ai-benchmark-for-brain-to-text-ai-challe...
1•salkahfi•2m ago•0 comments

As AI takes over the act of "making," where do I go from here?

https://medium.com/@kohii/software-creation-replaced-by-ai-where-do-i-go-from-here-66f9869aa511
1•kohii•2m ago•1 comments

The Curious Genius of Amar Bose

https://www.popsci.com/science/article/2013-07/curious-genius-amar-bose/
1•samdung•3m ago•0 comments

Show HN: I built a Telegram bot that converts any article URL to audio

https://sornic.com
1•digi_wares•4m ago•0 comments

How We Cut Our Cloudflare Worker Test Suite from 80s to 24s

https://stumpy.ai/blog/cloudflare-vitest-barrel-trick
1•bluesnowmonkey•5m ago•0 comments

No One, Including Furry Friends, Will Be Safer in Ring's Surveillance Nightmare

https://www.eff.org/deeplinks/2026/02/no-one-including-our-furry-friends-will-be-safer-rings-surv...
1•voxadam•5m ago•0 comments

HelpingLusers

http://meatballwiki.org/wiki/HelpingLusers
1•themaxdavitt•5m ago•0 comments

Why HN is a decade behind on crypto [video]

https://www.youtube.com/undefined
1•nailer•6m ago•0 comments

Prompting Best Practices for Instruction-Following Rerankers

https://www.zeroentropy.dev/articles/prompting-best-practices-for-instruction-following-rerankers
1•medbar•6m ago•0 comments

A Customizable Coding Agent: custom tools, Python API, and any local/cloud LLM

https://github.com/wiseprobe/patchpal
1•wiseprobe•7m ago•1 comments

Show HN: Automatic demo videos for every feature you ship

https://waitlist.buildshot.xyz/?source=HN
1•pratikpatwe•7m ago•0 comments

Why Your Agent Needs a Principles.md File

https://twitter.com/atlasforgeai/status/2021773566341988758
1•gmays•9m ago•0 comments

HanziFive – Daily HSK graded articles in Chinese

https://www.hanzifive.com/
1•vmeklis•10m ago•0 comments

Show HN: ShortGuard – Apple rejected my app for blocking Shorts, so here it is

https://testflight.apple.com/join/eTKmdWCU
1•justdodo•10m ago•0 comments

Show HN: Hacker Backlinks – Discover which HN stories are cited most in comments

https://hacker-backlinks.browserbox.io
2•keepamovin•13m ago•1 comments

Improving 15 LLMs at Coding in One Afternoon. Only the Harness Changed

http://blog.can.ac/2026/02/12/the-harness-problem/
2•kachapopopow•14m ago•0 comments

Show HN: Artificials – Why AI will create the next human civilization

1•brian_bae_kr•16m ago•0 comments

Why (Senior) Engineers Struggle to Build AI Agents

https://www.philschmid.de/why-engineers-struggle-building-agents
1•tosh•20m ago•0 comments

Rolling your own serverless OCR in 40 lines of code

https://christopherkrapu.com/blog/2026/ocr-textbooks-modal-deepseek/
1•mpcsb•21m ago•0 comments

Ask HN: What electrical engineering textbooks would you recommend?

1•el_oni•22m ago•0 comments

Interpol-backed police make nearly 200 arrests in Amazon gold mining sweep

https://news.mongabay.com/short-article/2026/01/interpol-backed-police-make-nearly-200-arrests-in...
1•PaulHoule•23m ago•0 comments

99%+ of new US capacity in 2026 will be solar, wind and storage

https://electrek.co/2026/01/28/eia-99-of-new-us-capacity-in-2026-will-be-solar-wind-storage/
1•andsoitis•23m ago•0 comments

Tool Shaped Objects

https://twitter.com/willmanidis/status/2021655191901155534
1•gmays•26m ago•0 comments

ClawCam was this a bad idea?

https://chrisdrake.com/ClawCam.png
1•cndg•26m ago•0 comments

Show HN: Browse any IP address like a profile page

https://ipdata.co/me
1•jonathan-kosgei•27m ago•0 comments

Show HN: IP ranges for 22 cloud providers in 12 formats, updated daily

1•rezmoss•28m ago•0 comments

Porting an INT8 VHDL CNN from Intel Agilex 3 to Lattice Certus-NX

1•smart_coconut•28m ago•0 comments

Run Pebble OS in Browser via WASM

https://ericmigi.github.io/pebble-qemu-wasm/
1•goranmoomin•29m ago•0 comments

Robotaxis and AI-Hardness (2022)

https://www.vangemert.dev/blog/robotaxis-and-AI-hardness
2•engelo_b•31m ago•0 comments