Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Node.js development for unbelievers

Node.js development for unbelievers

A comparison between python, java, and node.js as development platforms, with small node code samples (mostly on modules, and general commands)

bmustiata

June 24, 2015
Tweet

More Decks by bmustiata

Other Decks in Programming

Transcript

  1. whoami • Java • JavaScript / Node • Python Shameless

    Twitter: @bmst Blog: http://blog.ciplogic.com/
  2. Platform • Native • Bytecode – Java • Language –

    Python • 2.7 • 3.4 – JavaScript
  3. Platform Browser October November IE (all) 19.29% 19.60% IE11 9.52%

    10.79% IE10 2.62% 2.38% IE9 2.76% 2.80% IE6/7/8 4.39% 3.63% Chrome 47.71% 48.15% Firefox 17.04% 16.76% Safari 4.64% 4.45% iPad Safari 6.35% 6.13% Opera 1.29% 1.39% Others 3.68% 3.52% http://www.sitepoint.com/browser-trends-december-2014-safari-survival/
  4. Platform JavaScript is the assembly of the web. Browser October

    November IE (all) 19.29% 19.60% IE11 9.52% 10.79% IE10 2.62% 2.38% IE9 2.76% 2.80% IE6/7/8 4.39% 3.63% Chrome 47.71% 48.15% Firefox 17.04% 16.76% Safari 4.64% 4.45% iPad Safari 6.35% 6.13% Opera 1.29% 1.39% Others 3.68% 3.52% http://www.sitepoint.com/browser-trends-december-2014-safari-survival/
  5. Modules • Applications – Pip/Easyinstall – Jar/Maven (+osgi) – npm

    • Resolution – Module (npm, osgi) – Path (sys.path, classpath)
  6. Languages > Java • Specific – Java – Groovy –

    Scala – Haskell • Existing – Jython (2.7) – Jruby – JavaScript (Nashorn)
  7. Conclusions • Platform – module isolation – performance – independence

    • Module – super simple • Language – type safety – language constellations