Photo by NeONBRAND on Unsplash

Have You Forgotten To Take Out The Garbage? No Need With Rust!

--

Python brings lots of libraries but is slow and its version control is not great. JavaScript and Node.js are great back-end coding languages, but they struggle with their version control and in their relative slowness. Golang has great GitHub integration and does fairly well with its version control. It is also as fast as C, but it, again, can be attacked with malicious library integration. It’s syntax, too, can be cumbersome. So which language is fast, secure, and scalable? It’s (perhaps) — the programming language that doesn’t need a garbage collector — Rust.

Borrow checking

Unlike Python, Java and Node.js, Rust compiles to a binary code and does not need a run time environment like .NET/C# and Java. For this, it has a “borrow checking” method and where a developer goes not have to release used-up memory — the compiler does it. It thus avoids the C programming nightmare of memory overruns and underruns (and is memory safe) — no memory leakage. Along with this, it supports concurrent operations. Overall, Rust runs as fast as C, and faster in many applications. At the core of this, is the ability for the Rust compiler to code directly to native machine code, and thus optimize the operations. This leads to not having to worry about garbage collection, as we do with many other programming languages.

--

--

Prof Bill Buchanan OBE FRSE
ASecuritySite: When Bob Met Alice

Professor of Cryptography. Serial innovator. Believer in fairness, justice & freedom. Based in Edinburgh. Old World Breaker. New World Creator. Building trust.