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!

I'll Build This Later

https://cnicodeme.com/ill-build-this-later
1•cx42net•1m ago•0 comments

WhatsApp web doesn't support voice/video call

1•webtcp•2m ago•0 comments

CSS-only Mario World (with keyboard)

https://codepen.io/t_afif/pen/JoKYwXO
1•l34k•2m ago•0 comments

Updated Vulkan Tutorial from Sascha Willems (2026)

https://www.howtovulkan.com/
1•socki•5m ago•1 comments

Understanding FIPS 202: The Design of Keccak, SHA-3, and Shake

https://codingpirate.com/understanding-fips-202-the-design-of-keccak-sha-3-and-shake-aaad72608cc9
1•Deeptiman•5m ago•1 comments

Musk seeks up to $134B from OpenAI, Microsoft in fraud lawsuit

https://www.business-standard.com/world-news/musk-seeks-up-to-134-billion-from-openai-microsoft-i...
1•hagbard_c•12m ago•0 comments

I hotreload Rust and so can you

https://kampffrosch94.github.io/posts/hotreloading_rust/
1•polanas•14m ago•0 comments

Do people still need websites, or just a public page?

1•paravaib•17m ago•0 comments

Pushing the smallest possible change to production

https://ankursethi.com/blog/smallest-possible-change/
1•todsacerdoti•20m ago•0 comments

Log Levels: A Better Strategy with OpenTelemetry

https://www.dash0.com/knowledge/log-levels
1•ayoisaiah•21m ago•0 comments

Vercel Launches Skills – "NPM for AI Agents" with React Best Practices Built-In

https://jpcaparas.medium.com/vercel-launches-skills-npm-for-ai-agents-with-react-best-practices-b...
1•zenoware•29m ago•0 comments

The Instant Pot Failed Because It Was a Good Product (2023)

https://www.theatlantic.com/technology/archive/2023/06/instant-pot-bankrupt-private-equity/674414/
1•rwmj•29m ago•1 comments

The 600-year-old origins of the word 'hello'

https://www.bbc.com/culture/article/20260113-hello-hiya-aloha-what-our-greetings-reveal
8•1659447091•31m ago•1 comments

Ask HN: Favorite YouTube Channels?

2•chistev•37m ago•1 comments

Ask HN: Any tools for managing multi Claude Code instances?

1•tansan•39m ago•0 comments

Why Saunas, Bathhouses, Cold Plunge Pools Are So Popular

https://www.bloomberg.com/news/features/2026-01-16/why-saunas-bathhouses-cold-plunge-pools-are-so...
1•Anon84•40m ago•0 comments

Show HN: Termilingo – a terminal-based spaced repetition flashcard app

https://github.com/ayakovlenko/termilingo
1•ayakovlenko•40m ago•0 comments

Case Study: Hydration Latency in Enterprise E-Commerce (Nike vs. New Balance)

https://websiteaiscore.com/blog/nike-vs-new-balance-technical-audit
1•aggeeinn•48m ago•1 comments

Photo was taken in 1911 using glass plate technology

https://bsky.app/profile/alanjstedman.bsky.social/post/3mcm2qdizg22u
4•doener•48m ago•1 comments

Don't be a human alarm clock

https://mannhowie.com/human-alarm-clock
1•elephant_burger•50m ago•1 comments

WhisperPair: Hijacking Bluetooth Accessories Using Google Fast Pair

https://whisperpair.eu/
3•xerosic•51m ago•0 comments

Vercel's Web Interface Guidelines

https://vercel.com/design/guidelines
1•handfuloflight•52m ago•0 comments

I used an agent to hunt vulns

https://blazelight.dev/blog/agent-vuln-hunting.mdx
1•theblazehen•53m ago•0 comments

Fitdrop: Personal exploration of fashion from 1980 to 2025

https://fitdrop.cc/
2•num42•54m ago•0 comments

What predicts success in AI coding? (Analysis of 4.6k amp threads)

https://amp-analysis-casestudy.vercel.app/
1•njpatel•56m ago•0 comments

Incarnation Lease

https://atmankalena.substack.com/p/incarnation-lease
1•Trifectorium•59m ago•1 comments

Why Mixing Colors on Your Computer Makes Mud

https://spectraljs.com/blog/why_mixing_colors_on_your_computer_makes_mud/
2•rvanwijnen•1h ago•0 comments

Architecture for Disposable Systems

https://tuananh.net/2026/01/15/architecture-for-disposable-systems/
6•tuananh•1h ago•2 comments

The modern, full-stack TypeScript framework that makes T3 Stack look like 2022

https://github.com/yazcaleb/c4-template
2•plawlost•1h ago•0 comments

Multi armed bandit resource allocation in Near Memory Processing architectures

https://www.sciencedirect.com/science/article/pii/S277306462500012X
4•rbanffy•1h ago•0 comments