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!

Logic for Programmers by Hillel Wayne

https://logicforprogrammers.com/
1•_doctor_love•3m ago•0 comments

Show HN: A travel app not building generic itinerary

https://uncoverroads.com/
1•sourav_biswas•7m ago•0 comments

Fauci pleads 5th to what colour of tie he's wearing

https://www.skynews.com.au/details/_6402439292112
1•SanjayMehta•9m ago•0 comments

OpenMetaHarness

https://github.com/openmetaharness/openmetaharness
3•IzhaarTejani•15m ago•1 comments

Show HN: IncomeOS – income from many small sources, in one screen and an MCP

https://github.com/Perufitlife/incomeos
1•renzomad•17m ago•0 comments

OpenURL

https://en.wikipedia.org/wiki/OpenURL
1•toomuchtodo•18m ago•0 comments

Milvus 3.0: Lake-Native Vector Search, S3-Based Storage, Offline/Batch Workflows

https://milvus.io/blog/announcing-milvus-3-lake-native-vector-search-and-a-more-powerful-retrieva...
3•redskyluan•19m ago•0 comments

Show HN: Full stack development from one codebase web, Android, and iOS

https://github.com/usedowe/dowe-lang
1•victorriba•21m ago•1 comments

The AI Bubble Is About to Explode? [video]

https://www.youtube.com/watch?v=xKuDvRRE7Bc
1•ripe•22m ago•1 comments

A GPU-Hour Isn't a Commodity If You Need Four of Them

https://davefriedman.substack.com/p/a-gpu-hour-isnt-a-commodity-if-you
1•gmays•25m ago•0 comments

Bonsaikitten.com

https://en.wikipedia.org/wiki/Bonsai_Kitten
3•tokai•28m ago•0 comments

All Soda Yearns to Be Red

https://haterade.substack.com/p/all-soda-yearns-to-be-red
2•mrkaye97•30m ago•0 comments

There's never been a better time to commit financial fraud

https://www.economist.com/business/2026/07/29/theres-never-been-a-better-time-to-commit-financial...
5•petethomas•33m ago•2 comments

Show HN: A local merge queue for parallel Claude Code agents

https://github.com/funador/claude-code-merge-queue
6•funador•35m ago•1 comments

Indie Web Directories

https://paultibbetts.uk/indieweb-directories/
2•Curiositry•36m ago•0 comments

Locust – Simple Open-Source Load Testing

https://locust.io/
2•Curiositry•37m ago•0 comments

A future where software self-improves and interacts with the physical world

https://3reate.com/podcast/everyones-a-billionaire-now-what/
4•andrewjneumann•38m ago•1 comments

For the cheap price of a permanent tatto, get access to job interview

3•NoRagrets•40m ago•0 comments

If Claude/Codex can connect via, what do we need a context layer for?

https://getunblocked.com/blog/mcp-connectors-are-not-a-context-engine/
4•dennispi•43m ago•0 comments

Ask HN: Is Claude (code) taking significantly longer to run tasks for anyone?

2•LostMyLogin•44m ago•1 comments

Show HN: Karrouet – Dots and Boxes game we used to play as kids in Tunisia

https://www.reddit.com/r/karrouet/
4•nirvanist•44m ago•0 comments

Mythos attack on 3rd-round PQC algorithm candidate puts it out of commission

https://arstechnica.com/security/2026/07/mythos-uncovers-crypto-weaknesses-that-went-unknown-for-...
3•jnord•45m ago•0 comments

Pokémon is turning to facial recognition scans to help combat scalpers

https://www.pcgamer.com/games/card-games/the-pokemon-company-is-turning-to-facial-recognition-sca...
2•Cider9986•46m ago•0 comments

Creator of Test That OpenAI Models Tried to Cheat Sounds Alarm

https://www.bloomberg.com/news/articles/2026-07-29/creator-of-test-that-openai-models-tried-to-ch...
2•sbulaev•48m ago•0 comments

The Vocabulary Bottleneck

https://moekhalil.substack.com/p/the-vocabulary-bottleneck
3•mfkhalil•48m ago•0 comments

Show HN: Mousecrack – Bypass bot detection with deep learning

https://github.com/puffinsoft/mousecrack
3•BeverlyHills001•49m ago•0 comments

Physicists Solve a Muon Mystery. Now, Old Results Don't Add Up

https://www.quantamagazine.org/physicists-solve-a-muon-mystery-now-old-results-dont-add-up-20260729/
3•jnord•49m ago•0 comments

Sell Your AI Skills?

https://capabase.ai/learn/sell-your-ai-skills
8•trebuh•54m ago•5 comments

Kimi K3's Design Secret May Be in Its Thinking Traces

https://notes.designarena.ai/kimi-k3s-design-secret-may-be-in-its-thinking-traces/
3•gmays•54m ago•0 comments

Show HN: Generate, Version and Host your resumé all via GitHub

https://github.com/sadigaxund/git-resume
1•sakhund•55m ago•0 comments