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!

Anthropic AI Mandatory Employee Stock Trading Plans for IPO – This Will Not Go W [video]

https://www.youtube.com/watch?v=zi9LsoKISEc
1•xbmcuser•27s ago•0 comments

LLM intelligence vs. cost per task, Dec 2024–Aug 2026

https://www.reddit.com/r/dataisbeautiful/comments/1vhw02h/oc_llm_intelligence_vs_cost_per_task_de...
1•theanonymousone•42s ago•0 comments

I built a free, instant technical and on-page SEO tool and keyword checker

https://www.sitealyser.com
1•johnnyfwk•1m ago•0 comments

Show HN: Benchmark local LLMs fit for your device specs

https://github.com/SupermodularAI/local_bench
1•andrelago•2m ago•0 comments

Informing HTTP Extension Design with Data

https://mnot.net/blog/2026/linting_the_web
1•jiehong•2m ago•0 comments

Show HN: ToolHoard – Compare power tool prices across major US retailers

https://toolhoard.com/
1•wesman5060•8m ago•0 comments

New Mexico Court Orders Meta to Pay $567M

https://www.techpolicy.press/new-mexico-court-orders-meta-to-establish-567-million-fund-to-abate-...
1•DeepLogin•11m ago•0 comments

I wonder if you could make a useful DOS executable with just emoji

https://oldbytes.space/@gloriouscow/117044736309312697
1•birdculture•13m ago•0 comments

Render of the Ford Fathom: Ford's affordable electric pickup truck at $28,350

https://evwire.com/p/ford-fathom-electric-truck-name-price-28350
1•juurikas•16m ago•0 comments

CrossPoint 1.5 has officially been released

https://www.reddit.com/r/xteinkereader/s/AZbairiJzJ
3•kokada•16m ago•0 comments

Show HN: I built a local multi-agent AI for Android on my phone

https://molfar.nova-hata.com/
1•Gucul_Molfar•16m ago•1 comments

Runtime instances: persistent compute for production AI agents

https://aws.amazon.com/blogs/aws/runtime-instances-persistent-compute-for-production-ai-agents-on...
1•bzooka•20m ago•0 comments

The Trump factor in India's proposed new UPI transaction levy

https://indianexpress.com/article/explained/explained-economics/upi-transaction-levy-trump-us-dea...
2•thisislife2•21m ago•0 comments

How Cursor Router chooses the right model for the task

https://cursor.com/blog/how-cursor-router-works
1•alexhandru•22m ago•0 comments

Peko vs. Competitors: Which All-in-One Business Platform Suits Your Needs?

https://adilrashidlone.substack.com/p/peko-vs-competitors-which-all-in
1•digitaldaddyme•25m ago•0 comments

Ukrainian attacks on Wildberries strike at heart of Russia Inc

https://www.reuters.com/world/ukrainian-attacks-wildberries-strike-heart-russia-inc-2026-08-07/
3•TechTechTech•29m ago•0 comments

Microdot Tattoos

https://cipherx.tech/
2•geox•30m ago•0 comments

Show HN: Recipe Jar, a local-first recipe keeper with no account or ads

https://recipejar.app/
2•sbmagar13•31m ago•0 comments

Show HN: File-based HTTP endpoints for Python with its own isolated dependencies

https://github.com/tanrax/bitpoint
1•andros•32m ago•0 comments

From Open Source Software to Open Source Strategy

https://p3institute.substack.com/p/from-open-source-software-to-open
1•theanonymousone•36m ago•0 comments

Python string literals are kinda funny

https://sebsite.pw/w/20260806-pystrings.html
1•theanonymousone•36m ago•0 comments

Moment earthquake shakes hospital operating room in Japan

https://www.bbc.com/news/videos/c1j1eg31y6no
1•NalNezumi•37m ago•0 comments

About Ads in Notifications on Facebook in Meta Ads Manager

https://www.facebook.com/business/help/1193428725816425?_fb_noscript=1
1•cebert•38m ago•1 comments

Markov 1913 and the Missing Piece

https://deepnull.bearblog.dev/markov-1913-and-the-missing-piece/
1•hackboyfly•43m ago•0 comments

Agent Reach: An open-source CLI that gives AI agents access to the internet

https://github.com/Panniantong/Agent-Reach
2•Nina_antalpha•46m ago•1 comments

Wilhelm Voigt

https://en.wikipedia.org/wiki/Wilhelm_Voigt
2•thunderbong•49m ago•0 comments

Show HN: Certo – An open source platform to deliver Open Badges

https://github.com/schroedinger-Hat/certo
1•thejoin95•49m ago•0 comments

Meta's Ray-Bans are getting banned from UK pubs, and the EU is circling

https://thenextweb.com/news/meta-ray-ban-smart-glasses-eu-uk-venue-bans-privacy
3•aquir•50m ago•1 comments

Show HN: posix-regex – POSIX standard regex engine for JavaScript

https://github.com/dawsonhuang0/posix-regex
1•dawson0•51m ago•0 comments

Show HN: Free online calculators – no signup, no fees

https://calcboxer.com/
1•wowinter15•51m ago•0 comments