4 ms·
> "Google contributed ports of NaCl for ARM and Amd64." So, Mono/C# in Chrome? If NaCl/PNaCl becomes available outside the Chrome App Store, that could be pret
by pbsdp 13y ago
> "Google contributed ports of NaCl for ARM and Amd64."
So, Mono/C# in Chrome? If NaCl/PNaCl becomes available outside the Chrome App Store, that could be pretty exciting -- Mono does an excellent job with AOT performance and mobile-scale memory utilization.
- the_mitsuhiko 13y agoMono has been running in Chrome for a while. Bastion's NaCl version is Mono based.
- lucian1900 13y agoI think they had to use a Mono fork when they released Bastion, though. This might be just Google integrating that fork.
- jimmcslim 13y agoIt would be great to hear more about this, are there any 'Hello World' examples? I assume the API's that NaCl-exposed have a corresponding set of C# interfaces? How does one write to the browser window, get user input, network I/O, etc?
- elijahtaylor 13y agohttps://groups.google.com/forum/#!msg/native-client-discuss/hHYJbE-IL2M/0sbbOn0jWpAJ https://groups.google.com/forum/#!msg/native-client-discuss/... That post is old, but the instructions are still valid. > I assume the API's that NaCl-exposed have a corresponding set of C# interfaces? How does one write to the browser window, get user input, network I/O, etc? Unfortunately there is nothing available to expose Pepper interfaces directly to the managed environment that is shipped with this, though it is possible to auto generate bindings and glue code to make it work. What you'll see in the HelloWorld example I linked above is a very manual way of doing this, exposing an internal call that itself just calls directly through the C Pepper interface, effectively allowing Pepper calls from C#.
- _random_ 13y agoI hope they are secretly testing C#->LLVM->asm.js as well.