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!

Schlussel: An Authentication Runtime for Agents

https://github.com/pepicrft/schlussel
1•pepibumur•22s ago•0 comments

Using the M1 MacBook Air in 2026

https://mahadk.com/posts/m1-mba
1•JustSkyfall•2m ago•0 comments

The Adaptyv binder design competition (2024)

https://blog.booleanbiotech.com/adaptyv-binder-design-competition
1•6177c40f•3m ago•0 comments

MCP Discovery API – Let AI agents find the right tools automatically

https://mcp-discovery-production.up.railway.app
1•yksanjo•3m ago•1 comments

My first year in sales as technical founder

https://www.fabiandietrich.com/blog/first-year-in-sales.html
1•f3b5•3m ago•0 comments

Backpressure in Client-Server Applications

https://travishaagen.github.io/posts/backpressure-in-client-server-applications/
1•haagen•4m ago•0 comments

Downwind faster than the wind explained by a Romanian [video]

https://www.youtube.com/watch?v=ZdbshP6eNkw
1•joebig•4m ago•0 comments

Show HN: LlmSHAP – Multi-threaded input importance for prompts and RAG context

https://github.com/filipnaudot/llmSHAP
1•filipn9•6m ago•0 comments

The Last Algorithm

https://danielmiessler.com/blog/the-last-algorithm
1•mooreds•6m ago•0 comments

The mysterious singer with streams – but who (or what) is she?

https://www.bbc.com/news/articles/cq6v83gq66eo
1•breve•6m ago•0 comments

Why Twenty Years of DevOps Has Failed to Do It

https://www.honeycomb.io/blog/you-had-one-job-why-twenty-years-of-devops-has-failed-to-do-it
1•mooreds•6m ago•0 comments

China Is Becoming Private Equity for the World

https://danielmiessler.com/blog/china-private-equity-world
2•mooreds•6m ago•0 comments

Micron breaks ground on humungous NY DRAM fab

https://www.theregister.com/2026/01/16/micron_fab_breaks_ground/
2•bikenaga•8m ago•0 comments

An Agent for Acme (Plan9)

https://blazelight.dev/blog/plan9-agent.mdx
1•rcarmo•9m ago•0 comments

Mcpbr: Stop guessing and evaluate your MCP server against standard benchmarks

https://github.com/greynewell/mcpbr
3•captradeoff•10m ago•1 comments

Antarctica: Alien Secrets Beneath the Ice, a Documentary by Linda Moulton Howe

https://web.archive.org/web/20120516073202/https://www.endoftheworld2012.net/apps/blog/entries/sh...
1•vinyasi•10m ago•0 comments

Show HN: PrinceJS – Now with OpenAPI, Zod Validation, and Built-In Middleware

1•lilprince1218•11m ago•0 comments

Execution Eats Strategy for Breakfast

https://notes.philippdubach.com/0006
1•7777777phil•13m ago•0 comments

DuckDB: Larger-Than-Memory Workloads

https://duckdb.org/docs/stable/guides/performance/how_to_tune_workloads
2•tosh•17m ago•0 comments

TubeReader – Read YouTube instead of watching it

https://tubereader.org/
1•anurzhynskyy•18m ago•1 comments

Show HN: RandomForestGenerator – CSV to ML in the browser, but local

https://jonaraphael.github.io/RandomForestGenerator/RFG.html
1•jonaraphael•19m ago•0 comments

Gradient.horse

https://gradient.horse/
2•cainxinth•19m ago•0 comments

Show HN: Zig parser in ~70 lines of JavaScript

https://github.com/cztomsik/tokamak/blob/0c61e07835e7e32a3270df7815f84611147f1770/docs/zig-parser.js
2•cztomsik•20m ago•0 comments

The Dawn of the Renaissance Developer

https://thekernel.news/articles/dawn-of-the-renaissance-developer/
2•saikatsg•22m ago•0 comments

Report Says AI That Hallucinated a Cop into a Frog Is Making Utah 'Safer'

https://www.techdirt.com/2026/01/16/report-says-ai-that-hallucinated-a-cop-into-a-frog-is-making-...
1•hn_acker•23m ago•1 comments

Show HN: ctx – Reusable context packs for coding agents

https://github.com/vladisov/ctx
1•vladisov•26m ago•0 comments

Video Analysis of ICE Shooting Sheds Light on Contested Moments

https://www.youtube.com/watch?v=D9R9dAmws6M
4•subjektivation•26m ago•0 comments

Getting a 1986 Mac Plus Online (Easy) [video]

https://www.youtube.com/watch?v=nlT8aRMm-cE
1•rcarmo•30m ago•0 comments

voyage-multimodal-3.5: a new multimodal retrieval frontier with video support

https://blog.voyageai.com/2026/01/15/voyage-multimodal-3-5/
2•fzliu•31m ago•0 comments

Rust's Culture of Semantic Precision

https://www.alilleybrinker.com/mini/rusts-culture-of-semantic-precision/
1•todsacerdoti•32m ago•0 comments