What's the story for NaCL for atom plugin ? possible ? advisable?


#1

i can’t seem to find any reference to using NaCL to embed native code into a plugin. Is that possible ?


#2

Given that NaCl code can only communicate with JS using a messaging API, I highly doubt that a whole plugin can be written exclusively with NaCl, but you probably can have some parts implemented as NaCl modules.
However, as Atom run on io.js, you can already use C++ to write node modules (see my 2nd link), and I believe this way offer much more possibilities that NaCl.

http://www.devbattles.com/en/sand/post-163-Make-own-Node.js-module#.VGJHPvmUdW0