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!

•38s ago

OpenQuantum's DIY Open-Source Magneto-Optical Atomic Trap

https://www.diyphysics.com/2023/11/10/openquantums-diy-open-source-magneto-optical-atomic-trap/
1•o4c•3m ago•0 comments

Microsoft outage based phishing live now

https://ravenmail.io/blog/microsoft-365-outage-phishing-lure
1•abishekr•4m ago•0 comments

Artex.sh

https://www.artex.sh
1•iLuddite•7m ago•0 comments

An update on Cursor's recent security incident

https://cursor.com/blog/security-incident-update
1•nreece•8m ago•0 comments

Do Firms Know What Workers Want? [pdf]

https://www.econtribute.de/RePEc/ajk/ajkdps/ECONtribute_443_2026.pdf
1•rohanm93•13m ago•0 comments

Artificial Intelligence in Neuromuscular Diseases

https://link.springer.com/article/10.1007/s40120-026-01017-8
1•measurablefunc•13m ago•0 comments

Show HN: Shot Ease – Screen Capture full pages

https://chromewebstore.google.com/detail/shot-ease-screen-capture/cejbjpbkachlmgbphckaikicmnpmfjdn
1•lucakk•15m ago•0 comments

The Nefarious Plan of vm2

https://nefariousplan.com/posts/the-nefarious-plan-of-vm2
1•tsavo42•16m ago•0 comments

Requests for Hardwares

https://blog.greg.technology/2026/11/14/requests-for-hardwares.html
1•gregsadetsky•22m ago•0 comments

Effect of Process and Geometric Parameters on Residual Distortion of Ti-6Al-4V

https://www.sciencedirect.com/science/article/pii/S2950431724000601
1•num42•24m ago•0 comments

US and Russia to oppose talks on limiting autonomous weapons

https://www.reuters.com/world/us-russia-oppose-talks-limiting-autonomous-weapons-2026-11-16/
2•geox•25m ago•0 comments

Pyr.js: Python and R in HTML pages, with one script tag

https://www.r-bloggers.com/2026/11/pyr-js-python-and-r-in-html-pages-with-one-script-tag/
1•xnx•27m ago•0 comments

Global Chip Supply After Jensen Huang's Fall

https://medium.com/@klay_79514/global-chip-supply-after-jensen-huangs-fall-1ba96ba609b0
1•klay_moon•28m ago•1 comments

A Local-First Agent for Private Knowledge Work

https://www.perplexity.ai/hub/blog/a-local-first-agent-for-private-and-cost-effective-knowledge-work
1•thunderbong•28m ago•0 comments

Nvidia's Days as an Open Checkbook for the AI Economy Are Numbered

https://www.wsj.com/tech/ai/nvidias-days-as-an-open-checkbook-for-the-ai-economy-are-numbered-90c...
3•mfiguiere•32m ago•0 comments

Show HN: Free AI Background Remover with Local Browser Privacy Mode (No Sign-Up)

https://toolifyhub.tools/tools/background-remover
1•trandigkhan•35m ago•0 comments

Show HN: GummyType – Free bubble letter generator with transparent PNG export

https://gummytype.com
2•lfdev•37m ago•0 comments

Linux was created as a rejection of robust software architecture and tools

https://twitter.com/GrapheneOS/status/2122079826257588569
10•privacyishuman•38m ago•3 comments

The iPhone Duo is being returned, and it's not just about the cracks

https://www.howtogeek.com/the-iphone-duo-is-being-returned-and-its-not-just-about-the-cracks/
2•walterbell•40m ago•0 comments

Muse Voice Transcribe

https://research.meta.ai/blog/introducing-muse-voice-transcribe
1•gmays•42m ago•1 comments

What music does Gemini Decision 1 like?

https://blog.lwarfield.dev/what-music-does-decision-gemini-like/
3•lwarfield•46m ago•1 comments

Reports of AI-related child sexual abuse material rise 8,400% in two years

https://www.theguardian.com/technology/2026/nov/16/ai-related-child-sexual-abuse-material-rise-ex...
4•madihaa•1h ago•0 comments

Intel sued by shareholders following 29% stock plunge

https://www.reuters.com/business/intel-sued-by-shareholders-following-29-stock-plunge-2026-11-15/
4•madihaa•1h ago•0 comments

Soft Superhuman Software

https://alok.blog/soft-superhuman
1•yuppiemephisto•1h ago•1 comments

Listening to music as an active process

https://www.autodidacts.io/listening-to-music-as-an-active-process/
8•Curiositry•1h ago•1 comments

Show HN: Memeo – Turn static photos into lip-synced AI meme videos in seconds

https://memeo.app/
1•shuangge•1h ago•0 comments

New Mexico wanted free childcare for all; what's worked – and what hasn't

https://text.npr.org/nx-s1-6040194
14•1659447091•1h ago•1 comments

Megaspeed says Alice Huang left in 2025

https://apnews.com/article/singapore-megaspeed-alice-huang-nvidia-probe-e9e2e18169dce0b30a34f3971...
3•Jarlakxen•1h ago•0 comments

Recent progress in mathematics, discussed by research mathematicians

https://mathhelm.org/
4•qnleigh•1h ago•0 comments