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

Show HN: Sentinel – Audit-Ready JSON DBMS in Rust

https://sentinel.cyberpath-hq.com/
1•ebalo55•56s ago•0 comments

Infrared Heating

https://www.nomoregas.org/ceiling-infrared-heating
1•thelastgallon•5m ago•0 comments

Karman Industries hopes its heat pumps will replace industrial boilers

https://techcrunch.com/2024/09/19/karman-industries-hopes-its-spacex-inspired-heat-pumps-will-rep...
1•joak•9m ago•0 comments

New Patches Aim to Lower Linux Memory Use for Swap, Slightly Improve Performance

https://www.phoronix.com/news/Linux-Better-Swap-Tencent
1•Bender•9m ago•0 comments

Find That Obscure Function with This Interactive Map of the Linux Kernel

https://hackaday.com/2023/09/14/find-that-obscure-function-with-this-interactive-map-of-the-linux...
1•grajmanu•9m ago•0 comments

Firefox Nightly Enables Split-View Mode Option by Default

https://www.phoronix.com/news/Firefox-Nightly-Split-View
1•Bender•9m ago•0 comments

Show HN: Obsidian plugin that uses your existing LLM CLI tools

https://github.com/hardbyte/obsidian-llm-plugin
1•hardbyte•10m ago•0 comments

AMD Radeon Linux Driver Introduces Low-Latency Video Decode Option

https://www.phoronix.com/news/RadeonSI-Low-Latency-Decode
1•Bender•10m ago•0 comments

The Case That Shook the Catholic Church in India

https://www.youtube.com/watch?v=MAUajsADl-A
1•grajmanu•11m ago•0 comments

My workflow for editing and compiling videos as a programmer

https://initcoder.com/posts/my-workflow-for-editing-video-as-a-programmer/
1•chbkall•11m ago•0 comments

How Clawdbot Remembers Everything

https://twitter.com/manthanguptaa/status/2015780646770323543
1•Anon84•12m ago•0 comments

Thermus Aquaticus

https://en.wikipedia.org/wiki/Thermus_aquaticus
1•thunderbong•12m ago•0 comments

Roo Code 3.43.0 – Intelligent Context Condensation v2 – Settings Cleanup

https://docs.roocode.com/update-notes/v3.43.0
1•hrudolph•13m ago•2 comments

Frame Experiments [video]

https://www.youtube.com/shorts/oYd79OV6v1M
1•lisper•13m ago•0 comments

Eyes On – News

https://eyeson.news/
1•luisfkandriolo•13m ago•1 comments

Teammates, Not Coworkers

https://luke.hsiao.dev/blog/teammates-not-coworkers/
1•lwhsiao•14m ago•0 comments

100 years of Telly bt Jenny List

https://hackaday.com/2026/01/26/one-hundred-years-of-telly/
1•grajmanu•14m ago•0 comments

Pizza Hut Staff Assaults Zomato Delivery Boy Over Low Ratings

https://www.news18.com/cities/hyderabad-news/pizza-hut-staff-assaults-hyderabad-zomato-delivery-b...
2•rustoo•16m ago•0 comments

Microsoft Jan 22nd (Outlook Outage) Root Cause Analysis Released

https://old.reddit.com/r/sysadmin/comments/1qo15q8/microsoft_jan_22nd_root_cause_analysis_released/
1•jofzar•17m ago•1 comments

Context Will Replace Design

https://focused.io/lab/context-will-replace-your-design
1•austinbv•23m ago•0 comments

Apple updates iOS 12.5.8 for iPhone 5s from 13 years ago, iOS 15, 16, 18 too

https://www.iphoneincanada.ca/2026/01/26/apple-drops-ios-26-2-1-and-surprise-updates-for-older-ip...
2•Terretta•24m ago•2 comments

China's megawatt-class airborne wind power system, completed its first flight [video]

https://www.youtube.com/watch?v=GOM8NagknQI
1•thelastgallon•27m ago•0 comments

The Importance of Diversity

https://geohot.github.io//blog/jekyll/update/2026/01/27/the-importance-of-diversity.html
2•mefengl•29m ago•0 comments

Places to Telnet

https://telnet.org/htm/places.htm
2•tokyobreakfast•30m ago•1 comments

Hallucination Stations: On Some Basic Limitations of Transformer-Based Language

https://arxiv.org/abs/2507.07505
1•todsacerdoti•30m ago•0 comments

Hacker News front page now, but the titles are honest. #2

https://dosaygo-studio.github.io/hn-front-page-2035/news-honest-2025-01-27.html
1•keepamovin•33m ago•2 comments

Intrinsic Loneliness

https://juun.vercel.app/en/blog/13
1•juun_roh•35m ago•0 comments

GPUs Became the Newest Financial Asset

https://davefriedman.substack.com/p/how-gpus-became-the-newest-financial
2•walterbell•38m ago•0 comments

Hacker News: Savage Mode

https://dosaygo-studio.github.io/hn-front-page-2035/news-honest-2025-01-27-2.html
4•keepamovin•40m ago•1 comments

Show HN: Infinijest, Video Feed Experiment

https://infinijest.com
2•throwawaste•48m ago•1 comments