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•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!

Second – Scalable Bitcoin Payments with Ark and Lightning

https://second.tech/
1•janandonly•54s ago•0 comments

Malaysia bans social media accounts for children under 16, but questions remain

https://www.latimes.com/world-nation/story/2026-06-01/malaysia-bans-social-media-accounts-for-chi...
1•1vuio0pswjnm7•3m ago•1 comments

'People are getting hurt': OpenAI sued by Florida over alleged safety risks

https://www.latimes.com/business/story/2026-06-02/people-are-getting-hurt-florida-suing-openai-am...
2•1vuio0pswjnm7•5m ago•1 comments

Nuclear Space Power and Propulsion [video]

https://www.youtube.com/watch?v=QxeRPQGQDk4
1•skibz•5m ago•0 comments

We've raised $10M to build open source AI security

https://archestra.ai/blog/archestra-announces-10m-seed
4•ildari•5m ago•1 comments

Meta reveals details about layoffs in Playa Vista and Menlo Park

https://www.latimes.com/business/story/2026-06-02/meta-provides-details-about-layoffs-in-playa-vi...
1•1vuio0pswjnm7•5m ago•0 comments

Dumb core, smart edge for AI agents

https://arizenai.com/dumb-core-smart-edge/
1•arizen•6m ago•0 comments

Show HN: Cable Detective Mac App – What's Plugged In

https://cable-detective.franzai.com/
1•franze•7m ago•0 comments

Show HN: Jørnal, a journaling app where the page is always blank

https://jornal.ink
1•tskj•8m ago•0 comments

Analogue 3D Has a New Competitor (Modretro M64 Review) [video]

https://www.youtube.com/watch?v=RMROAr8VOxg
1•skibz•8m ago•0 comments

RHSB-2026-006 Supply chain compromise of RedHat-cloud-services NPM packages

https://access.redhat.com/security/vulnerabilities/RHSB-2026-006
1•dralley•8m ago•0 comments

Show HN: Humm – Share the Vibe, an app for quantifying the ambience

https://play.google.com/store/apps/details?id=com.abj.humm&hl=en_US
1•abj1729•10m ago•0 comments

How consent-gated email works

https://goodsender.com/blog/how-consent-gated-email-works-and-why-its-free/
1•efsher_azoy2•13m ago•0 comments

Bothering to Understand

https://www.autodidacts.io/bothering-to-understand/
1•surprisetalk•13m ago•0 comments

Show HN: HashCortX] – [AI desktop agent UI app by a vibecoder pharmacist]

1•Hash7777•14m ago•1 comments

We lost track of what Web3 is

https://jthor.eth.link/blog/2026/04/13/web3-means-freedom-software/
1•hem777•14m ago•0 comments

Show HN: Ket – a quantum circuit debugger that runs in the browser

https://github.com/brenocq/ket
1•brenocq•16m ago•0 comments

Sweden is now America's most valuable tech ally. Most Americans haven't noticed

https://thehill.com/opinion/technology/5898904-strategic-alliance-sweden-us/
7•RickJWagner•20m ago•0 comments

Show HN: A desktop first local log analyzer with fast search and MCP

https://github.com/logsonic/logsonic/
2•aagosh•22m ago•1 comments

How to Build an MVP in the AI Coding Era [video]

https://www.youtube.com/watch?v=rQtrzBcf_Us
2•neko_ranger•24m ago•0 comments

Astronomers discover exoplanets with magnetic fields via wind patterns

https://www.reuters.com/science/astronomers-discover-exoplanets-with-magnetic-fields-2026-06-02/
2•ck2•24m ago•1 comments

Bromism Influenced by AI Psychosis (2025)

https://www.acpjournals.org/doi/10.7326/aimcc.2024.1260
2•epestr•25m ago•0 comments

I am building a more accurate multilingual sentence boundary detector

https://github.com/speedyk-005/yasbd-lib
2•speed4011•26m ago•0 comments

Ohbin – uv wrapper for installing tools from GitHub

https://github.com/prostomarkeloff/ohbin
2•notmarkeloff•26m ago•0 comments

Amazon's Ring sued over facial recognition feature

https://www.reuters.com/legal/government/amazons-ring-sued-over-facial-recognition-feature-latest...
3•1vuio0pswjnm7•28m ago•0 comments

Curation and Its Side Effects

https://www.autodidacts.io/curators-skim/
2•surprisetalk•28m ago•0 comments

Apple rejected my dictation app for using the accessibility API

https://www.mitmllc.com/blog/apple-rejected-my-dictation-app/
6•RZelaya•28m ago•1 comments

Artificial Intelligence for Software Engineering: From Probable to Provable

https://cacm.acm.org/opinion/artificial-intelligence-for-software-engineering-from-probable-to-pr...
3•gregnavis•29m ago•0 comments

Pinball on 64-Bit Alpha AXP Windows NT

https://virtuallyfun.com/2026/06/02/pinball-on-64-bit-alpha-axp-windows-nt/
2•jandeboevrie•30m ago•0 comments

SpaceX sets aside up to 5% of shares in IPO for certain employees and friends

https://www.cnbc.com/2026/06/01/spacex-sets-aside-up-to-5percent-of-shares-in-ipo-for-employees-a...
3•1vuio0pswjnm7•30m ago•0 comments