Hady Essa 🐼
hadyessa.bsky.social
Hady Essa 🐼
@hadyessa.bsky.social
"Software Engineer: Rust engineer"
Thinking about sleep and food :)
Recommended by ophthalmologists
Thank ❤️
December 19, 2025 at 12:51 PM
Finally: If you see posts but don’t interact, the algorithm decides you don’t want this content and stops showing it. Then others don’t see it, the effort is wasted, and we stop writing. And that’s life.
December 12, 2025 at 1:39 PM
If you reached this far, you're a hero. Respect to you ❤️
December 12, 2025 at 1:39 PM
If you don’t prove safety, no exe comes out. Unlike the other compiler that outputs an exe anyway. The result: the quality manager ensures memory safety, then gives you the file.
December 12, 2025 at 1:39 PM
The quality manager—rustc—asks for proof you won’t make mistakes, proof no one else uses that memory. “Bring approval from Miss Menna on the 4th floor.” It annoys you before giving access.
December 12, 2025 at 1:39 PM
Imagine two managers: a normal manager and a quality manager. The normal one is C++’s compiler g++. It trusts you, reserves memory, and then maybe your project crashes at the client’s side.
December 12, 2025 at 1:39 PM
Instead of runtime error detection. This saves RAM and improves performance. You’ll say C++ also gives an exe. What’s the difference?
December 12, 2025 at 1:39 PM
On Windows you'll get main.exe. Give it to a friend with no Rust installed and it still runs. This is Rust’s advantage over JavaScript: Ahead-of-Time Compilation. It checks for errors before running.
December 12, 2025 at 1:39 PM
Rust differs from languages like Python or JavaScript. You write code in main .rs. Compilation uses rustc main .rs. rustc is the Rust compiler; it converts your code into a binary
December 12, 2025 at 1:39 PM
For more detail wait until the end of this series—or chapter 20. Now translation vs execution. Compilation vs Execution
December 12, 2025 at 1:39 PM
Next is !println. Notice it’s !println, not println. In Rust, a trailing “!” means it’s not a normal function—it's a macro. It prints output like “hello world” but expands to other code at compile time.
December 12, 2025 at 1:39 PM
Piece by piece: fn means function. main is a special function—it's the entry point. When you run the code, the computer looks for it. The curly braces define the function’s scope, like in C++, C#, JavaScript, etc.
December 12, 2025 at 1:39 PM
Next comes “medical work”—dissecting code. The code looks like this:
fn main() { println!("Hello, world!"); }
December 12, 2025 at 1:39 PM
The book says create a project folder. Important: files must end with .rs. And if the filename has two words, use snake_case like this.
December 12, 2025 at 1:39 PM
Meaning Rust doesn’t force you to use any editor. Open Notepad if you want. What matters is writing code. Check the books for installation steps on Linux/Mac via command line. Windows differs
December 12, 2025 at 1:39 PM
So choosing the crab was for fun. Let’s get serious. Reading the docs you’ll see: “Rust makes no specific demands about your editing or tooling.”
December 12, 2025 at 1:39 PM
The reason behind choosing a crab is that “Rust” comes from “Rustacean,” meaning crustaceans. You’ll say the correct word is Crustacean—no, Rustacean comes from Rust + acean. Language is wild.
December 12, 2025 at 1:39 PM
This character became tied to the Rust community like the penguin is tied to Linux while you're still single 😃. It was designed by Karen Rustad in 2015 as a message, charm, or symbol expressing the Rust community
December 12, 2025 at 1:39 PM