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•8mo 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•8mo ago
Finally!

Redshift Files: The Hunt for Big Data (2024)

https://motherduck.com/blog/redshift-files-hunt-for-big-data/
1•tosh•46s ago•0 comments

'Ideal Customer Profile' Is a Hallucination

https://pathak.ventures/essays/the-segment-of-one
1•ninadpathak•2m ago•0 comments

Optimizing for Agents: The End of the Ten Blue Links

https://pathak.ventures/essays/the-post-seo-reality
2•ninadpathak•3m ago•0 comments

Storytelling Is a Lossless Compression Algorithm for Sales

https://pathak.ventures/essays/engineering-narrative
1•ninadpathak•3m ago•0 comments

Event Destinations Initiative: A model for event interoperability

https://eventdestinations.org/
1•sea-gold•12m ago•0 comments

Scalability But at what COST? (2015) [pdf]

https://www.usenix.org/system/files/conference/hotos15/hotos15-paper-mcsherry.pdf
2•tosh•12m ago•0 comments

Sed-bin: a sed to C translator written in sed

https://github.com/lhoursquentin/sed-bin
2•fanf2•15m ago•0 comments

Technical Practices That Drive Business Results

https://www.caimito.net/en/blog/2025/12/31/technical-practices-that-drive-business-results.html
2•fud101•15m ago•0 comments

ClickHouse vs. StarRocks vs. Presto vs. Trino vs. Apache Spark

https://www.onehouse.ai/blog/apache-spark-vs-clickhouse-vs-presto-vs-starrocks-vs-trino-comparing...
2•tosh•17m ago•0 comments

A free and open-source rootkit for Linux

https://lwn.net/SubscriberLink/1053099/19c2e8180aeb0438/
2•jwilk•21m ago•0 comments

Consent-O-Matic

https://github.com/cavi-au/Consent-O-Matic
2•throawayonthe•22m ago•0 comments

Skill gives you power. Taste decides how you use it

https://www.alexscamp.com/p/skill-gives-you-power-taste-decides
1•dovhyi•24m ago•0 comments

Robin Hood hashing for modern audiences

https://github.com/rip-create-your-account/hashmap
1•g0xA52A2A•27m ago•0 comments

Daniel's first 20k curl commits

https://daniel.haxx.se/blog/2026/01/17/my-first-20000-curl-commits/
4•todsacerdoti•27m ago•0 comments

Not-Such-Better-Living Through Chemistry (2023)

https://www.science.org/content/blog-post/not-such-better-living-through-chemistry
1•Tomte•29m ago•0 comments

Show HN: iTerm2 MCP Server – Let Claude see and control your terminal panes

https://github.com/sumchattering/iterm2-mcp-server
1•sumeruchat•29m ago•0 comments

File over App: 20 Years of Knowledge Management (Swiss Digital Days 2025) [video]

https://www.youtube.com/watch?v=BOJFHMtyqNs
1•articsputnik•29m ago•1 comments

The Theory Underlying Concept Maps and How to Construct and Use Them (2008)

https://cmap.ihmc.us/docs/theory-of-concept-maps.php
1•Tomte•31m ago•0 comments

A vector-based cognitive protocol (OSF archive)

https://osf.io/ub5f4
1•DELTA-X•31m ago•0 comments

Pentagon readies 1,500 troops to possibly deploy to Minnesota, US media say

https://www.reuters.com/world/us/pentagon-readies-1500-soldiers-possibly-deploy-minnesota-washing...
1•pera•33m ago•0 comments

Show HN: RLM-Toolkit – Secure LangChain

1•Chgdz•36m ago•0 comments

Dreams of Marshalable Stacks

https://blog.julik.nl/2026/01/on-the-way-to-step-functions-part-1
1•julik•36m ago•0 comments

The Max Headroom signal hijacking incident

https://en.wikipedia.org/wiki/Max_Headroom_signal_hijacking
2•l8rlump•40m ago•0 comments

The Death of Medium Intelligence [video]

https://www.youtube.com/watch?v=D2-RQvr2bac
1•surrTurr•47m ago•0 comments

The Plausibly Deniable DataBase (PDDB) Overview

https://betrusted.io/xous-book/ch09-00-pddb-overview.html
1•iberator•50m ago•0 comments

Open Source Is Dead. Long Live Open Execution

https://adlrocha.substack.com/p/adlrocha-open-source-is-dead-long
1•adlrocha•53m ago•3 comments

Show HN: Tempo – A stablecoin payments blockchain built with Reth SDK

https://github.com/tempoxyz/tempo
1•criexe•57m ago•0 comments

Show HN: Alloy – Rust library for connecting apps to Ethereum-based chains

https://github.com/alloy-rs/alloy
1•criexe•57m ago•0 comments

Show HN: Lance – Open lakehouse format for multimodal AI datasets

https://github.com/lance-format/lance
3•criexe•57m ago•0 comments

Spritedrop: Persistent Taildrop file receiver for sprites.dev

https://github.com/kylemclaren/spritedrop
1•sea-gold•57m ago•1 comments