I ported Google Or-Tools CP-Sat so you can run it multi-threaded in your browser. Any other of their solvers I should port next?
The idea was to use it for my event planning startup, but that didn't work out anyway, so I decided to open source this work. Getting or-tools to compile as it is a bit difficult, it's not super portable. Getting it to work multi-threaded across new and old browsers took a lot of work, and since my event planning tool never took off, I thought I would open source this part. You should be able to run everywhere, but tell me if it doesn't work. I haven't benchmarked again the original yet, but WASM tends to be 60% the speed of native. The one catch is that the web workers take forever to spin up, so for small tasks it's often run quickest on 1 thread.
Open to thoughts, feedback, ideas!
u/Axelwickm — 3 days ago