4 ms·
> This would allow any components built in any language to interface and work together using a common protocol No it wouldn't? How would a C++ app run my manag
by hacker_9 9y ago
> This would allow any components built in any language to interface and work together using a common protocol
No it wouldn't? How would a C++ app run my managed control built in C#? Or my JS page run components written in Rust, Java and Clojure? Unless you are expecting all of the runtimes to be bundled with the app/page too, in which case good luck with your file size and startup time...
- lwansbrough 9y agoThis is obviously true. That being said, it would enable opportunities for developers to use controls where a bridge can be made. For example, if your C# library can be made into a Windows Runtime component then it could be run by C++, and I'm sure there are other ways of running C# code in C++ as well. JS would obviously be limited - it would be as limited as it ever has been. It won't be long before one can write Rust or Java or Closure and have it compiled to web assembly. At such time, you'd be able to have your components run alongside JS as I described.
- steveklabnik 9y agoYou can already compile Rust to webassembly today!