3 ms·
Mascara (http://www.mascaraengine.com/ http://www.mascaraengine.com/) is a much more mature project that implements ECMAScript Harmony, though it's not open sou
by Sephr 15y ago
Mascara (http://www.mascaraengine.com/ http://www.mascaraengine.com/) is a much more mature project that implements ECMAScript Harmony, though it's not open source.
What is Traceur? It doesn't claim to be an implementation of ECMAScript Harmony, though it looks similar to one. The choice of a non-ECMAScript media type (text/traceur instead of application/ecmascript;version=harmony or something similar) lends me to believe that they want to create a new language entirely. Also, text/traceur doesn't isn't registered, so the private type, text/x-traceur should be used instead. It's unfortunate that library authors completely disregard media type registration nowadays. In order for text/traceur to be registered, there actually has to be a formal specification of the Traceur format, since it's on the standards tree.
It's great to see work in making Harmony more accessible to everyone, but it doesn't make sense to make it another language.
- tlrobinson 15y agoMy impression was this is a test bed for new language features, not a fork of the language or implementation of any particular future standard.
- jmesserly 15y agoOne of the devs here. It's definitely not intended to be a new language. My understanding is "text/traceur" was chosen because some of the features haven't been accepted officially into harmony yet (i.e. they are strawman proposals: http://wiki.ecmascript.org/doku.php?id=strawman:strawman http://wiki.ecmascript.org/doku.php?id=strawman:strawman), in particular classes/traits and async.
- olavk 15y agoMascara focus on being stable and usable in production more than being a testbed for experimental language features. But will definitely look into Traceur for inspiration and perhaps adopt some of the more stable features. I am very happy to see other implementation of some of the Harmony features. (I am the developer of Mascara.) Most of traceur seem to be already supported in Mascara, but I am definitely looking into "traits" and especially "await", which I believe is a much needed addition to JS.