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!

JPEG-XL as default in AppStream, and better media processing

https://blog.tenstral.net/2026/09/jpeg-xl-appstream-and-better-media-processing.html
1•F3nd0•2m ago•0 comments

Moodle – Open-source learning management system

https://moodle.org/
2•doodlesdev•2m ago•0 comments

Show HN: Subsmap, mapping audience overlap across 126k subreddits

https://subsmap.com/
1•knivef•3m ago•0 comments

Ask HN: Is opaque over-engineering with frontier AI the future of software?

2•reacharavindh•7m ago•0 comments

Infineon RISC-V for Automotive at Hot Chips 2026

https://www.servethehome.com/infineon-risc-v-for-automotive-at-hot-chips-2026/
1•fork-bomber•11m ago•0 comments

Show HN: Kepil – passport, mandate and tamper-evident journal for AI agents

https://github.com/oleg-vdv/kepil
2•ipgleg•24m ago•0 comments

Dynamically add programs to PATH on Windows

https://abhij.it/dynamically-add-programs-to-path-on-windows/
2•thunderbong•27m ago•0 comments

Byblos AI: AI co-founder sharing context across product, brand, and campaigns

https://byblosai.app
1•Sharanxxxx•27m ago•0 comments

Airbnb Preventing the Use of BnB

https://www.theguardian.com/technology/2026/sep/14/portland-bnb-airbnb-silicon-valley-legal-battl...
5•cycomanic•27m ago•1 comments

Engineering Confidence

https://www.developing.dev/p/engineering-confidence
1•AntonZ234•28m ago•0 comments

$300M financing for 10-satellite edge-computing constellation

https://spacenews.com/sophia-space-and-sli-agree-on-300-million-financing-for-10-satellite-edge-c...
2•KinetiNode•32m ago•0 comments

World of Warcraft running in a web browser

https://play.keldurn.com/
1•wasm__•34m ago•0 comments

3D viz of how DeepSeek Flash v4.1 is different from decode only transformer

https://whip.run/experience/356b3eba-23ce-4dc8-bff2-4f7bc1862966
3•samagra14•36m ago•0 comments

Expired Compromise: Why Higher Education Standardized

https://expired-compromise.colindreis.com
1•CDreis201•40m ago•0 comments

Ask HN: Do you worry about fires in AI datacenters?

3•roschdal•48m ago•5 comments

Copper and Bronze: The Far-Reaching Consequences of Metallurgy

https://ufl.pb.unizin.org/imos/chapter/copper-bronze/
1•andsoitis•48m ago•0 comments

Tools that were invented during the Bronze Age

https://www.flagfen.com/invented-during-the-bronze-age
1•andsoitis•50m ago•1 comments

Building Multilingual Bridges

https://cohere.com/research/papers/building-multilingual-bridges-2026-09-10
1•andsoitis•53m ago•0 comments

Hacker News – The first days frontpage (19-02-2007)

https://news.ycombinator.com/front?day=2007-02-19
2•etoxin•53m ago•1 comments

Ask HN: What if we had to come back?

4•sans_souse•56m ago•6 comments

Show HN: I was frustrated with AI giving confident answer,Even when it was wrong

https://demo.aqqai.in
2•Vineetyadav2•59m ago•0 comments

Open-Weight Diplomacy: How China's AI Models Are Rerunning the Digital Silk Road

https://www.lawfaremedia.org/article/open-weight-diplomacy--how-china-s-ai-models-are-rerunning-t...
2•usmlatif•1h ago•0 comments

Can a local LLM beat -O3?

https://tijl.blog/posts/cppcon-local/
2•yeputons•1h ago•0 comments

Who Gets to Define the Rules for AI?

https://cohere.com/blog/who-gets-to-define-the-rules-for-ai
8•throwworhtthrow•1h ago•2 comments

Saudi pipeline outage threatens loss of 4% of global oil supply

https://www.reuters.com/business/energy/saudi-pipeline-outage-threatens-loss-4-global-oil-supply-...
2•littlexsparkee•1h ago•0 comments

Grid-Free Monte Carlo for Time-Dependent Diffusion

https://arxiv.org/abs/2609.12306
1•E-Reverance•1h ago•0 comments

Inverse-Square Law

https://blog.coredump.cx/p/inverse-square-law
3•surprisetalk•1h ago•0 comments

Pi(e) in a box: running pi on risk-v inside a VM inside TinyEmu inside WASM

https://deepclause.substack.com/p/pie-in-a-box-running-pi-on-risk-v
2•schmuhblaster•1h ago•0 comments

The /3 Body Problem

https://labs.ripe.net/author/remco-van-mook/the-3-body-problem/
4•m_montazeri•1h ago•0 comments

Ask HN: Building KasirCepat, an offline-first POS for Indonesia

1•cas8398•1h ago•0 comments