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!

China's analogue AI chip runs 12x as fast on 1/200 the energy of digital rivals

https://www.scmp.com/news/china/science/article/3340939/chinas-analogue-ai-chip-runs-12-times-fas...
1•martinlaz•56s ago•0 comments

Who use chatbots for news consider them unbiased and "good enough"

https://www.niemanlab.org/2026/01/people-who-use-chatbots-for-news-consider-them-unbiased-and-goo...
1•giuliomagnifico•2m ago•0 comments

Indoor Mapping – OpenStreetMap Wiki

https://wiki.openstreetmap.org/wiki/Indoor_Mapping
2•marklit•4m ago•0 comments

Post-Quantum Cryptography

https://en.wikipedia.org/wiki/Post-quantum_cryptography
1•aggrrrh•6m ago•0 comments

Testing AI orchestrated cyber attacks in practice

https://blog.fraktal.fi/testing-ai-orchestrated-attacks-in-practice-12f8fb03191e
1•tmakkonen•15m ago•0 comments

Downloading a Podcast to Create an Audiobook

https://kevinboone.me/clh_podcast_to_audiobook.html
1•LaSombra•16m ago•0 comments

Why I Don't Have Fun With Claude Code

https://brennan.io/2026/01/23/claude-code/
3•ingve•17m ago•0 comments

Why digital signatures break on structured healthcare data

https://formidable.care/articles/understanding-the-identity-integrity-gap-in-digital-signing
1•vincentxplore•19m ago•0 comments

Roleplayers

1•shoman3003•19m ago•0 comments

Faster Loading for GitHub Issues

https://github.blog/changelog/2026-01-22-faster-loading-for-github-issues/
2•ramon156•21m ago•0 comments

Web-SQLite-JS allows for the persistence of relational data on web clients [video]

https://www.youtube.com/watch?v=ZHYDv4GPprU
1•wuchuheng•25m ago•0 comments

Ask HN: Which paid apps and services do you use?

2•chistev•30m ago•0 comments

SnapHabit : Extreme habit accountability with AI and friend groups

https://snap-habit.com/
1•apollos•30m ago•0 comments

E-scooter sharing company Bird has raised $20M

https://micromobility.io/news/birds-parent-company-third-lane-mobility-raises-20m
1•prabinjoel•32m ago•2 comments

AI-Powered CSPM Tools Are Transforming Cloud Compliance

https://digimagazine.co.uk/how-ai-powered-cspm-tools-are-transforming-cloud-compliance/
1•cybleinc•34m ago•0 comments

Does AI-Assisted Coding Deliver? A Study of Cursor on Software Projects

https://arxiv.org/abs/2511.04427
2•iLoveOncall•35m ago•0 comments

Ghostty's AI Policy

https://github.com/ghostty-org/ghostty/blob/main/AI_POLICY.md
4•mefengl•38m ago•1 comments

A crowdsourced repository for optimization constants?

https://terrytao.wordpress.com/2026/01/22/a-crowdsourced-repository-for-optimization-constants/
1•jjgreen•40m ago•0 comments

Dcli: Declarative Package Management for Arch Linux (Inspired by NixOS)

https://gitlab.com/theblackdon/dcli
1•signa11•46m ago•0 comments

The new rules of the road for agentic commerce

https://www.mastercard.com/us/en/news-and-trends/stories/2026/agentic-commerce-rules-of-the-road....
2•saikatsg•48m ago•0 comments

Copilot SDK in Technical Preview

https://github.com/orgs/community/discussions/184872
1•edent•48m ago•0 comments

Google is ending full-web search for niche search engines

https://programmablesearchengine.googleblog.com/
65•01jonny01•51m ago•34 comments

Voice Layer for AI Agents Built with Rust, Pluggable to All Agentic Frameworks

https://github.com/SaynaAI/sayna
1•tigranbs•51m ago•0 comments

Raiden Warned About AI Censorship [video]

https://www.youtube.com/watch?v=-gGLvg0n-uY
1•DeathArrow•55m ago•0 comments

Show HN: Thalo – A "programming" language for structured knowledge

https://github.com/rejot-dev/thalo
3•WilcoKruijer•59m ago•0 comments

From Tomorrow Back to Yesterday: A Tale of Two Web Architectures – Yang [video]

https://www.youtube.com/watch?v=8W6Lr1hRgXo
1•adityaathalye•59m ago•0 comments

The State of Modern AI Text to Speech Systems for Screen Reader Users

https://stuff.interfree.ca/2026/01/05/ai-tts-for-screenreaders.html
2•tuukkao•1h ago•0 comments

Apple is burying the Time Capsule, but how to replace it?

https://sixcolors.com/post/2026/01/apple-is-burying-the-time-capsule-but-how-to-replace-it/
4•tosh•1h ago•1 comments

What time you should arrive at cinema to avoid adverts

https://news.sky.com/story/what-time-you-should-actually-arrive-at-cinema-to-avoid-adverts-13149863
1•austinallegro•1h ago•0 comments

Subject of Unique Interest: Mary Freeman Heuston Lewis and William Dean Howells

https://commonplace.online/article/a-subject-of-unique-interest/
1•bryanrasmussen•1h ago•1 comments