March 2018
Intermediate to advanced
272 pages
7h 4m
English
Rust sometimes has interesting and lesser-known features that really make a difference when talking about performance enhancements. When it comes to big improvements with small changes, the first thing that you should understand is the release mode. Rust by default compiles your software in development mode, which is pretty good to check for compiling errors quickly, but if you want to run it, it will run slowly. This is due to the development mode not performing any optimizations. It will create object (machine) code directly related to the Rust code without optimizing it.
Rust makes use of the LLVM backend, which makes it easy to take advantage of its performance optimizations without having to ...
Read now
Unlock full access