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!

AI Engineers aren't safe from being replaced by AI

https://dmanco.dev/2025/08/17/fear-not-even-ai-engineers-will-be-replaced-by-ai.html
1•Doch88•3m ago•0 comments

Show HN: GymCoach – Self-hosted workout tracker where you bring your own LLM

https://github.com/Julien-Au/gymcoach
1•Julien-Au•4m ago•0 comments

Microrobots deliver stem cells for nerve regeneration

https://ethz.ch/en/news-and-events/eth-news/news/2026/06/microrobots-repair-spinal-cord.html
1•milmar55•7m ago•0 comments

Open Source alternative to Substack and Buttondown

https://github.com/scmmishra/picoletter
1•shivam-dev•7m ago•0 comments

Ask HN: What are good AI UIs now?

1•ramstar3000•8m ago•0 comments

Man Becomes the Sex Organs of the Machine World (2012)

http://2012diaries.blogspot.com/2012/05/man-becomes-sex-organs-of-machine-world.html
1•downbad_•9m ago•0 comments

Tell HN: AI programming has turned my "scope creep" to "scope leap"

1•wewewedxfgdf•11m ago•0 comments

Ten Years of Franz

https://meetfranz.com/blog/ten-years-of-franz
3•tosh•13m ago•0 comments

Topaz AI confirmed bug that can wipe host computer

https://community.topazlabs.com/t/heads-up-avoid-moving-default-app-folders-to-prevent-file-path-...
1•50kIters•15m ago•1 comments

Show HN: Browser-Native GPU Sharing

https://apssouza22-webgpu-cluster.hf.space/
1•bilekas•17m ago•1 comments

Quality in the Age of Slop

https://sinclairtarget.com/blog/2026/06/01/quality-in-the-age-of-slop/
1•signa11•20m ago•0 comments

Bill Gates Spent Years Crafting His Image. Now It's Cracking

https://www.wsj.com/business/bill-gates-image-epstein-e0b83243
1•Michelangelo11•23m ago•0 comments

Show HN: Phantom Chat – iOS messenger with NIST post-quantum encryption (PQXDH)

https://testflight.apple.com/join/rmSrMch9
1•VeilusDigital•24m ago•1 comments

Velotric Flight Kit

https://www.velotricbike.com/pages/velotric-flight-kit
1•foo12bar•24m ago•0 comments

He Quit Baidu. But First He Had to Build an AI Version of Himself

https://www.sixthtone.com/news/1018594
2•circadian•25m ago•0 comments

Where does the race to automate AI research end?

https://www.lesswrong.com/posts/gkbet5Gp7eoAE9bjY/where-does-the-race-to-automate-ai-research-end
1•joozio•25m ago•0 comments

Rehumanizing global health care with agentic AI

https://www.technologyreview.com/2026/06/02/1137827/rehumanizing-global-health-care-with-agentic-ai/
1•joozio•29m ago•0 comments

Nvidia RTX Spark

https://nvidianews.nvidia.com/news/nvidia-microsoft-windows-pcs-agents-rtx-spark
2•IblankI•38m ago•1 comments

XML and JSON in 2026

https://www.tbray.org/ongoing/When/202x/2026/06/01/XML-and-JSON-in-2026
1•mpweiher•44m ago•0 comments

$TLDC – Too Long; Didn't Code

https://cdbnk.github.io/tldc/
1•4k0hz•47m ago•0 comments

Greatest Bird Names of All Time

https://birdhistory.substack.com/p/the-100-greatest-bird-names-of-all
5•scylurus•48m ago•0 comments

UK media groups given power to opt out of Google AI search summaries

https://www.theguardian.com/business/2026/jun/03/uk-media-groups-power-opt-out-google-ai-search-s...
2•berlianta•52m ago•0 comments

Drones, spider cams and AI will bring World Cup 2026 to your TV

https://www.rte.ie/brainstorm/2026/0602/1575716-world-cup-2026-broadcasting-technology-spider-cam...
1•austinallegro•56m ago•1 comments

An MCP tool that lets ChatGPT check if a store is AI-readable

https://www.bridgetoagent.com/api/mcp
1•AI-agent-rdy•57m ago•0 comments

Leiden Declaration on Artificial Intelligence and Mathematics

https://leidendeclaration.ai/
2•zvr•57m ago•0 comments

Slim Binaries (1997)

https://dl.acm.org/doi/10.1145/265563.265576
1•tosh•59m ago•0 comments

A harness for every task: dynamic workflows in Claude Code

https://twitter.com/trq212/status/2061907337154367865
1•pretext•1h ago•0 comments

Nvidia Vera–The CPU for Agents [video]

https://www.youtube.com/watch?v=vLfrBembjsk
1•pretext•1h ago•1 comments

Can we trust AI to build a better version of itself?

https://www.ft.com/content/7cc7800f-18ed-47d8-9539-221ae3e16182
1•merksittich•1h ago•0 comments

open-spdd: Design Philosophy

https://github.com/gszhangwei/open-spdd/blob/main/docs/design-philosophy.md
2•pramodbiligiri•1h ago•0 comments