Improving ECMAScript as a compilation target
brendan at mozilla.com
Fri Feb 13 10:51:02 PST 2009
On Feb 13, 2009, at 7:45 AM, David-Sarah Hopwood wrote:
> Brendan Eich wrote:
>> On Feb 12, 2009, at 9:41 PM, Peter Michaux wrote:
>>> If a "common language for hand-coders and code-generators" is
>>> desirable, isn't it necessary to consider the code-generator part?
>> I didn't agree that such a desert-topping/floor-wax was desirable.
> Almost all programming languages are used as code generation targets,
> and that is a perfectly reasonable way of using them that should be
> considered as part of language design, including the design of ES-
C is used as a code generation target, but it's portable assembler so
there's no issue.
JS is used by many more programmers, amateur and pro, than C. It has
to have better human factors than C. That goes against being a good
code generator target language.
> It is too late to consider significant changes to ES3.1 supporting its
> use as a code generation target.
No, really? :-/
More information about the Es-discuss