Rust Performance Tips

You see when programming on C++ you usually get a welcome message in the form of SEG_FAULT which translates into something similar to a “welcome to hell“ and now you know you are in a kind of dystopian world where you are aware of the presence of some capricious gods. With Rust on the other hand, you have the impression that your Javascript tricks will work and there is an interpreter that is going to save your code from being slow.
Read more →

Performance Showdown: Rust vs Javascript

After spending some weeks playing with Rust, I felt ready to test my skills and try some programming challenges in the Advent Of Code. My approach to tackle some of those challenges was to solve them using Javascript (I use it in my day to day) first and then port the code to Rust. While writing the port I just focus on getting the Rust code as elegant as possible to achieve that I research the Rust API's to get syntactically correct. It was after finishing porting this puzzle in particular and feeling a sense of accomplishment that I decided to test how the Rust compiled code will perform against Javascript interpreter.
Read more →

Finding Performance Bottlenecks in JavaScript.

How to use the Chrome performance monitor to optimise JavaScript performance.
Read more →