frontpage.
newsnewestaskshowjobs

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!

The Interactive Way to Go

https://web.archive.org/web/20210831172631/http://playgo.to/iwtg/en/
1•Bluestein•1m ago•0 comments

Symmetries in Boolean Scans with APL

https://ap29600.github.io/boolean_scans.html
1•fanf2•1m ago•0 comments

Show HN: Open-source agent harness with team collaboration

https://www.opensession.com/announcement
1•9ranty•4m ago•0 comments

Overcooked? Why robotic pizza makers are failing

https://www.bbc.com/news/articles/czxq0wgkkdjo
1•vinni2•6m ago•0 comments

Agnes AI Releases Agnes 2.5 Pro Beta

https://artificialanalysis.ai/articles/agnes-ai-releases-agnes-2-5-pro-beta
1•frozenseven•7m ago•0 comments

Interactive Warhammer 40k Galaxy Map – Cartographia Imperialis

https://cartographia40k.com/
1•gbxyz•8m ago•0 comments

More Japan hotels offer sleep tourism experiences to promote better sleep

https://mainichi.jp/english/articles/20260826/p2g/00m/0bu/016000c
1•giuliomagnifico•12m ago•0 comments

Benchmarking Vector Indexes

https://www.percona.com/blog/benchmarking-vector-indexes/
1•lbw1215•16m ago•0 comments

AMD Jumps from ROCm 7.14 to ROCm 10.0 with Rocm.ai

https://www.phoronix.com/news/AMD-ROCm-10.0
2•Levitating•17m ago•0 comments

GhostMeet – a Google Meet transcriber with no bot in your call

https://chromewebstore.google.com/detail/ghostmeet/figodpdocbgklmeglohdjomeikabfpeo
1•sahilpradhan•17m ago•0 comments

Compact 2D/3D game engine

https://natiny.com/
1•bwidlar•21m ago•0 comments

Simon Weckert creates Digital Camouflage shirt to avoid AI video surveillance

https://www.dezeen.com/2026/08/25/digital-camouflage-shirt-ai-video-surveillance-simon-weckert/
1•mywacaday•22m ago•0 comments

Elon Musk's xAI used child porn to train Grok models, lawsuit says

https://arstechnica.com/tech-policy/2026/08/elon-musks-xai-used-child-porn-to-train-grok-models-l...
3•KingMob•23m ago•2 comments

I made a game with ads you can remove by beating the hard mode once

https://apps.apple.com/ie/app/qube-mobile/id6797254645
1•shadylabs•24m ago•0 comments

VGPU by Vercel: The WebGPU library, designed for agents.

https://vgpu.sh
1•handfuloflight•27m ago•0 comments

SoapProxyApp – A lightweight HTTP/SOAP API debugger

https://github.com/milanmilic/SoapProxyApp
1•milan_milic•28m ago•0 comments

Why Google stores billions of lines of code in a single repository (2016)

https://dl.acm.org/doi/fullHtml/10.1145/2854146
1•birdculture•30m ago•0 comments

Semiconductor tariffs could cost U.S. $90B a year and 243,000 jobs

https://thenextweb.com/news/semiconductor-tariffs-data-centre-exemption-phase-two
2•giuliomagnifico•31m ago•0 comments

Math isn't about "getting the right answer"

https://stevereads.com/2026/05/27/math-isnt-about-getting-the-right-answer/
1•pykello•33m ago•0 comments

My dime-store understanding of measure theory and its history

https://stevereads.com/2014/11/22/my-dime-store-reading-in-the-history-of-measure-theory/
1•pykello•35m ago•0 comments

Show HN: RepoFlock – Git dashboard for a fleet of repos and submodules

https://repoflock.com/
1•beannt•37m ago•0 comments

Show HN: A journal app with no network permission, and 4 ways that isn't enough

https://github.com/intrepidkarthi/dailyvox
1•intrepidkarthi•38m ago•0 comments

Our AI isn't allowed to have memory

https://www.sentohq.com/posts/company-memory-should-not-live-in-chat
1•adrved•39m ago•0 comments

Tell HN: AniTroves Update

1•anitroves•42m ago•1 comments

Show HN: Public Desktop – public desktop of the internet

https://publicdesktop.lol
1•serhansirin•45m ago•0 comments

Nerves IoT framework, apparently popular with agents

https://underjord.io/nerves-iot-framework-apparently-popular-with-agents.html
1•lawik•45m ago•0 comments

Requests to remove DHH impression from Neovim website prompts heated argument

https://github.com/neovim/neovim.github.io/issues/501
4•drayfield•46m ago•1 comments

Btcfunkpay – A self-custodial Bitcoin payment library for Python

https://github.com/lucarocchi/btcfunkpay
1•lucarocchi•47m ago•0 comments

Cultural Thought Patterns in Inter-Cultural Education (1966)

1•dwrodri•47m ago•0 comments

Show HN: Scheduled Claude Code agents that cost nothing on a quiet day

https://github.com/shadok-ai/shadok-ai
2•gnarco2•50m ago•1 comments