What's the state of the art for doing processing in in the browser?

e.g. I have a ~60km GPX file, ~100 points, and I wanna know the nearest distance of each point to the line.
I know exactly how to do this in postgis, or even by hand. I know basic JS. How can I do this in JS on a webpage? (pref. non nodejs)

I could write a programme to do this, but I can't do _everything_ in rust.


@spacekookie I am trying to resist the siren song of finally learning rust & wasm.


@spacekookie OTOH I have been burned by the trainwreck of nodejs/npm packaging, so WHY NOT SOLVE IT PROPERLY! :)

Sign in to participate in the conversation
En OSM Town | Mapstodon for OpenStreetMap

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!