V8's job is to implement JavaScript (aka ECMAScript) as specified. To get involved with future ECMAScript specifications, TC39 <https://github.com/tc39> is the place to go. Even if all V8 contributors agreed to change some feature, we couldn't just implement something that contradicts the spec.
Note that it's relatively easy to come up with things one would do differently if one were to design JavaScript from scratch; it is much more difficult to change anything in the language that already exists because of backwards compatibility: we wouldn't want to break existing, previously working code (which might be unmaintained, or whose maintainers don't have time or willingness to spend time updating their code just because someone thought it would be an improvement if the language's semantics changed). So you're left with adding new things, but adding something new never "fixes" something else that's already there -- for example, just because === is useful doesn't stop people from complaining about ==. Changing JSON (even just additively) is even more difficult than changing JavaScript itself, because JSON is used so ubiquitously even in non-JavaScript scenarios. For example, that's the reason why JavaScript BigInts are not directly representable in JSON. On Tue, Nov 5, 2019 at 8:18 AM Thomas Güttler <[email protected]> wrote: > Coming from Python I am very impressed by v8. > > But there is one issue ... the language :-) > > I guess you all know several aspects of JavaScript, > which you would never do like this if you could start from scratch. > > How would you improve JS and JSON if you could? > > I started a little github project to gather these ideas: > > https://github.com/guettli/lets-fix-js > > I don't want to work-around (base64 encode > binary data) and wrap (like Typescript) any more. > > Regards, > Thomas Güttler > > -- > -- > v8-dev mailing list > [email protected] > http://groups.google.com/group/v8-dev > --- > You received this message because you are subscribed to the Google Groups > "v8-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/v8-dev/c8c25a3e-e514-4501-b2a4-0d4740df859c%40googlegroups.com > <https://groups.google.com/d/msgid/v8-dev/c8c25a3e-e514-4501-b2a4-0d4740df859c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-dev/CAKSzg3TO-Muk3rSqjKpF5UYSPmDrAknc2QTKHaa6SRKaqMbG5w%40mail.gmail.com.
