frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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!

US and Iran are playing a crypto cat-and-mouse game over sanctions

https://finance.yahoo.com/economy/policy/articles/bernie-sanders-introduce-bill-giving-135431485....
1•rmason•38s ago•0 comments

Iran's largest crypto exchange is used by the IRGC to move millions

https://www.reuters.com/investigations/one-irans-most-powerful-families-founded-its-largest-crypt...
1•rmason•1m ago•0 comments

Show HN: Mnemo – local-first AI memory layer for any LLM (Rust, SQLite,petgraph)

https://github.com/zaydmulani09/mnemo
1•zaydmulani•3m ago•0 comments

After Tailoring My Resume, I Landed 3 Job Offers in 3 Weeks

https://old.reddit.com/r/ResumeTips/comments/1rby70o/after_tailoring_my_resume_i_landed_3_job_off...
1•nixass•4m ago•0 comments

Sipio – A minimalist tasting journal for coffee, wine, beer and other drinks

https://jirkapenzes.github.io/sipio-web/
1•jiripenzes•7m ago•0 comments

Systems for Making Systems

https://maxkapur.com/2026/06/03/metasystems.html
1•speckx•12m ago•0 comments

Enshittification, Despotification, and the Open Internet (by Mike Masnick)

https://www.liberalism.org/p/enshittification-despotification-and-the-open-internet
2•liotier•15m ago•0 comments

'All Systems Glow'

https://www.cnet.com/tech/all-systems-glow-apple-teases-wwdc-2026-with-new-tagline-playlist-wallp...
1•rbanffy•16m ago•0 comments

Show HN: Aeterna – Private, passwordless AI digital legacy vault

https://helloaeterna.com/
1•ls1911•17m ago•1 comments

TrustedRouter: One API, all the LLMs, provably private

https://jperla.com/blog/trustedrouter-one-api-all-llms-provably-private
2•ljlolel•19m ago•0 comments

Git and S3 as the memory layer for agents

https://twitter.com/VijitDhingra1/status/2062265896039833935
2•crush_robo_1536•19m ago•0 comments

My Software North Star

https://kristoff.it/blog/north-star/
2•kristoff_it•19m ago•0 comments

What your router knows (but won't tell)

https://david.weekly.org/blog/2026-04-16-what-your-router-knows/
1•ujeezy•19m ago•0 comments

How LLMs Work

https://www.0xkato.xyz/how-llms-actually-work/
2•0xkato•20m ago•0 comments

It's time to fly – Codex [video]

https://www.youtube.com/watch?v=bJcA23ckzcY
2•phyzix5761•23m ago•0 comments

A Man Who Reads Books for a Living (One Every Two Days)

https://lithub.com/the-man-who-reads-books-for-a-living-one-every-two-days/
3•gmays•27m ago•0 comments

Show HN: CLI for crawling documentation sites into Markdown with defuddle

https://github.com/artemnistuley/docrawl
1•nistuley•27m ago•0 comments

The Approach to Equilibrium

https://www.guidavid.com/writing/approach-to-equilibrium
1•gdss•28m ago•0 comments

Revealing the Frontier with Stacks and Queues

https://dystroy.org/blog/stack-and-queues/
1•g0xA52A2A•30m ago•0 comments

NULLs in ClickHouse can hurt performance

https://rushter.com/blog/clickhouse-nulls/
1•birdculture•31m ago•0 comments

Why are there no good tablets at the moment?

https://neilzone.co.uk/2026/06/why-are-there-no-good-tablets-at-the-moment/
1•speckx•32m ago•0 comments

Rewiring software delivery for the agentic era

https://www.mckinsey.com/capabilities/technology/our-insights/rewiring-software-delivery-for-the-...
1•igor_mart•34m ago•0 comments

Monitor all your servers from one beautiful dashboard

https://boxwatch.app/
1•genx-joe•34m ago•0 comments

Show HN: I created a React alternative using web componnents

https://createthirdplaces.org/tech/placesjs.html
3•gulugawa•35m ago•0 comments

Multi-stage distributed query execution in ClickHouse Cloud

https://clickhouse.com/blog/multi-stage-distributed-query-execution-clickhouse-cloud
1•samaysharma•35m ago•0 comments

Stophy for AI Agents

https://stophy.dev
1•hakiiizimana•35m ago•0 comments

Trump's Takeover of the American Regulatory Machine

https://www.wsj.com/politics/policy/trump-takeover-regulators-130b57a3
5•doener•37m ago•0 comments

Analysis of Canadian Surveillance Law Expansion Under Bill C-22 – CitizenLab

https://citizenlab.ca/research/analysis-of-proposed-surveillance-law-expansion-under-bill-c-22/
2•EmbarrassedHelp•39m ago•1 comments

PaceVer (an alternative to SemVer, for mobile apps)

https://pacever.org/
2•maxloh•39m ago•0 comments

How ClickHouse Became 26x Faster at Joins

https://clickhouse.com/blog/clickhouse-fast-joins
1•samaysharma•40m ago•0 comments