When comparing ElixirScript vs PharoJS, the Slant community recommends PharoJS for most people. In the question“What are the best languages that compile to JavaScript? ” PharoJS is ranked 13th while ElixirScript is ranked 26th. The most important reason people chose PharoJS is:
For people who enjoy programming in Smalltalk, Pharo allows developers to use Smalltalk for web development as well, since it transpiles Smalltalk code to JavaScript.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Clear syntax
Uncluttered, yet unambiguous syntax
Pro Excellent community
The Elixir community has proved to be welcoming and very supportive.
Pro Great for concurrency
Leverages the existing Erlang BEAM VM
Pro More familiar syntax
All of the benefits of Erlang; without as steep a learning curve of prolog based syntax. Elixir is heavily inspired by Ruby's syntax which many people love.
Pro Great documentation
Elixir's documentation is very good. It covers everything and always helps solving any problem you may have. It's also always available from the terminal.
Pro Program the web in Smalltalk
For people who enjoy programming in Smalltalk, Pharo allows developers to use Smalltalk for web development as well, since it transpiles Smalltalk code to JavaScript.
Pro Support for Phonegap to go directly to iOS/Android mobile App
Pro Compiles to very efficient Javascript, with almost perfect Smalltalk semantics
Pro Great IDE support
Pro Seamless integration with JavaScript libraries
Can directly call to / be called from JavaScript and can use foreign JavaScript objects.
Will soon have ability to generate and use AMD modules.