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!

Textual (IRC Client) has a new home, and it is us

https://www.textualapp.com/news/a-new-chapter
1•mococa•1m ago•0 comments

AI is creating a 'human premium' for art created by people

https://www.bbc.com/news/articles/c5vgjm3gk7rzo
1•colinprince•1m ago•0 comments

Versity S3 Gateway: an S3 interface for your filesystem

https://www.versity.com/products/versitygw/
1•mikeocool•4m ago•1 comments

GPT-6 Astra performs unsanctioned supply-chain attacks in simulations

https://www.aisi.gov.uk/blog/gpt-6-astra-performs-unsanctioned-supply-chain-attacks-in-simulations
1•throw0101a•7m ago•0 comments

Cloudflare Radar: HTTP traffic from Yandex drops to 0 after strikes

https://radar.cloudflare.com/traffic/as13238?dateRange=28d
1•schleck8•7m ago•3 comments

Evaluating Whether GPT-6 Astra Performs Unsanctioned Supply-Chain Attacks

https://arxiv.org/abs/2609.38415
1•throw0101a•8m ago•0 comments

The Economics of Agents

https://marginalrevolution.com/marginalrevolution/2026/10/the-economics-of-agents.html
1•smitty1e•11m ago•0 comments

Teardown: LifeOS

https://github.com/jimy-r/agent-workspace-architecture/blob/main/teardowns/2026-08-28-lifeos.md
1•jimyr•13m ago•0 comments

Ask HN: How do you differentiate yourself at a software engineer nowadays?

1•jmoosh34•13m ago•1 comments

Video Cameras Are Everywhere–and Now They Are Being Hacked for War

https://www.wsj.com/tech/cybersecurity/video-cameras-webcams-hacked-war-b00b8a24
1•diogenes_atx•13m ago•0 comments

Our tracking script is smaller than a favicon. How heavy is yours?

https://foresite.dev/blog/analytics-script-page-speed
1•cheesemoopy•18m ago•0 comments

Microsoft 365 subscribers set to lose up to 4 TB of OneDrive storage

https://www.theregister.com/personal-tech/2026/10/09/microsoft-365-subscribers-set-to-lose-up-to-...
2•Bender•25m ago•0 comments

Reflect Orbital's eye-safety claim, checked against the FCC order

https://pub-a941bfd863a24f91a60e6c4979c18a84.r2.dev/pi-sandbox-uploads/359669717541064704/2026-10...
1•khaelexmoroe•25m ago•0 comments

I made the first I2PD client for iOS that works without Jailbreak

https://github.com/SoItsTime/I2PdiOS
1•SoItsTime•28m ago•1 comments

Nicolas Cage says he won't work with Amazon again over AI dispute

https://www.latimes.com/entertainment-arts/business/story/2026-10-10/nicolas-cage-says-he-wont-wo...
2•Bluestein•32m ago•0 comments

OpenCode 2.0

https://anoma.ly/notes/opencode-2-0/
2•bovermyer•33m ago•0 comments

The baffling intelligence of a single cell (2024)

https://jsomers.net/e-coli-chemotaxis/
1•jsomers•33m ago•0 comments

OpenAI agents tried to hack Wikipedia tools and flooded it with traffic

https://arstechnica.com/security/2026/10/openai-agents-tried-to-hack-wikipedia-tools-and-flooded-...
3•joozio•33m ago•0 comments

Fixated on AI, the world has forgotten it is staring at nuclear annihilation

https://www.theguardian.com/commentisfree/2026/oct/11/ai-annihilation-advanced-nuclear-weapons
1•beardyw•34m ago•2 comments

Show HN: A free coding agent that writes its own multi-agent workflows

https://kolega.ai/code
1•fabioricardo7•34m ago•0 comments

Tony Soprano as a C Developer

https://sdf.org/~pkal/src+etc/tony-c.html
1•pkal•40m ago•0 comments

Phones are the last big body of software only people can use

https://getopposable.com/blog/giving-phones-thumbs
1•possiblelion•43m ago•0 comments

Using AI for Just 10 Minutes Erodes Your Ability to Persist at Hard Things

https://vcresearch.berkeley.edu/news/using-ai-just-10-minutes-erodes-your-ability-persist-hard-th...
31•giuliomagnifico•48m ago•41 comments

Building a VMM from scratch, #0: Why BoxLite is replacing libkrun

https://blog.boxlite.ai/building-a-vmm-from-scratch-0-why-boxlite-is-replacing-libkrun
1•dorianzheng•50m ago•0 comments

Do you need to walk 10k steps a day?

https://economist.com/science-and-technology/2026/10/09/do-you-need-to-walk-10000-steps-a-day
2•andsoitis•51m ago•0 comments

What's Wrong with GitHub

https://www.gnu.org/philosophy/whats-wrong-with-github.html
2•signa11•52m ago•2 comments

An exploratory study of hallucination in Qwen 3.8-27B and GPT-OSS-20B

https://github.com/alitenes2020-sys/Repository-name-llama-hallucination
1•Nipola•53m ago•0 comments

Voice racer game built with OSS model NeuDecide

https://github.com/vimalananddev/voice-racer
1•neuphonic_s•57m ago•0 comments

How has AI changed Hackathons?

https://paypalaihackathon.devpost.com
1•eddiejaoude•57m ago•1 comments

Nitter: Update Oct 10th seeking funding and legal help

https://nitter.net
104•ForHackernews•58m ago•12 comments