When comparing Babel (6to5) vs Python (via Skulpt), the Slant community recommends Babel (6to5) for most people. In the question“What are the best languages that compile to JavaScript? ” Babel (6to5) is ranked 8th while Python (via Skulpt) is ranked 34th. The most important reason people chose Babel (6to5) is:
Babel will turn your ES6+ code into ES5 friendly code, so you can start using it right now without waiting for browser support.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Support ES6(Harmony)
Babel will turn your ES6+ code into ES5 friendly code, so you can start using it right now without waiting for browser support.
Pro Plugins for custom features
Pro Future forward thinking
Pro Suspensions
You can write blocking methods that don't cause the whole page to hang, something difficult to do in languages targeting Javascript.
Pro Interactive REPL
You can evaluate new Python code in the browser written by the user.
Cons
Con Generated ES5 is ugly and performs badly
Output looks far from handwritten ES5, is quite large with a lot of extra statements to execute.
Con Compiler is slow compared to other languages
Con Python 2.6
Skulpt implements an outdated version of the Python language.