A first look at what might be in ECMAScript 7 and 8
The Web Dev Zone is brought to you in partnership with Mendix. Discover how IT departments looking for ways to keep up with demand for business apps has caused a new breed of developers to surface - the Rapid Application Developer.
Brendan Eich mentions features that are candidates for ECMAScript 6, 7 and 8:
- ECMAScript 6: modules and shallow continuations. These things have been known for a while – see .
- ECMAScript 7: guards, contracts, event loop concurrency.
- ECMAScript 8: macros, parallel arrays (SIMD) [background].
- Easily create embedded domain-specific languages (for HTML fragments, queries, GUI definitions, etc.).
- Invent new more concise syntax for specific tasks (this one is mainly for – gifted – library authors). If you wanted to, you could also call the result a domain-specific language.
- Any new syntax introduced after ECMAScript 8 can be retrofitted to previous versions via macros.