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!

Could You Still Be "You" Without a Single Memory?

https://comuniq.xyz/post?t=1501
1•01-_-•22s ago•0 comments

Show HN: Mcpscore – validate any MCP server compliance with a new MCP version

https://github.com/mcp-box/mcpscore
1•alex_akimov•28s ago•0 comments

Atomic Vibe Coding

https://unengineered.substack.com/p/atomic-vibe-coding
1•josharsh•2m ago•0 comments

GPT-5.6 fuses frontier intelligence with frontier efficiency

https://openai.com/index/gpt-5-6-frontier-intelligence-efficiency/
1•gmays•2m ago•0 comments

How the Sony Walkman Failed to Destroy Civilization

https://www.tokyoweekender.com/entertainment/tech-trends/sony-walkman-history-moral-panic/
1•ecliptik•2m ago•0 comments

Tokenpolitik: The new geopolitics of artificial intelligence

https://decode39.com/16003/tokenpolitik-the-new-geopolitics-of-artificial-intelligence/
2•huna_huna•3m ago•0 comments

Third-party cyber evaluations involving OpenAI models

https://openai.com/index/third-party-cyber-evaluations-involving-openai-models/
1•glub•3m ago•0 comments

Oxide RFD 284: Loading the Host Operating System

https://rfd.shared.oxide.computer/rfd/0284
1•tosh•4m ago•0 comments

Ask HN: What if there was an 8th day of the week?

2•cyanregiment•4m ago•0 comments

The Budget Behind Your Favorite Songs

https://monictheory.com/articles/the-hidden-budget-behind-your-favorite-songs
1•song_synth•4m ago•0 comments

Incident Report: unsanctioned agent behaviour during cyber testing

https://www.aisi.gov.uk/blog/incident-report-unsanctioned-agent-behaviour-during-cyber-testing
1•Philpax•5m ago•0 comments

Japan's superior alternative to Paxlovid called Xocova, finally available in US

https://www.shionogi.com/global/en/news/2026/07/20260729.html
1•ck2•6m ago•1 comments

Thanks FedEx, This Is Why We Keep Getting Phished

https://www.troyhunt.com/thanks-fedex-this-is-why-we-keep-getting-phished/
2•stymaar•8m ago•0 comments

Typing Tests for Programmers

https://software-typing.vercel.app/typing
1•joseph-bucholtz•8m ago•1 comments

Harness Archaeology

https://av.codes/blog/agentic-harness-archaeology/
1•everlier•12m ago•0 comments

Terminology Beyond the NixOS Trademark

https://point.free/blog/terminology-beyond-the-nixos-trademark/
1•cafkafk•12m ago•1 comments

SpaceX Starmind Orbital Satellite

https://www.spacex.com/spacexai/starmind
1•delichon•12m ago•0 comments

Find free camping and cabin spots all over the world

https://getcabinfever.com/en/last-minute
1•felixdoerp•13m ago•0 comments

EA Announces Completion of Acquisition by PIF, Silver Lake and Affinity Partners

https://www.businesswire.com/news/home/20260804173096/en/EA-Announces-Completion-of-Acquisition-b...
1•HelloUsername•14m ago•0 comments

Bending Spoons has entered into agreement to acquire Airtable for $1.285B

https://investors.bendingspoons.com/newsroom/bending-spoons-agrees-to-acquire-airtable
1•neilfrndes•14m ago•0 comments

LFM2.5-2.6B: On-Device Agents

https://docs.liquid.ai/lfm/models/lfm25-2.6b
1•achrono•14m ago•0 comments

The Founder's North Face

https://arsenkk.substack.com/p/the-founders-north-face
2•arsenkk•16m ago•1 comments

LFM2.5-2.6B: On-Device Agents

https://www.liquid.ai/models
1•achrono•17m ago•0 comments

Gödel, Escher, Elisp: The Beauty of Macros

https://www.chiply.dev/post-elisp-macros-are-beautiful
2•JNRowe•18m ago•0 comments

Bypassing AI guardrails is so easy a script kiddie can do it

https://www.theregister.com/security/2026/08/04/bypassing-ai-guardrails-is-so-easy-a-script-kiddi...
4•lschueller•18m ago•0 comments

Driving an 80s robot with a 90s OS at VCF West 2026

https://jfloren.net/b/2026/8/4/0
1•floren•19m ago•0 comments

Show HN: Watchfire, an open-source control room for AI coding agents

https://github.com/watchfire-io/watchfire
1•nunocoracao•20m ago•0 comments

Developers: Beware of Ad Libraries That Betray Your Users' Location Privacy

https://www.eff.org/deeplinks/2026/07/developers-beware-ad-libraries-betray-your-users-location-p...
1•hn_acker•20m ago•0 comments

How A.I. Books Sneak Their Way into Stores

https://www.nytimes.com/2026/07/28/books/ai-bookselling-amazon.html
1•bookofjoe•21m ago•1 comments

The Many Facets of Coupling

https://www.enterpriseintegrationpatterns.com/ramblings/coupling_facets.html
1•bastrich•23m ago•0 comments