InfoQ Homepage JavaScript Content on InfoQ
-
The Cost of JavaScript 2019: Improvement Opportunities Now Mostly in Download and Execution
Addy Osmani, engineering manager at Google working on Chrome, recently presented the actualized findings of the Cost of JavaScript study. Osmani contends that, as browsers engineer improvements in JavaScript parsing and compiling time, the dominant costs of processing scripts are increasingly download and CPU execution time.
-
First Look at the Web Share API: Exposing the Native Device Sharing Capabilities to the Browser
Native device sharing is now possible within web browsers using the Web Share API that was recently released. Find out how it works and what's coming next in the full article
-
Binary AST Proposal Could Improve Performance of Large JavaScript Apps
Binary AST is a stage 1 proposal for the JavaScript language. Binary AST aims to drastically improve the load time of large JavaScript applications by adding a new, binary encoded abstract syntax tree (AST) to the language inspired in part by WebAssembly.
-
Angular 8, an Incremental Improvement to the Angular Framework
The Angular team recently released Angular 8, the latest major release of its single page application framework. This release includes a large number of bug fixes, several incremental improvements including differential loading, and a preview for both the Ivy render engine, and the Bazel build system.
-
Making 'npm install' Safe
At QCon New York 2019, Kate Sills, a software engineer at Agoric, discussed some of the security challenges in building composable smart contract components with JavaScript. Two emerging TC39 JavaScript proposals, realms and Secure ECMAScript (SES) were presented as solutions to security risks with the npm installation process.
-
Front End Architecture in a World of AI
At QCon New York 2019, front end software engineer Thijs Bernolet of Oqton explained some of the challenges in creating front end architectures influenced by machine learning.
-
Ionic Capacitor: Creating Native Applications with JavaScript
Capacitor is a new development framework by Ionic for hybrid application creation. Capacitor provides an alternative to Apache Cordova, a well-established solution first released in 2009.
-
Sucrase, a Faster Babel for Modern JS Runtimes
The Sucrase JavaScript/TypeScript compiler aims at providing significantly faster development builds than the Babel compiler. Faster builds mean faster iterations, specially when testing on a large codebase. Some empirical measures show a gain in speed between 4x and 20x vs. Babel. Developers may thus enjoy the improved developer experience in development, and still resort to Babel in production.
-
@Pika/web Frees Modern Web Development from the Complexity of Package Bundling
@pika/web, part of the pika tool chain, aims at improving web application developers' experience by turning often-complex bundling processes into an opt-in feature. With @pika/web, developers can run `npm` packages directly in the browser. Bundlers, like Browserify, Webpack or import maps, may be used but are no longer required.
-
TypeScript 3.5 Adds Omit Type, Smarter Union Type Checking
The TypeScript team has announced the release of TypeScript 3.5, including type checking performance improvements and a new Omit type.
-
The Polymer Project Releases Lit-Html and LitElement for Performance-Focused Web Components
The Polymer Project recently released lit-html v1.0 together with LitElement v2.0. lit-html is a light-weight, extensible HTML templating JavaScript library. LitElement is a JavaScript library to create lightweight, optimized-for-performance web components. The created web components can then be used in any framework or no framework to build web applications.
-
Proxx: Building Fast Web Applications
Proxx is a JavaScript game from the Google Chrome team. It demonstrates how to develop fast and smooth web applications that offer a similar user experience across multiple platforms and input devices.
-
Electron 4 and 5 Releases Add Security and Modern Web APIs
The Electron team recently announced the release of version 4 and version 5 of Electron. Electron maintains an aggressive release cycle to stay current with the latest updates from Chromium, V8, and Node.js. Significant updates in these versions include better control over remotes and requests, and an in-progress initiative to update Electron's callback-based APIs to use promises.
-
Writing Web Applications in Java - a Study of Alternatives
Developers familiar with the Java Virtual Machine languages and who want to develop web applications without the difficulties of a JavaScript development stack, have an increasing array of alternatives to JavaScript to choose from. The performance penalty vs. native JavaScript web applications is shrinking.
-
Node.js 12 Release Improves Security, Performance, and Modules
The Node.js project recently released Node.js version 12, adding improvements through its underlying V8 JavaScript engine, startup performance, ES6 modules, and more.