Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update JavaScript benchmarks to use ECMAScript classes #58

Open
smarr opened this issue May 21, 2021 · 1 comment
Open

Update JavaScript benchmarks to use ECMAScript classes #58

smarr opened this issue May 21, 2021 · 1 comment

Comments

@smarr
Copy link
Owner

smarr commented May 21, 2021

It seems the time to switch to using the class syntax.

It's established enough, and easily available in Node.js.
For backwards compatibility, I may need to think about generating more compatible version using Babel or similar.

@smarr
Copy link
Owner Author

smarr commented Jun 4, 2021

I'll still need a pure JavaScript version though, and ideally, one that is compatible with ECMAScript without for-of and classes.

Latest code is here: https://github.com/gracelang/moth-benchmarks/tree/master/benchmarks/JavaScriptPure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant