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

Tech Is Taking over Olympic Curling

https://spectrum.ieee.org/olympics-curling-robot-ai
1•JeanKage•1m ago•0 comments

US Justice Department hangs Trump banner at headquarters

https://www.ft.com/content/6eca9b40-a775-470f-83f0-a6f72e616230
1•pera•1m ago•0 comments

Internationalise the Fediverse

https://shkspr.mobi/blog/2024/02/internationalise-the-fediverse/
3•todsacerdoti•5m ago•0 comments

Slurm: A Highly Scalable Workload Manager

https://github.com/SchedMD/slurm
1•tosh•5m ago•0 comments

Rust Developer Ecosystem Survey 2025: Popularity, Trends, and Future

https://blog.jetbrains.com/rust/2026/02/11/state-of-rust-2025/
1•gudzpoz•5m ago•0 comments

Untapped Way to Learn a Codebase: Build a Visualizer

https://jimmyhmiller.com/learn-codebase-visualizer
1•andreabergia•6m ago•0 comments

Terrible economics of package registries and how to fix them [video]

https://fosdem.org/2026/schedule/event/8WJKEH-package-registry-economics/
1•stargrave•6m ago•0 comments

Don't Touch the Mouse: Chrome Shortcuts Every Developer Should Know

https://devdong.textlanes.com/en/dont-touch-the-mouse
1•textlanes33•6m ago•1 comments

Show HN: AstroLens – AI that watches the sky and finds what nobody catalogued

https://github.com/deepfieldlabs/astroLens
1•samantaba•8m ago•0 comments

The paradox of work – Tim Harford

https://timharford.com/2026/02/the-paradox-of-work/
2•swolpers•10m ago•0 comments

Raspberry Pi Pico 2 at 873.5MHz with 3.05V Core Abuse

https://learn.pimoroni.com/article/overclocking-the-pico-2
1•Lwrless•10m ago•0 comments

NASA boss says Boeing Starliner failure one of worst in its history

https://www.bbc.com/news/articles/cm2x3nlxg9jo
2•mywacaday•11m ago•0 comments

What Makes Online Content Viral? [video]

https://www.youtube.com/watch?v=rE3j_RHkqJc
1•microsoftedging•11m ago•0 comments

The death of the two-week sprint

https://blog.invidelabs.com/the-death-of-the-two-week-sprint/
1•witnessme•12m ago•0 comments

Web Components: The Framework-Free Renaissance

https://www.caimito.net/en/blog/2026/02/17/web-components-the-framework-free-renaissance.html
2•mpweiher•12m ago•0 comments

"Just making code is not enough"

https://twitter.com/twitter/status/2024747695689376032
1•jmsflknr•15m ago•1 comments

Computer Using Agents on Secure Cloud VMs That Run Forever

https://coasty.ai:443/
1•nkov47as•16m ago•1 comments

AI Supply Chain – Map of the supply chain behind a single ChatGPT query

https://aisupplychain.vercel.app
1•helloplanets•16m ago•0 comments

Gemini users report chat history disappeared from sidebar (acknowledged)

https://piunikaweb.com/2026/02/19/google-gemini-chat-history-missing/
1•ant6n•17m ago•0 comments

Show HN: Generative Art Shaders

https://fxy.art
1•0xdada•20m ago•0 comments

Show HN: Trustmeplease.ai – trust, don't guess (a trust network for AI agents)

https://www.trustmeplease.ai/
1•kanelbullen•25m ago•3 comments

Trump could do the funniest thing and release UAP files

https://www.bbc.com/news/articles/c4g57gqqln1o
2•lackoftactics•25m ago•0 comments

Show HN: How to Plan a n8n Workflow

https://theowllogic.com/plan-n8n-workflow
2•wayofthekatana•25m ago•0 comments

A Motorcycle for the Mind

https://nav.al/ai
1•swolpers•26m ago•0 comments

Show HN: Spanora, world class Agent observability platform

https://spanora.ai
1•kriptonio•26m ago•0 comments

Show HN: Nvshmem from Scratch – RDMA, GPUDirect, and GPU Networking Demystified

https://cppcheatsheet.com/notes/blog/nvshmem.html
1•crazyguitar•26m ago•0 comments

Ask HN: Is it worth learning Vim in 2026?

14•zekejohn•31m ago•3 comments

El-init – A statically compiled Emacs init PID1 patchset and service supervisor

https://github.com/emacs-os/el-init
1•telecommuter•32m ago•0 comments

Show HN: Inkwell-MCP – An MCP server for newsletter creators (open source)

https://github.com/ludobos/inkwell-mcp
1•lbostral•38m ago•1 comments

Show HN: Gatherly – E-signatures and doc collection for professional services

https://gatherly.shop
1•ivannovazzi•39m ago•0 comments