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!

BasicOboe: An easy to use but powerful Google Oboe library

https://github.com/tpkarras/BasicOboe
1•tpkarras•1m ago•1 comments

Mario 64 on the Canon EOS R8

https://www.eoshd.com/news/eoshd-backrom-hack-mario-64-on-the-canon-eos-r8/
1•kakadu•3m ago•0 comments

A C++ Quicksort Faster Than std:sort

https://tiki.li/blog/about_blqsort
2•signa11•5m ago•0 comments

Opus wrote my Japan tour promo video in JavaScript

https://www.youtube.com/shorts/Xo8R3wNLgxQ
1•thomashop•12m ago•0 comments

Address Guard Open-source toolkit to detect crypto address poisoning

https://github.com/globalmpc/rwa-kit-js
1•Usman2261•12m ago•0 comments

ClickHouse Acquires Xata

https://xata.io/blog/xata-is-joining-clickhouse
2•mebcitto•19m ago•0 comments

Design with an Elephant. Review with a Goldfish

https://egm.dev/
1•matthewsinclair•22m ago•0 comments

Amazon saves millions by replacing Sonnet 4.6 with Strands Decider

https://strandsagents.com/blog/amazon-saves-millions-replacing-sonnet-with-strands-decider/
22•aloukissas•32m ago•4 comments

Codenotary released AgentMon Live as free, open-source software

https://finance.yahoo.com/technology/ai/articles/codenotary-releases-agentmon-live-free-160000064...
2•noobplus•33m ago•0 comments

Tell HN: Notion AI chat sessions have been exposed via Fireworks AI hack

7•RamblingCTO•33m ago•0 comments

Tinyworlds: Whole Cities, Pocket-Sized

https://tinyworlds.nihey.org/
2•thunderbong•41m ago•0 comments

Mathematicians Are Like Luddites

https://alok.blog/luddite/
3•ilreb•41m ago•0 comments

State of JavaScript 2026 Survey Now Open

https://survey.devographics.com/en-US/survey/state-of-js/2026
2•dfabulich•42m ago•0 comments

The race to secure record-like information for domains

https://alexsci.com/blog/the-race-to-secure-record-like-information-for-domains/
2•meetpateltech•43m ago•0 comments

Show HN: Android and iOS games running offline in the browser

https://phoam.app/demos
2•phoamapp•44m ago•0 comments

gspca

https://www.linuxtv.org/wiki/index.php/Gspca
2•gregsadetsky•47m ago•0 comments

Human Emacs

https://alexschroeder.ch/view/2026-10-31-human-emacs
3•watermelon0•48m ago•0 comments

A sourced dictionary of how engineers pronounce 1,934 developer terms

https://pronounce.renlab.ai/
2•alvinan•49m ago•0 comments

No one can force me to have a secure website [pdf]

https://tom7.org/httpv/httpv.pdf
4•frizlab•53m ago•1 comments

FLEY AI-Voce – a voice AI assistant you but can also control your PC and phone

1•Drfoxi•56m ago•0 comments

"It Gives Great Demo"

https://blog.jim-nielsen.com/2026/it-gives-great-demo/
3•Curiositry•57m ago•0 comments

0.80.0 – ESP-KVM for the JetKVM Mini – ESP-KVM

https://espkvm.io/blog/0-80-0-esp-kvm-for-the-jetkvm-mini/
1•dexif•58m ago•0 comments

Show HN: Case converter with AP/APA/Chicago/MLA title case

https://simplecaseconverter.com/
1•ankurbhardwajde•1h ago•0 comments

I don't want AI in my online search. What options do I have?

https://theconversation.com/i-dont-want-ai-in-my-online-search-what-options-do-i-have-295875
3•billybuckwheat•1h ago•0 comments

Affair Bench: The public record of private affairs.

https://affairbench.com
1•smartrabbit•1h ago•0 comments

Show HN: Calculators for token costs and Claude Code API budgets

https://modelfold.ai/tools/claude-code-cost
1•modelfold•1h ago•0 comments

Stealthy Blue Noise

https://al.radbox.org/doi/10.1145/3842562
2•matt_d•1h ago•0 comments

How Did Greek Fire Work? and 6 Other Lost Inventions

https://www.nytimes.com/2026/11/09/science/lost-inventions-to-time-greek-fire-antikythera.html
1•gumby•1h ago•0 comments

90% of the models can do 90% of the work while best owns the turn

https://myagentforge.ai/
1•dimriprash•1h ago•0 comments

I gave my keyboard shortcut a terminal and a browser

https://omnikeyai.ca/blog/i-gave-my-keyboard-shortcut-a-terminal-and-a-browser
1•rawala01•1h ago•0 comments