WelcomeUser Guide
ToSPrivacyCanary
DonateBugsLicense

©2024 Poal.co

1.2K

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)

[–] 0 pt

Fascinating do you think it's actually viable to make a native / cross browser app in c++? or does c in the browser through webassembly have too many significant limitations?

[–] 1 pt

I know good performance is possible but as my experience is far outside of browsers I can't speak to your expectations.