function setDefaultBackend(newBackend) {
  backend = newBackend
}
Replaces the default backend implementation with a different one.
This allows you to switch to using the Rust/WebAssembly implementation.