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

LLMs Feed Your Re Habit: Following the Use-After-Free Trail in CLFS

https://clearbluejar.github.io/posts/how-llms-feed-your-re-habit-following-the-uaf-trail-in-clfs/
1•onlinereadme•1m ago•0 comments

Biological Origin for the Ancient Alkanes Preserved in a Martian Mudstone?

https://journals.sagepub.com/doi/10.1177/15311074261417879
1•PaulHoule•1m ago•0 comments

Julia: Performance Tips

https://docs.julialang.org/en/v1/manual/performance-tips/
1•tosh•1m ago•0 comments

Show HN: PgDog – scale Postgres without changing the app

https://pgdog.dev/
1•levkk•1m ago•0 comments

Reading the Manual for Eniac, the First Electronic Computer

https://thenewstack.io/reading-the-manual-for-eniac-the-worlds-first-electronic-computer/
1•stmw•1m ago•0 comments

Show HN: Arcbase – understand what your startup equity is worth

https://arcbase.co
1•Elberonian•2m ago•1 comments

TOS-friendly third party clients for Claude Pro/Max

https://twitter.com/emi0x7d1/status/2025950762119897274
1•emi2k01•2m ago•1 comments

Anthropic Education the AI Fluency Index

https://www.anthropic.com/research/AI-fluency-index
1•armcat•3m ago•0 comments

Archive.org hosts petabytes of copyrighted software for free

https://archive.org/details/software
1•majorchord•4m ago•2 comments

How HN: Vibe Coding Review Checklist – Evaluate AI-Generated Code Quality

https://github.com/aiqualitylab/vibe-coding-checklist
1•LetsAutomate•5m ago•1 comments

Inside the real jobs crisis

https://spectator.com/article/real-jobs-crisis-labor-pains/
1•toomuchtodo•5m ago•0 comments

Last A-10 to Leave Depot, Maintenance Squadron to Deactivate

https://www.airandspaceforces.com/last-a-10-to-leave-depot-maintenance-squadron-deactivate/
1•HardwareLust•6m ago•0 comments

Show HN: EloPhanto – A self-evolving AI agent that builds its own tools

https://github.com/elophanto/EloPhanto
1•elophanto_agent•7m ago•0 comments

Impact of Programming Languages on Code Quality (2019)

https://arxiv.org/abs/1901.10220
1•tosh•7m ago•0 comments

Commodore Rulez (Video(chiptunes))

https://www.youtube.com/watch?v=pEEbU79rJko
1•Torwald•7m ago•0 comments

Show HN: A private system to help families align with who they want to become

https://becomeintentional.substack.com/p/if-you-dont-decide-who-youre-becoming
1•zoodstartups•8m ago•0 comments

Photography helped the British empire classify India

https://www.bbc.com/news/articles/cn7jjz1r3meo
1•thisislife2•8m ago•0 comments

Toqan AI for Restaurants

https://www.restaurants.toqan.ai/
1•avh02•9m ago•0 comments

Show HN: A2SPA – Cryptographic payload signing and verification for AI agents

https://aimodularity.com/A2SPA
1•caprioladevin•11m ago•1 comments

PlayerTradeHubGaming marketplace I built at 14

https://playertradehub.com/
1•Jhoney•11m ago•1 comments

TinySDLC – Agent orchestrator with SDLC role discipline for AI coding (MIT)

1•dttai•11m ago•0 comments

Show HN: Self-hosted lightweight file sharing app. (folderhost)

https://github.com/MertJSX/folderhost
3•mertjsx•12m ago•0 comments

Agentsview

https://www.agentsview.io/
2•tosh•12m ago•0 comments

Macroquad – Simple and easy to use game library for Rust

https://macroquad.rs/
1•modinfo•12m ago•0 comments

Show HN: Vram.run – Compare API providers, local GPUs, and cloud for any model

https://vram.run
1•jad-nohra•14m ago•1 comments

Insider Amnesia

https://www.seangoedecke.com/insider-amnesia/
2•medbar•14m ago•0 comments

Show HN: Kwin-MCP – MCP server for AI-driven Linux GUI automation via KWin

https://github.com/isac322/kwin-mcp
1•isac322•14m ago•0 comments

Rational and Practical Salary Negotiation

https://longviewy.com/salary-negotiation-prep-pack-with-script/
1•josephcs•14m ago•0 comments

The long decline of night work

https://www.update.news/p/the-long-decline-of-night-work
1•StefanSchubert•15m ago•0 comments

Dow drops 600 points as confusion grows after U.S. tariffs

https://www.cnbc.com/2026/02/22/stock-market-today-live-updates.html
4•Betelbuddy•15m ago•1 comments