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

Chat Control: EU Parliament said no to Big Tech mass surveillance of your chats

https://www.techradar.com/vpn/vpn-privacy-security/chat-control-eu-parliament-said-no-to-big-tech...
1•iamnothere•2m ago•0 comments

Jeff Bezos Upended the Washington Post

https://www.nytimes.com/2026/03/14/business/media/washington-post-jeff-bezos-layoffs.html
1•y1n0•3m ago•0 comments

Raving at the End of the World: looking for transcendence on the dance floor

https://www.theatlantic.com/culture/2026/03/sirat-movie-raving/686373/
1•ryan_j_naughton•6m ago•0 comments

Ask HN: Software upgrade recommendation engine – Planning to build one

1•paperplaneflyr•7m ago•0 comments

The State of Computers

https://hesnotjoking.substack.com/p/computers-e2c
1•ucla_rob•9m ago•0 comments

Vacuum Electrostatic Engineering

https://dspace.mit.edu/handle/1721.1/32556
1•akshatjiwan•15m ago•0 comments

Takeaways from Our "Growing Up in the Digital Age" Summit

https://blog.google/innovation-and-ai/technology/safety-security/gsec-summit-2026-recap/
1•y1n0•15m ago•0 comments

Shuffle Your Thoughts to Sleep

https://mysleepbutton.com/en/home/
1•inatreecrown2•20m ago•0 comments

Repoly – AI tool that explains any GitHub repository

https://www.repoly.pro/
1•yusufbe•21m ago•1 comments

How locked in are we? [video]

https://www.youtube.com/watch?v=nDDFjwu4gV0
2•kshri24•22m ago•0 comments

Open-Source "GreenBoost" Driver Aims to Augment Nvidia GPUs VRAM with System RAM

https://www.phoronix.com/news/Open-Source-GreenBoost-NVIDIA
1•ofrzeta•24m ago•0 comments

Show HN: Dorkly – automated Google dorking that somehow survives captchas

https://dorkly.stanl.ink/download/
2•sir_stanley_•28m ago•0 comments

Live Nation worker admitted ignoring predatory ticket broker practices

https://nypost.com/2026/03/13/business/live-nation-worker-admitted-ignoring-predatory-ticket-brok...
2•1vuio0pswjnm7•30m ago•0 comments

Using skills to accelerate OSS maintenance

https://developers.openai.com/blog/skills-agents-sdk/
1•donutshop•33m ago•0 comments

macOS app to copy text from screenshot

1•tiredmilk•36m ago•1 comments

How I Run 16 Parallel AI Workers on a Single Desktop

https://www.northlakelabs.com/max/blog/how-i-run-16-parallel-ai-workers/
1•maximus_claw•36m ago•0 comments

Ask HN: Balancing the use of AI in out inter communication (h2h)

1•tzury•44m ago•0 comments

Microslop

https://www.s-config.com/microslop/
4•signa11•49m ago•0 comments

Anonymous Chatting App

https://tormessenger.lovable.app
1•genx__•51m ago•0 comments

Japan loses its thirst for vending machines

https://www.ft.com/content/a0e80f5d-4c42-443d-9788-2f9924c774bf
3•petethomas•53m ago•0 comments

Ladybird Browser Is in for a Rusty Future [video]

https://www.youtube.com/watch?v=fXnuR6nXJzc
1•nicoburns•54m ago•0 comments

Twistors and Unification

https://www.math.columbia.edu/~woit/wordpress/
2•gone35•1h ago•0 comments

Ask HN: Can the RAM shortage push personal computing behind forever?

1•rishabhaiover•1h ago•1 comments

Tree style invite systems reduce AI slop

https://abyss.fish/tree-style_invite_systems_reduce_AI_slop
3•y1n0•1h ago•2 comments

Ask HN: Do yall know how to connect Roku remote to fire stick

1•igotdaphone•1h ago•0 comments

Show HN: Internet Speed Limiter – throttle iPhone/iPad network for testing

https://apps.apple.com/us/app/internet-speed-limiter/id6760114671
1•thisisjaymehta•1h ago•0 comments

Rack-Mount Hydroponics

https://sa.lj.am/rack-mount-hydroponics/
38•cdrnsf•1h ago•5 comments

How Discord Stores Trillions of Messages

https://discord.com/blog/how-discord-stores-trillions-of-messages
2•thunderbong•1h ago•0 comments

Robinhood Is Hiring

https://twitter.com/JobsNowPR/status/2032866987815125447
2•qwertyuiop_•1h ago•0 comments

Queueing Theory of Traffic

https://jslandy.com/traffic-queue/
3•efavdb•1h ago•0 comments