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

'Project Hail Mary' Directors Announce In-Theater Director Commentary Track

https://thatparkplace.com/project-hail-mary-commentary-track/
1•canucker2016•39s ago•1 comments

Moving from academic to industry career plans: A personal story

https://sites.lsa.umich.edu/math-graduates/2020/09/15/moving-from-academic-to-industry-career-pla...
1•ganitam•8m ago•0 comments

Why I quit "The Strive"

https://www.joanwestenberg.com/why-i-quit-the-strive/
1•zdw•8m ago•0 comments

Vulnpocalypse: AI, Open Source, and the Race to Remediate

https://www.resilientcyber.io/p/vulnpocalypse-ai-open-source-and
1•chillax•9m ago•0 comments

YouTube locked my accounts and I can't cancel my subscription

https://pocketables.com/2026/04/ai-music-corporate-control-and-the-creator-who-cant-even-leave.html
1•digitalhigh•10m ago•0 comments

PeerDrop – P2P file sharing across devices

https://github.com/jj10133/PeerDrop
2•jj_3•12m ago•1 comments

Eyes on the Solar System – Artemis

https://eyes.nasa.gov/apps/solar-system/
1•memalign•14m ago•0 comments

Negative effects of artificial sweeteners may pass on to next generation

https://www.eurekalert.org/news-releases/1121524
1•XzetaU8•14m ago•0 comments

Show HN: Shell-MCP A persistent terminal for AI- CD, env vars,and nvm carry over

1•prasanthsd•17m ago•0 comments

Explaining the Most Important Artemis II Photos [video]

https://www.youtube.com/watch?v=oaXRREHVkHo
1•Orochikaku•18m ago•0 comments

RoboPhD: Evolving complex agents under tight budgets

https://arxiv.org/abs/2604.04347
1•azhenley•19m ago•0 comments

States Are Learning the Wrong Lesson from the 'Mississippi Miracle'

https://www.theatlantic.com/ideas/2026/04/mississippi-education-miracle/686731/
1•JumpCrisscross•19m ago•1 comments

$190M Settlement in Facebook User-Privacy Case Wins Approval in Delaware Court

https://www.law.com/therecorder/2026/04/08/190m-settlement-in-facebook-user-privacy-case-wins-app...
2•1vuio0pswjnm7•22m ago•0 comments

Ask HN: Apple terminated my membership while converting it to an organization

3•creepy•27m ago•0 comments

GitHub Copilot – Community-contributed agents, instructions, and skills

https://awesome-copilot.github.com/
1•ms7892•27m ago•0 comments

Slipping up Slippi with spectator RCE

https://khang06.github.io/slippirce/
1•khangaroo•29m ago•0 comments

First man convicted under Take It Down Act kept making AI nudes after arrest

https://arstechnica.com/tech-policy/2026/04/first-man-convicted-under-take-it-down-act-kept-makin...
3•tzs•32m ago•0 comments

Reverse-engineering an encrypted IoT protocol

https://smlx.dev/posts/goodwe-sems-protocol-teardown/
1•swq115•34m ago•0 comments

MemPalace – A Masterclass in Grifting

https://twitter.com/AdvicebyAimar/status/2041559354034344438
2•doppp•36m ago•0 comments

A Minecraft mod that reveals the Alpha world under bedrock

https://multision.dev/alphabelow/
2•EvilGoose•38m ago•0 comments

Scaling AI is now constrained by energy, cooling and physics

https://blog.se.com/digital-transformation/artificial-intelligence/2026/02/13/scaling-ai-in-the-r...
2•latentframe•42m ago•2 comments

Book Review: Savage Money (2024)

https://entropicthoughts.com/book-review-savage-money
1•kqr•42m ago•0 comments

Show HN: Every AI writing tool sounds the same, this one sounds like you

https://toneswap.app
1•cammyjr•42m ago•1 comments

(YT) Economics Explained: Job Losses Across Sectors [video]

https://www.youtube.com/watch?v=1zlD0K09IKE
1•Martin-Carlsson•44m ago•0 comments

Zig – Incremental Compilation with LLVM

https://ziglang.org/devlog/2026/#2026-04-08
1•Retro_Dev•46m ago•0 comments

Zed's Agent Stats

https://zed.dev/blog/agent-metrics
1•tylerchr•50m ago•0 comments

TAS Explained: Super Mario Bros. 3 in 0.2 seconds [video]

https://www.youtube.com/watch?v=fQYX_AVxGq0
1•medbar•53m ago•0 comments

Ask HN: Does Vibe Coding and Prompt Engineering make me an Software Engineer?

1•wasimsk•54m ago•9 comments

Hip-hop pioneer, Afrika Bambaataa, dies aged 68

https://www.bbc.co.uk/news/articles/c2evppm30p7o
37•mellosouls•56m ago•4 comments

A Source Code Exhibition

https://www.sourcecode-exhibition.softwareheritage.org/
1•pabs3•58m ago•0 comments