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!

Open-source Discord alternative GoofCord has been released

https://github.com/Milkshiift/GoofCord
1•javatuts•39s ago•0 comments

The hype literacy toolkit for journalists

https://akademie.dw.de/hype-literacy/
1•johnshades•54s ago•0 comments

Regarding what ever happened to Cohere's Command-A series of models

https://old.reddit.com/r/LocalLLaMA/comments/1tizmar/re_what_ever_happened_to_coheres_commanda_se...
1•Terretta•1m ago•0 comments

Elon Musk's X admits noncompliance with Australia child protection request

https://www.reuters.com/legal/litigation/elon-musks-x-admits-noncompliance-with-australia-child-p...
1•1vuio0pswjnm7•2m ago•0 comments

Physicists confirm 'negative time' is real by asking the atoms themselves

https://www.livescience.com/physics-mathematics/quantum-physics/physicists-confirm-negative-time-...
1•cpncrunch•4m ago•0 comments

Creating Feedback Loops with Snapshotting [video]

https://vimeo.com/1194170218
1•Austin_Conlon•4m ago•0 comments

Convicted Felon Gets $1M/Year to Sell Obsolete Internet Service. You Pay for It

https://www.propublica.org/article/alaska-telecom-subsidies-roger-shoffstall
1•1vuio0pswjnm7•5m ago•0 comments

Pokemon Gen2 Compression Myth

https://old.reddit.com/r/TruePokemon/comments/hwluk9/while_it_is_true_that_iwata_did_write_a_new/
1•birdculture•9m ago•0 comments

The Letter S, by Donald Knuth [pdf]

https://gwern.net/doc/design/typography/1980-knuth.pdf
2•bambax•12m ago•0 comments

Parameter-Efficient Fine-Tuning Methods for Pretrained Language Models

https://www.computer.org/csdl/journal/tp/2026/06/11364256/2dAZTYlgxVu
1•teleforce•14m ago•0 comments

Vollebak alters emotions with new sonic jacket

https://www.designboom.com/technology/vollebak-sonic-jacket-emotional-resonance-chamber-body/
1•thunderbong•16m ago•0 comments

An AI system to help scientists write expert-level empirical software

https://www.nature.com/articles/s41586-026-10658-6
2•anigbrowl•16m ago•0 comments

I reverse engineered Apple's video wallpapers

https://github.com/kageroumado/phosphene
2•kageroumado•16m ago•1 comments

Show HN: Remote Job Board

https://www.remotejobs.place
1•beefive•18m ago•0 comments

SpaceX S-1 Filing

https://www.sec.gov/Archives/edgar/data/1181412/000162828026036936/spaceexplorationtechnologi.htm...
2•snewe•21m ago•0 comments

I built a tool to auto-generate iMessage replies

https://github.com/aditya-r123/iMessage-Bot
1•adityarao4•24m ago•0 comments

How Many Questions Can the World Afford to Ask AI?

https://www.chicagobooth.edu/review/how-many-questions-can-world-afford-ask-ai
1•chris_money202•25m ago•0 comments

New Zealand's close shave with the mongoose

https://thespinoff.co.nz/science/18-05-2026/nzs-close-shave-with-the-mongoose
1•HBcodes•26m ago•0 comments

Nvidia Rides Blistering Chip Sales to Another Record Quarter

https://www.wsj.com/tech/ai/nvidia-nvda-1st-quarter-earnings-report-2026-stock-c2bb9c1c
2•bookofjoe•28m ago•1 comments

Meta Begins AI-Driven Layoffs, Report Says. Can They Boost the Struggling Stock?

https://www.barrons.com/articles/meta-stock-ai-layoffs-f9dba997
1•1vuio0pswjnm7•32m ago•0 comments

InferenceBench: A Benchmark for Open-Ended Inference Optimization by AI Agents

https://inferencebench.ai/
1•matt_d•33m ago•0 comments

Valkey 9.1 trims memory 10% and pulls search into the core

https://thenewstack.io/valkey-91-cuts-memory/
2•ohjeez•34m ago•0 comments

RFC 9989: What's New in the Latest DMARC Specification

https://dmarcchecker.app/articles/rfc-9989-dmarc-changes
1•awulf•35m ago•0 comments

Tracking Capabilities for Safer Agents

https://arxiv.org/abs/2603.00991
1•matt_d•40m ago•0 comments

The Elements of Power (AI Supply Chain)

https://z-library.im/book/xkRN77V9kg/the-elements-of-power-a-story-of-war-technology-and-the-dirt...
1•mmirshekar•41m ago•0 comments

JAM: DSP audio engine programmable via AI chat

https://jeffsaudiomachines.com/my-story
1•jcward•44m ago•1 comments

Ask HN: Mac users – has Mac-to-Android texting broke for you, since macOS 26.5?

https://discussions.apple.com/verify-human/verify.html?next=/thread/256300699
1•akulbe•44m ago•2 comments

Marketing Help

https://itcrowd.io
1•chrisrichardson•45m ago•0 comments

Anti-Meme Explosion

https://www.jernesto.com/articles/anti_meme_explosion
3•slopranker•47m ago•2 comments

Search engines and me. Is the classic internet dying? [off-topic]

1•nullpwr•49m ago•3 comments