I was reading up on something called VTK. I guess it's a graphics library that is very common in high science related software like flow mechanics etc. I compiled it and it took over 20 minutes to compile. I was looking at the VTK website and it said it had a js implementation and I double took and said WTF I have to see this. It must be a HUGE js file. It said it was implemented with WebAssembly to a be subset of the c library. A subset of the c library. I took a look at seems like you can literally compile c / c++ into wasm that will actually run in a browser. Wtf is going on? Does anyone know about this?
I was reading up on something called VTK. I guess it's a graphics library that is very common in high science related software like flow mechanics etc. I compiled it and it took over 20 minutes to compile. I was looking at the VTK website and it said it had a js implementation and I double took and said WTF I have to see this. It must be a HUGE js file. It said it was implemented with WebAssembly to a be subset of the c library. *A subset of the c library*. I took a look at seems like you can literally compile c / c++ into wasm that will actually run in a browser. Wtf is going on? Does anyone know about this?
(post is archived)