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!

Weight-space programming explained visually in 16 mins

https://www.youtube.com/watch?v=LCwQw21zLHA
1•lroe•1m ago•0 comments

Neural nets learn to program neural nets with fast weights (2021)

https://people.idsia.ch/~juergen/fast-weight-programmer-1991-transformer.html
1•iwhalen•3m ago•0 comments

Rhabdomyolysis

https://my.clevelandclinic.org/health/diseases/21184-rhabdomyolysis
2•tosh•3m ago•0 comments

US Hedge Funds Just Sold Every AI Stock They Bought Since 2025

https://finance.yahoo.com/markets/stocks/articles/us-hedge-funds-just-sold-113114644.html
1•robin_reala•4m ago•0 comments

Show HN: Deputy – let Claude Code or Codex use your logged-in Chrome

https://github.com/RazinAI/deputy
1•falaq-ai•6m ago•0 comments

The Missing Operational Layer in Large-Scale AI Training

https://www.hpcwire.com/2026/10/12/the-missing-operational-layer-in-large-scale-ai-training/
1•eapotapov•7m ago•0 comments

Show HN: An AI bot with its own Linux computer that delivers files (€39/mo)

https://positrom.com/?lang=en
1•cerewro_team•8m ago•0 comments

Fossilised red blood cells found in 115M-year-old dinosaur's bone, scientists

https://www.theguardian.com/science/2026/nov/02/fossilised-red-blood-cells-aratasaurus-dinosaurs-...
1•pseudolus•9m ago•0 comments

The state of MCP auth, November 2026: I scanned 25 public servers

https://patchbay-mcp.dev/blog/state-of-mcp-auth-nov-2026
1•GodSmasher•10m ago•0 comments

Trellis: Fractal Window Manager

https://trelliswm.app/
1•surprisetalk•11m ago•0 comments

Railway Caught Hacking Competitor

https://twitter.com/joshmanders/status/2117530391183507484
2•sergiotapia•11m ago•0 comments

Show HN: Run Conway's Game of Life in CSS

https://bucket.svc.moe/uploads/wss/life.html
2•iridis•11m ago•0 comments

Show HN: Isitslop.org: AI Can build anything. Was it worth it?

https://isitslop.org
1•jayjaychicago•11m ago•1 comments

Congress is banning many hemp products in December

https://www.cnn.com/2026/11/03/health/federal-hemp-thc-product-ban-wellness
1•dtagames•11m ago•1 comments

Cloudflare Zero Wire, a hub for investigating critical Internet vulnerabilities

https://blog.cloudflare.com/zero-wire/
1•usrme•13m ago•0 comments

Mexico, the Final Frontier of the Global War on Cash

https://www.nakedcapitalism.com/2026/11/mexico-the-final-frontier-of-the-global-war-on-cash.html
2•iamnothere•14m ago•0 comments

Gefs: A filesystem for plan 9 built on Bε-trees

https://orib.dev/gefs.html
1•thunderbong•14m ago•1 comments

Thermomasculinity; overclocking, tech fair and politics

https://www.siliqoon.com/signals/thermomasculinity/
1•jrgd•15m ago•1 comments

Show HN: Kicklace – Lead follow-up for builders, not marketing experts

https://www.kicklace.com/demo
1•fallguy04•16m ago•1 comments

Just a little AI resistance, as a treat

https://shkspr.mobi/blog/2026/11/just-a-little-ai-resistance-as-a-treat/
8•mooreds•16m ago•0 comments

Show HN: Model Query, declare a JPA DTO projection once, query it many ways

https://github.com/rey5137/model-query
1•rey5137•17m ago•0 comments

Waiter Making 75K in NJ – Bergen County. Where Do I Stand?

https://salary-statistics.netlify.app/us
1•rlatkdrktkd•17m ago•0 comments

Debloatprint – debloat your printer one model at a time

https://github.com/domeniconicoli/debloatprint
1•domeniconicoli•17m ago•0 comments

Your organization as a Graph

https://dunyakirkali.substack.com/p/your-organization-as-a-graph
1•mooreds•18m ago•0 comments

A realistic Liquid Glass effect in pure CSS and SVG

https://studies.nordify.io/study/001-liquid-glass/
1•timurbutt•18m ago•0 comments

Oh, your agents need OAuth2, too

https://stackoverflow.blog/2026/11/03/oh-your-agents-need-oauth2-too/
1•mooreds•18m ago•0 comments

Show HN: APIblaze: Kong and Auth0 and FGA but $0/month

https://www.apiblaze.com
1•jayjaychicago•20m ago•0 comments

Middle-Earth and Silicon Valley

https://www.churchtimes.co.uk/articles/2026/7-august/features/features/middle-earth-and-silicon-v...
2•ButlerianJihad•21m ago•0 comments

Kiosk Satellite

https://github.com/jxlarrea/kiosk-satellite
1•solarist•22m ago•0 comments

Prax, wallet, transfer and sanctions screening as MCP tools for AI agents

https://prax-labs.com/data-services
1•samfayssal•22m ago•0 comments