Hello World in Rust
Every programming journey starts with Hello World. Let’s write our first Rust program.
The Code
Create a file named hello.rs:
| |
Every programming journey starts with Hello World. Let’s write our first Rust program.
Create a file named hello.rs:
| |
Rust’s type system is one of its defining features—static, strong, and powerful enough to catch entire classes of bugs at compile time. But it’s also ergonomic: the compiler infers types …
Read more →In 1973, Carl Hewitt published a paper describing something he called the Actor model — isolated computational units that communicated exclusively by message passing, with no shared memory, no locks, …
Read more →Every program that has ever run has eventually encountered something unexpected. A file that wasn’t there. A network that dropped the connection. A number that divided by zero. A user who typed …
Read more →In our three-part series on web backend performance, we measured idle memory ranging from 3 MB (Rust) to 500 MB (Spring Boot). We noted that a garbage collector explained much of Java’s …
Read more →In 2009, Tony Hoare stood at the QCon conference in London and confessed to a crime.
“I call it my billion-dollar mistake,” he said. “It was the invention of the null reference in …
Read more →Open almost any programming language reference and you will find, somewhere near the beginning, a section explaining how to define a reusable named block of code. The concept is universal. The word …
Read more →Every programming language has strings. They’re so universal — so unremarkable — that we rarely stop to ask how they actually work. You type some characters between quotation marks, hand them to …
Read more →Every programming language is, at its core, a written argument. An argument that the languages which came before failed at something important — something worth spending years of your life to fix. …
Read more →In Part 1 we measured what web backends cost before serving a single request — idle memory ranging from 3 MB (Rust) to 500 MB (Spring Boot). In Part 2 we measured what happens when traffic arrives — …
Read more →Showing 1–10 of 12 posts (page 1 of 2)