igorklopov / enclose

Compile your Node.js project into an executable
http://enclosejs.com
Other
936 stars 43 forks source link

Typical bugs when using encloseJS #16

Closed robinrodricks closed 9 years ago

robinrodricks commented 9 years ago

What are the typical bugs that arise when using encloseJS? What are required changes in nodejs apps when using encloseJS?

1, Will there be memory leaks?

  1. Will there be random crashes/bugs in our applications?
  2. Will there be memory corruption occurring?
  3. Will events fire properly?
  4. Are you running any unit tests to confirm 100% perfect behaviour compared to vanilla node?
  5. I'm using encloseJS to package a binary socket server. How can I test if everything is ok compared to vanilla nodejs?
igorklopov commented 9 years ago

EncloseJS is simply a patch for node. It is really 100% node. It is NOT a separate implementation, so no difference whether you run in node environment or in enclosed package. Of course, bugs are possibe. But they are not as deep as you describe. Almost all bugs are "can not compile" or "require module X failed"

robinrodricks commented 9 years ago

Thank a lot for your information. Very helpful.