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!

Agate IDE: HTML and CSS Workspace in the Browser

https://agateide.com/ide/
1•surprisetalk•26s ago•0 comments

Glasspad, an open source iPhone trackpad, keyboard and remote for Mac

https://github.com/Soham109/glasspad
1•sohamaggarwal•2m ago•0 comments

Hannah Fry: How OpenAI has caused an existential crisis in mathematics

https://www.newscientist.com/article/2593249-hannah-fry-how-openai-has-caused-an-existential-cris...
1•mhw•3m ago•0 comments

Show HN: Scalable source control in Rust, inspired by Anthropic's Scion

https://github.com/adrianchifor/scn
1•adrianchifor•3m ago•0 comments

Ad-tech company was a delivery system for "mercenary spyware"

https://pluralistic.net/2026/10/17/mercenary-spyware/#discover-tech
12•samizdis•8m ago•1 comments

He Wants AI Benchmarking to Be a Science, Not a Dark Art

https://www.quantamagazine.org/he-wants-ai-benchmarking-to-be-a-science-not-a-dark-art-20261016/
1•sonabinu•11m ago•0 comments

Show HN: Plinth – free open-source desktop video downloader

https://plinth.fabwaseem.com
1•fabwaseem•13m ago•0 comments

Priestly coders are more annoying than vibe coders [video]

https://www.youtube.com/watch?v=eDNuf4Zhk5I
1•yogthos•14m ago•0 comments

Periodic Weak Spots: Phase Sensitivity from Chunked KV-Cache Compression

https://arxiv.org/abs/2609.36322
1•wondersky•14m ago•0 comments

Pressy is back from the dead (on the Mac, at least)

https://github.com/gufertum/pressy-resurrected
1•gufertum•15m ago•0 comments

Perceptors AI – turning clinical expertise into reviewed courses

https://www.perceptors.ai/
1•fadyhs•17m ago•0 comments

Don't be one of them (Use your release notes)

https://sjg.io/writing/dont-be-one-of-them/
1•simonjgreen•17m ago•0 comments

Apps, Agents, and Aggregation

https://stratechery.com/2026/apps-agents-and-aggregation/
1•gumby•18m ago•0 comments

Tagging and Parsing English Sentences

https://stochastic.blog/tagging-and-parsing-english-sentences/
1•Anon84•21m ago•0 comments

The Spy Inside the Box: How Tampered Ledger Wallets Leaked Seed Phrases over LTE

https://security.lankinen.xyz/posts/the-spy-inside-the-box-how-tampered-ledger-wallets-leaked-see...
1•lankinen•22m ago•0 comments

A death, a plagiarism scandal and a quest for revenge: the tale of Otto Z

https://www.theguardian.com/news/ng-interactive/2026/oct/08/a-death-a-plagiarism-scandal-and-a-qu...
2•Hooke•23m ago•0 comments

fishdraw

https://github.com/LingDong-/fishdraw
1•bookofjoe•24m ago•0 comments

Lexica Ultralegible is a new font for low-vision readers

https://coywolf.com/news/web-development/lexica-ultralegible-is-a-new-font-for-low-vision-readers...
2•twapi•26m ago•0 comments

MonkShift – reduces visual distractions, one application can take the foreground

https://github.com/gslava/MonkShift
2•itic1gm•27m ago•0 comments

Copy-Paste Language Models

https://arxiv.org/abs/2610.19247
1•azhenley•28m ago•0 comments

Automattic Also Wants .php

https://kgolubic.com/posts/automattic-also-wants-php/
1•taubek•29m ago•0 comments

Google Wave

https://en.wikipedia.org/wiki/Google_Wave
2•tosh•29m ago•0 comments

Apple's HomeView is just the latest threat to online recipe writers

https://www.theverge.com/tech/1012820/apple-homeview-recipe-formatting
1•desolate_muffin•30m ago•0 comments

Decompilations, AI, and the Chase for Clout

https://jpeisach.github.io/blog/ai/legoisland/decompilation/porting/reverse-engineering/2026/10/1...
2•aizk•32m ago•0 comments

Proactive AI for Superintelligent Agents

https://research.google/pubs/proactive-ai-for-superintelligent-agents/
2•theanonymousone•41m ago•2 comments

Ask HN: What happened to Anti-Virus suites?

1•scanny•41m ago•1 comments

The McGurk effect: what you see changes what you hear

https://www.transitivebullsh.it/projects/the-mcgurk-effect
1•transitivebs•42m ago•1 comments

Meta Opens Muse Spark's Weights with Strings Attached

https://ailately.com/articles/meta-muse-spark-open-weights
1•ryanedennis•43m ago•0 comments

Comparison of Browser Engines

https://en.wikipedia.org/wiki/Comparison_of_browser_engines
1•andsoitis•43m ago•0 comments

Open Source Without the Open Door

https://abbykearns.substack.com/p/open-source-without-the-open-door
1•gpi•46m ago•0 comments