News for hackers. Stuff that matters.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by est31 on Tuesday May 07, 2019 @07:11PM (#19854306)
May I introduce to you: preparsed Javascript sent over the wire: https://github.com/binast/binjs-ref
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by chrisseaton on Tuesday May 07, 2019 @07:21PM (#19854383)
Isn’t that just an AST? That still has to be parsed and compiled. It just makes parsing a bit faster.
Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by est31 on Wednesday May 08, 2019 @08:20AM (#19858113)
From the README:

> Current advanced prototypes already show JS parsing improvements of 30%-50% on all the most common frameworks, just by changing the format, and we believe that we can increase this improvement much further.

30% is more than a bit :).

Re:Flutter: a Portable UI Framework for Mobile, Web, Embedde... by chrisseaton on Wednesday May 08, 2019 @08:30AM (#19858175)
I’ve worked professionally on pre-parsing and 30% is not a great result.

And it doesn’t help the time spent on compiling, so it’s saved not a lot of not a lot. Doesn’t really solve the problem.