Rust Is a Scalable Language
In my last post about Zig and Rust, I mentioned that Rust is a scalable language. Let me expand on this a bit.
matklad's Arts&Crafts
Visit matklad.github.io → RSS feedOn Hacker News Jul 2019 – Oct 2026
Software Engineering 40Systems & Performance 11Tools & Productivity 10Programming Languages 10Web & Frontend 4Math & Algorithms 3
In my last post about Zig and Rust, I mentioned that Rust is a scalable language. Let me expand on this a bit.
A short post about a neat little Zig idiom. Consider your average {sum type, variant, tagged union, enum, alt}:
This post is a case study of writing a Rust application using only minimal, artificially constrained API (eg, no dynamic memory allocation). It assumes a fair bit of familiarity with the language.
In reply to this email:
I had a productive day today! I did many different and unrelated things, but they all had the same unifying theme:
More or less the title this time, but first, a story about SIMD. There are three levels of understanding how SIMD works (well, at least I am level 3 at the moment):
I want a better shell.
I find myself writing yet another toy parser, as one does during a Christmas break. It roughly follows Resilient LL Parsing Tutorial. Not because I need resilience, but mostly because I find producing a syntax tree and a collection of diagnostics a more natural fit for the problem than bailing out on the first error.
This is an introductory article about shell injection, a security vulnerability allowing an attacker to execute arbitrary code on the user's machine. This is a well-studied problem, and there are simple and efficient solutions to it. It's relatively easy to design library API in such a way as to shield the application…