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!

Alphabet plans to raise $80B from stock sales to fund AI buildout

https://www.cnbc.com/2026/06/01/alphabet-to-raise-80-billion-from-stock-sales-to-fund-ai-buildout...
1•Indian_in_US•1m ago•0 comments

Tesla May registrations jump in several European markets as recovery continues

https://www.reuters.com/business/tesla-may-registrations-jump-several-european-markets-recovery-c...
1•JumpCrisscross•2m ago•0 comments

Show HN: I reduced LLM inference GPU calls by 94% using semantic routing

https://icomnewtechnologies.com/proof/proof_install.sh
1•kanacki•3m ago•0 comments

Macroscale Connectivity in the Octopus Brain

https://www.biorxiv.org/content/10.1101/2025.05.28.656524v1.full
1•jonnonz•4m ago•0 comments

Implicit.js, a way for agents to do 3D design with math

https://github.com/earthtojake/implicit.js
1•softservo•4m ago•1 comments

Show HN: Going from 1+1=2 to Quantum Mechanics

https://quantum.schols.io/intro
1•chaidhat•6m ago•0 comments

Open source project contains hidden instruction for "AI" agents: delete my code

https://www.osnews.com/story/145130/open-source-project-contains-hidden-instruction-for-ai-agents...
2•mbreese•7m ago•0 comments

75 years of the Fender Telecaster: 12 guitarists who defined the Tele

https://newatlas.com/music/75-years-fender-telecaster-12-guitarists/
2•breve•11m ago•0 comments

BYD plans to bring all-solid-state batteries to EVs by 2027, but it's not alone

https://electrek.co/2026/06/01/byd-all-solid-state-batteries-evs-by-2027/
4•breve•13m ago•0 comments

Show HN: QR Boarding Pass Generator++

https://bcbpgenerator.com/
1•micktor•13m ago•0 comments

Florida sues OpenAI and Sam Altman over marketing ChatGPT despite serious risks

https://fortune.com/2026/06/01/florida-sues-openai-ceo-sam-altman-chatgpt-safety-warnings/
3•1vuio0pswjnm7•19m ago•0 comments

A tale of two weekend projects

https://csmeyer.substack.com/p/a-tale-of-two-weekend-projects
3•csmeyer•24m ago•0 comments

Jenesis – A modern Java build tool

https://github.com/raphw/jenesis/tree/main/demo
1•raphw•27m ago•1 comments

Every Byte Matters

https://fzakaria.com/2026/06/01/every-byte-matters
3•setheron•27m ago•0 comments

The architect who became the king of bank robberies

https://thehustle.co/the-architect-who-became-the-king-of-bank-robberies
3•rmason•27m ago•0 comments

For Goldman's Top Bankers, It's All AI Data Centers All the Time

https://www.bloomberg.com/news/articles/2026-06-01/for-goldman-s-top-bankers-it-s-all-ai-data-cen...
1•1vuio0pswjnm7•28m ago•0 comments

Natural tissue immortality: Indefinite survival of sea cucumber explants

https://www.science.org/doi/10.1126/sciadv.aeb1394
1•bookofjoe•29m ago•0 comments

The MCP Context Tax – Notes from Running 605 Tool Packs

https://pipeworx.io/blog/mcp-context-tax-tool-routing/
1•pipeworx•29m ago•0 comments

Speech Studio – I open-sourced a local voice cloning Mac app (free, no API keys)

https://old.reddit.com/r/SideProject/comments/1tu78nn/speech_studio_i_opensourced_a_local_voice_c...
1•ipotapov•31m ago•1 comments

Hatch: Write agent rules/skills once, generate for all

https://github.com/grafana/hatch
1•matryer•31m ago•0 comments

The SpaceX Squeeze

https://www.bloomberg.com/opinion/newsletters/2026-06-01/the-spacex-squeeze
3•davidw•32m ago•0 comments

We built a 12-step verification pipeline. It caught zero real errors

https://www.inc.com/heather-wilde/before-you-let-ai-run-your-business-read-this/91327205
2•bobrenze•32m ago•0 comments

I tracked 68 automation metrics. Only 3 changed my behavior

https://www.inc.com/heather-wilde/4-tech-strategies-revolutionizing-business-operations.html
1•bobrenze•33m ago•0 comments

NeuROK: Generative 4D Neural Object Kinematics

https://chen-geng.com/neurok
1•ychidken•34m ago•0 comments

Repo explainer – For coders that can't read good

https://repo-explainer.com/
3•seahorsecastle•35m ago•3 comments

Why Are Human Teeth So Messed Up? (2017)

https://www.sapiens.org/biology/human-teeth-evolution/
2•downbad_•41m ago•0 comments

Famous Photo of Chernobyl's Dangerous Radioactive Material Was a Selfie (2016)

https://www.atlasobscura.com/articles/elephants-foot-chernobyl
3•downbad_•42m ago•0 comments

OpenAI frontier models and Codex are now available on AWS

https://openai.com/index/openai-frontier-models-and-codex-are-now-available-on-aws/
7•typpo•44m ago•0 comments

AI's reality check has arrived

https://www.fastcompany.com/91551700/ais-reality-check-has-finally-arrived
3•1vuio0pswjnm7•50m ago•0 comments

Terrascan: Explore public deep earth scan datasets

https://terrascan.bowd.io
3•bowd•51m ago•1 comments