frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Error ABI

https://matklad.github.io/2025/11/09/error-ABI.html
48•todsacerdoti•20h ago

Comments

stmw•53m ago
I'm simultaneously amused and concerned by the recurring proposals for Rust to add

1. exceptions 2. garbage collection

Sometimes in slightly modified forms or names, and often with very well-articulated, technically competent justifications (as is the case here).

Just say no!

necubi•44m ago
This doesn't have anything to do with exceptions, and the context appears to be Zig, not Rust.

The article is about how we represent errors not their control flow (i.e., exceptions).

stmw•28m ago
Fair point re: Zig vs Rust, but my larger point was about exceptions by any other name, in the linked article:

"Instead, when returning an error, rather than jumping to the return address, we look it up in the side table to find a corresponding error recovery address, and jump to that. Stack unwinding!

The bold claim is that unwinding is the optimal thing to do! .."

necubi•12m ago
If by "exceptions" you're talking about stack unwinding (as opposed to the language-level control flow constructs like throw/catch) then Rust has always had that with panics and panic=unwind.
MaulingMonkey•25m ago
Rust already has exceptions (when panic=unwind)
stmw•20m ago
But it's not really encouraged as it is in C++ or Java. Quoting Rustonomicon: "There is an API called catch_unwind that enables catching a panic without spawning a thread. Still, we would encourage you to only do this sparingly. In particular, Rust's current unwinding implementation is heavily optimized for the "doesn't unwind" case. If a program doesn't unwind, there should be no runtime cost for the program being ready to unwind. As a consequence, actually unwinding will be more expensive than in e.g. Java. Don't build your programs to unwind under normal circumstances. Ideally, you should only panic for programming errors or extreme problems."
fleventynine•41m ago
Rigid ABIs aren't necessary for statically linked programs. Ideally, the compiler would look at the usage of the function in context and figure out an ABI specifically for that function that minimizes unnecessary copies and register churn.

IMHO this is the next logical step in LTO; today we leave a lot of code size and performance on the floor in order to meet some arbitrary ABI.

layer8•34m ago
I would argue that most of today’s performance problems in software are unrelated to ABI.
stmw•26m ago
I would argue that is largely true because we got the ABIs and the hardware to support them to be highly optimized. Thing slow down very quickly if one gets off that hard-won autobahn of ABI efficiency.

Fei Fei Li: Spatial Intelligence is AI’s Next Frontier

https://drfeifei.substack.com/p/from-words-to-worlds-spatial-intelligence
59•mkirchner•1h ago•33 comments

Unexpected things that are people

https://bengoldhaber.substack.com/p/unexpected-things-that-are-people
367•lindowe•6h ago•187 comments

Writing your own BEAM

https://martin.janiczek.cz/2025/11/09/writing-your-own-beam.html
81•cbzbc•1d ago•12 comments

The lazy Git UI you didn't know you need

https://www.bwplotka.dev/2025/lazygit/
159•linhns•4h ago•56 comments

TTS Still Sucks

https://duarteocarmo.com/blog/tts-still-sucks
22•speckx•1h ago•29 comments

High-performance 2D graphics rendering on the CPU using sparse strips [pdf]

https://github.com/LaurenzV/master-thesis/blob/main/main.pdf
10•PaulHoule•41m ago•0 comments

Zeroing in on Zero-Point Motion Inside a Crystal

https://physics.aps.org/articles/v18/178
15•lc0_stein•1h ago•0 comments

Using Generative AI in Content Production

https://partnerhelp.netflixstudios.com/hc/en-us/articles/43393929218323-Using-Generative-AI-in-Co...
48•CaRDiaK•3h ago•21 comments

Error ABI

https://matklad.github.io/2025/11/09/error-ABI.html
48•todsacerdoti•20h ago•9 comments

Memory Safety for Skeptics

https://queue.acm.org/detail.cfm?id=3773095
43•steveklabnik•4h ago•28 comments

Registered OAuth Parameters

https://www.iana.org/assignments/oauth-parameters/oauth-parameters.xhtml#parameters
22•mooreds•6d ago•3 comments

Linux in a Pixel Shader – A RISC-V Emulator for VRChat

https://blog.pimaker.at/texts/rvc1/
12•rbanffy•57m ago•3 comments

Omnilingual ASR: Advancing automatic speech recognition for 1600 languages

https://ai.meta.com/blog/omnilingual-asr-advancing-automatic-speech-recognition/?_fb_noscript=1
49•jean-•4h ago•11 comments

Unix v4 Tape Found

https://discuss.systems/@ricci/115504720054699983
57•greatquux•4d ago•4 comments

Head in the Zed Cloud

https://maxdeviant.com/posts/2025/head-in-the-zed-cloud/
43•todsacerdoti•8h ago•8 comments

Benchmarking leading AI agents against Google reCAPTCHA v2

https://research.roundtable.ai/captcha-benchmarking/
80•mdahardy•6h ago•60 comments

Building a high-performance ticketing system with TigerBeetle

https://renerocks.ai/blog/2025-11-02--tigerfans/
56•jorangreef•2d ago•8 comments

Launch HN: Hypercubic (YC F25) – AI for COBOL and Mainframes

64•sai18•6h ago•42 comments

Dependent Types and How to Get Rid of Them

https://chadnauseam.com/coding/pltd/are-dependent-types-actually-erased
8•pie_flavor•1w ago•0 comments

Synesthesia helps me find four-leaf clovers (2023)

https://matthewjamestaylor.com/synesthesia-four-leaf-clovers
53•iansteyn•1w ago•36 comments

3D Heterogeneous Integration Powers New DARPA Fab

https://spectrum.ieee.org/3d-heterogeneous-integration
3•rbanffy•42m ago•0 comments

Canadian military will rely on public servants to boost its ranks by 300k

https://ottawacitizen.com/public-service/defence-watch/canadian-military-public-servants
62•Teever•5h ago•138 comments

Redmond, WA, turns off Flock Safety cameras after ICE arrests

https://www.seattletimes.com/seattle-news/law-justice/redmond-turns-off-flock-safety-cameras-afte...
198•dredmorbius•4h ago•191 comments

Pose Animator – An open source tool to bring SVG characters to life (2020)

https://blog.tensorflow.org/2020/05/pose-animator-open-source-tool-to-bring-svg-characters-to-lif...
126•jerlendds•6d ago•13 comments

Interesting SPI Routing with iCE40 FPGAs

https://danielmangum.com/posts/spi-routing-ice40-fpga/
86•hasheddan•9h ago•6 comments

LLMs are steroids for your Dunning-Kruger

https://bytesauna.com/post/dunning-kruger
272•gridentio•7h ago•222 comments

Asus Ascent GX10

https://www.asus.com/networking-iot-servers/desktop-ai-supercomputer/ultra-small-ai-supercomputer...
178•jimexp69•6h ago•166 comments

Cybersecurity breach at Congressional Budget Office remains a live threat

https://www.politico.com/live-updates/2025/11/10/congress/cbo-still-under-threat-00644930
12•mooreds•44m ago•0 comments

How cops can get your private online data

https://www.eff.org/deeplinks/2025/06/how-cops-can-get-your-private-online-data
231•jamesgill•6h ago•51 comments

Sysgpu – Experimental descendant of WebGPU written in Zig

https://github.com/hexops-graveyard/mach-sysgpu
4•coffeeaddict1•1h ago•0 comments