Rust Is Fun 🦀


13-Minute Read


Welcome to the wonderful world of Rust … or to be more specific it’s about Rust and

  • WASM
  • Azure Functions
  • Genetic Algorithms
  • Solving a complex optimization problem, fast

This is part four in a series of Rust on Azure Functions. The other parts are about performance comparisons (part 1 and part 2), and explaining the PMX algorithm (part 3). If you want to learn more about Genetic Algorithms be sure to read part 3 first).

Rust and JavaScript on Azure Functions

This is the finished thing: a traveling salesman problem solver built in Rust and JavaScript each running on their own Azure Function (a Function as a Service offering). Click on the buttons to generate a solution the routing problem and see the fitness history and time elapsed below. (Isn’t it curious how chaning )

Want to know how it’s built? Scroll down!