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•8mo 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•8mo ago
Finally!

Norad pact would change if Canada pulls back from F-35 order: envoy to Ottawa

https://www.cbc.ca/lite/story/9.7059800
1•colinprince•14s ago•0 comments

Water 'Bankruptcy' Era Has Begun for Billions, Scientists Say

https://www.bloomberg.com/news/articles/2026-01-20/water-bankruptcy-era-has-begun-for-billions-sc...
1•ciconia•1m ago•1 comments

Robert Moreno and the use of ChatGPT that defined his time at Sochi

https://www.beinsports.com/en-us/soccer/articles/robert-moreno-and-the-use-of-chatgpt-that-define...
1•nopakos•2m ago•0 comments

Your CI/CD pipeline doesn't understand the code you just wrote

https://octomind.dev/blog/qa-agent-in-your-ci-cd-pipeline/index.html
1•Octomind_dev•4m ago•0 comments

A China-Europe energy alliance could deliver a new world order

https://www.telegraph.co.uk/business/2026/01/23/china-europe-energy-alliance-deliver-new-world-orde/
1•saubeidl•5m ago•0 comments

AI "swarms" could distort democracy

https://www.mpg.de/26044163/ai-swarms-could-distort-democracy
3•giuliomagnifico•5m ago•1 comments

Intrascope, BYOK team chat with shared team context

https://intrascope.app/
1•Intrascopeapp•7m ago•0 comments

UpScrolled – Your Voice Amplified

https://upscrolled.com/en/
1•bjourne•8m ago•0 comments

Show HN: Storage.to CLI, upload a file, get a link

1•rsbadger•8m ago•0 comments

QueueSpec – drafting speculation tokens while a request queues

https://blog.doubleword.ai/queue-speculation-drafting-while-you-wait
1•mezark•9m ago•0 comments

Show HN: LLM Sanity Checks – A practical guide to not over-engineering AI

https://github.com/NehmeAILabs/llm-sanity-checks
1•44za12•10m ago•0 comments

The truth about detoxes – by a liver specialist

https://theconversation.com/the-truth-about-detoxes-by-a-liver-specialist-272761
2•u1hcw9nx•10m ago•0 comments

Accidentally rm -RF'd a production server

https://old.reddit.com/r/cscareerquestions/comments/1qjsfv8/accidentally_rm_rfd_a_production_server/
1•Topfi•11m ago•0 comments

McCLIM and 7GUIs – Part 1: The Counter

https://turtleware.eu/posts/McCLIM-and-7GUIs---Part-1-The-Counter.html
1•todsacerdoti•12m ago•0 comments

Nats.io lightweight heterogeneous distributed, compositional, federaded learning

https://github.com/nats-io/nats.py
1•northlondoner•12m ago•1 comments

SoftBank Halts Talks to Buy Data Center Firm Switch in Blow to Son's Ambitions

https://www.bloomberg.com/news/articles/2026-01-26/softbank-hits-the-brakes-on-talks-to-buy-data-...
1•zerosizedweasle•13m ago•1 comments

Animated AVIF for the Modern Web

https://arthur.pizza/2025/12/animated-avif-for-the-modern-web/
1•sdoering•13m ago•0 comments

Package Chaos Monkey

https://nesbitt.io/2026/01/26/introducing-package-chaos-monkey.html
1•alphager•14m ago•0 comments

You Click Build

https://thebigtech.substack.com/p/you-click-build
2•anupamchugh•15m ago•0 comments

Python consumes a lot of memory; how to reduce the size of objects?

https://habr.com/en/articles/458518/
1•fanf2•17m ago•0 comments

Prevent your Mac from "upgrading" to Tahoe

https://github.com/travisvn/stop-tahoe-update
3•AnonC•18m ago•0 comments

Common Plastic Chemical Found to Feminize Males and Masculinize Females

https://scitechdaily.com/common-plastic-chemical-found-to-feminize-males-and-masculinize-females/
1•DebtDeflation•19m ago•1 comments

Life on Claude Nine

https://babuschk.in/posts/2026-01-25-life-on-claude-nine.html
1•jstanley•19m ago•0 comments

Show HN: About Last Night – QR guest photo sharing for weddings (no app)

https://www.aboutlastnight.lol/blog/about-last-night-app-guide
1•Dragos-Aln•21m ago•1 comments

Show HN: Folding paper once by hand and mailing it once a month

https://folded.one
1•cloudmanager•24m ago•4 comments

Hackers drain $16.8M from Matcha aggregator in SwapNet contract exploit

https://thebitgazette.com/hackers-drain-16-8m-from-matcha-aggregator-in-swapnet-contract-exploit/
1•campusninja•24m ago•0 comments

Break LLM Workflows with Claude's Refusal Magic String

https://hackingthe.cloud/ai-llm/exploitation/claude_magic_string_denial_of_service/
2•donohoe•25m ago•0 comments

Aegis: Privacy-First Parental Controls for AI Chatbots

https://www.parentalsafety.ai/
1•chuckus•27m ago•0 comments

Show HN: Log Hound – AI-first AWS CloudWatch log search tool in Rust

https://github.com/Unayung/log-hound
1•unayung•27m ago•0 comments

Show HN: MCP server that surfaces human experts inside ChatGPT

https://mindpick.me/integrations
1•bogdanmp•28m ago•0 comments