RexSystem1 voteoriginally by @oax90 on GitHub4 replies
Right now in the refactor branch Rust is used only in the client for a simple purpose. Is there really a need to keep dependency on Rust for that? I rather keep it full TS or use Go or C.
Image decoding and processing is a quite resource-intensive task, so it makes sense to dedicate that to a lower level language. Given that it all needs to run on the browser, it has to be compiled in WASM, and Rust is kind of the best tool for that job. C could also do that job, just not as well.
What do you mean not as well? You gotta be kidding. All image manipulation libraries are C. Both C and C++ can be compiled to WASM without any problem. Same goes for Go here. Don't act like Rust is the only thing that compiles to WASM.
No, I'm not kidding. Rust is by far the best language when it comes to targeting WASM. It is extremely straightforward to just make something compile to WASM in Rust. The same cannot be said about C which doesn't even have a package manager or standard build system. You can get away with a lot by doing unity builds of course, and it probably wouldn't even be that bad if set up correctly, but let's not pretend it's better than Rust for the task.
Thread
Comment by @oax90
Comment by @zleepyzeezee
Comment by @Speykious
Comment by @ctudor0
Comment by @Speykious