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!

Shein is a global slavery company masquerading as an e-commerce platform

https://en.wikipedia.org/wiki/Shein
2•matheusalmeida•4m ago•0 comments

Show HN: I built a live stream site where every spot is instantly AI-generated

https://videoai.me/live
2•Paul_Grsl•5m ago•0 comments

DuckDB Runs Recursive CTEs Faster

https://duckdb.org/2026/08/25/how-duckdb-runs-recursive-ctes-faster
2•boshomi•8m ago•0 comments

Nix Is Right. Its Cost Is Not

https://nrd.sh/blog/store-was-never-the-point.html
1•ssernikk•9m ago•0 comments

Raindrops are tiny lightning bolts, and they're corroding cars, study finds

https://arstechnica.com/science/2026/08/raindrops-are-tiny-lightning-bolts-and-theyre-corroding-c...
1•Archelaos•11m ago•0 comments

Initial USB4/Thunderbolt Support for Apple M1/M2/M3 SoCs

https://lkml.iu.edu/2608.3/12164.html
1•metrofun•13m ago•0 comments

Why the Way We Append Data to LLM Is Killing Our Cache and Model Attention

https://github.com/orbsh/wiki/blob/main/tail-prompt-optimization-en.md
1•orbsh•14m ago•0 comments

Claude, Codex, and Hermes installed unowned code inside corporate networks

https://arstechnica.com/security/2026/08/claude-codex-and-hermes-installed-unowned-code-inside-co...
1•nreece•18m ago•0 comments

I Tried Every AI Browser, Then Went Back to Safari

https://medium.com/@patricecunliffe/i-tried-every-ai-browser-then-went-back-to-safari-b43ccdeff7a5
2•syumei•19m ago•0 comments

Solaris

https://runway.com/news/research/introducing-solaris
1•o4c•20m ago•0 comments

Londoners Are Stewing over Supercar Tourists Who Park Wherever They Want

https://www.wsj.com/world/uk/london-middle-east-luxury-cars-parking-tickets-b1fb0f0c
2•JumpCrisscross•23m ago•0 comments

But where does taste come from?

https://dustycloud.org/blog/but-where-does-taste-come-from/
1•birdculture•24m ago•0 comments

FakeLinux: Run unmodified Linux binaries on macOS

https://github.com/ayourtch-llm/fakelinux
1•AbuAssar•25m ago•0 comments

Satellite connectivity on a €400 open-source industrial datalogger

https://docs.isurlog.isurki.com/blog/2026/08/31/ntn-on-the-nrf9151-low-cost-satellite-iot-without...
1•tecnica•28m ago•0 comments

AnkiDroid: Google Play no longer allowing Open Collective donation link

https://github.com/ankidroid/Anki-Android/issues/21656
21•hexa555•29m ago•1 comments

Anthropic Signs $35B Cloud Deal Backed by Nvidia

https://www.wsj.com/tech/ai/anthropic-signs-35-billion-cloud-deal-backed-by-nvidia-f12622f1
1•JumpCrisscross•30m ago•0 comments

Computer use on GNOME Wayland, on a second desktop you never see (for Agents)

https://github.com/tristanmuzzu/deskwright
1•curious_human37•33m ago•0 comments

Chinese reasoning models match the best on 4 of 5 benchmarks at 40x lower cost

https://reports.ag-insights.co.uk/state-of-ai-reasoning/
1•moralec•33m ago•1 comments

It was billed as effortless London luxury. Then tenants found out the rules

https://www.ft.com/content/e9b9a8fa-bbce-44a0-adc4-c1f1cc9f2113
1•JumpCrisscross•38m ago•0 comments

Bringing Package Management to Swift's C++ Interoperability

https://blog.conan.io/cpp/conan/swift/macos/xcode/2026/09/01/Swift-Cpp-Interop-With-Conan-Managed...
1•czoido•38m ago•0 comments

Show HN: Turn your face into an ASCII type

https://www.pixelstech.net/application/ascii-portrait/
2•misonic•38m ago•0 comments

Abliterated model large v2: GLM 5.3 84.5% CyberGym

https://abliteration.ai/blog/introducing-abliterated-model-large-v2
1•gafferongames•38m ago•0 comments

Roman Science

https://science.nasa.gov/mission/roman-space-telescope/science/
2•andsoitis•44m ago•0 comments

YouTuber Markiplier becomes GoPro's largest shareholder - price jumps by 50%

https://www.heise.de/en/news/GoPro-YouTuber-is-now-largest-shareholder-stock-price-jumps-50-perce...
1•waysa•44m ago•0 comments

44% on ARC-AGI-1 in 67 cents

https://mvakde.github.io/blog/44-on-arc-1/
17•porridgeraisin•48m ago•3 comments

Appwrite 2.0: a new foundation for your apps_

https://appwrite.io/blog/post/announcing-appwrite-2
1•SigmundurM•48m ago•0 comments

Protesters in Argentina urge tech billionaire Peter Thiel to leave

https://www.aljazeera.com/video/newsfeed/2026/8/30/protesters-in-argentina-urge-tech-billionaire-...
1•mgh2•50m ago•0 comments

Show HN: CueCast – No-code web tests with multi-locator replay and CDP fallback

https://www.icuecast.ai/
1•cloudcanalx•50m ago•0 comments

Shared Agents with Separate Permissions

https://github.com/agentconnect-md/agentconnect
4•DanielWen•51m ago•1 comments

NASA: Fill in a name, and you can have an exclusive coordinate in the universe

https://science.nasa.gov/mission/roman-space-telescope/adopt-a-pixel/
5•BearBest•54m ago•1 comments