DZone
Web Dev Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Web Dev Zone > A first look at what might be in ECMAScript 7 and 8

A first look at what might be in ECMAScript 7 and 8

Axel Rauschmayer user avatar by
Axel Rauschmayer
·
Sep. 19, 11 · Web Dev Zone · Interview
Like (0)
Save
Tweet
5.82K Views

Join the DZone community and get the full member experience.

Join For Free

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 [1].
  • ECMAScript 7: guards, contracts, event loop concurrency.
  • ECMAScript 8: macros, parallel arrays (SIMD) [background].
It is interesting that the goal of some features is to make JavaScript a better compilation target [2]. I am very excited about macros possibly making it into ECMAScript 8. Just three benefits:
  • 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.

Related reading:

  1. ECMAScript.next: the “TXJS” update by Eich
  2. What is the JavaScript equivalent of Java bytecode?

 

From http://www.2ality.com/2011/09/es6-8.html

ECMAScript

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Build a Data Pipeline on AWS With Kafka, Kafka Connect, and DynamoDB
  • Implementing Microservices Architectures
  • Is NoOps the End of DevOps?
  • Artificial Intelligence (AI) And Its Assistance in Medical Diagnosis

Comments

Web Dev Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo