Web frameworks are transforming from runtime libraries into optimizing compilers
1–10 of 231 posts
Re: Web frameworks are transforming from runtime libraries into optimizing compilers
#2Re: Web frameworks are transforming from runtime libraries into optimizing compilers
#3Isn't the title backwards? (Still seems so after reading the article)
> The new web development frameworks are compilers
Re: Web frameworks are transforming from runtime libraries into optimizing compilers
#4Those were predated by Closure Compiler, which was started with Gmail, and Closure Compiler in some ways still doesn't have an equal. Besides being a fully optimizing compiler, it also has a module system for code splitting, and optimization passes designed to move code at the method/property level from initially loaded code into deferred loaded code if it is detected to only be used later.
You can see this in action with photos.google.com which splits up every UI component, model, and controller into a dependency tree of modules, which are aggressively optimized. When an action needs to fire, only the transitive dependency of reachable code needed to handle it is loaded.
The closest external version of this is Malte Ubl's"Splittables" for Closure Compiler (https://medium.com/@cramforce/introducing-splittable-1c882ba...)
Re: Web frameworks are transforming from runtime libraries into optimizing compilers
#5Browsers will catch up with what developers want.
We have seen that with ActiveX, Flash, Java applets, jQuery etc. Every time tech was needed because "The browser alone is not good enough" the browser became better and made the additional tech obsolete.
Re: Web frameworks are transforming from runtime libraries into optimizing compilers
#6I don't think so. Browsers will catch up with what developers want. We have seen that with ActiveX, Flash, Java applets, jQuery etc. Every time tech was needed because "The browser alone is not good enough" the browser became better and made the additional tech obsolete.
Re: Web frameworks are transforming from runtime libraries into optimizing compilers
#7When we have web assembly and compilers like the Kotlin compiler that can translate a high-level language to web assembly, there is little need for framework specific compilation.
Re: Web frameworks are transforming from runtime libraries into optimizing compilers
#8I don't think so. Browsers will catch up with what developers want. We have seen that with ActiveX, Flash, Java applets, jQuery etc. Every time tech was needed because "The browser alone is not good enough" the browser became better and made the additional tech obsolete.
Re: Web frameworks are transforming from runtime libraries into optimizing compilers
#9I don't think so. Browsers will catch up with what developers want. We have seen that with ActiveX, Flash, Java applets, jQuery etc. Every time tech was needed because "The browser alone is not good enough" the browser became better and made the additional tech obsolete.
Yeah, except it took browsers a decade to get better enough, and the road towards getting better is mired by compatibility problems, requiring tons of expertise to deal with that sort of stuff. But developers want to build useful stuff yesterday, and users demand good experiences the day before yesterday.
Re: Web frameworks are transforming from runtime libraries into optimizing compilers
#10"The trend started by minifiers like UglifyJS and continued by transpilers like Babel will only accelerate." Those were predated by Closure Compiler, which was started with Gmail, and Closure Compiler in some ways still doesn't have an equal. Besides being a fully optimizing compiler, it also has a module system for code splitting, and optimization passes designed to move code at the method/property level from initia…
Code splitting: https://webpack.js.org/guides/code-splitting/
Tree shaking: https://webpack.js.org/guides/tree-shaking/