maplibre / maplibre-tile-spec

Next generation vector tiles format
Apache License 2.0
135 stars 10 forks source link

WASM decoder #225

Open wipfli opened 6 days ago

wipfli commented 6 days ago

Could we use a decoder written in C++ or Rust and deploy it as webassembly? Could this give performance benefits?

mactrem commented 6 days ago

Yes, this is one of my goals to write a Rust decoder and compile it to WebAssembly. Only with WASM we can use SIMD instructions in the browser and take full advantage of the encodings of the format