InfoQ Homepage JavaScript Content on InfoQ
-
100,000+ Lines of Elm Code in Production: Rakuten Shares Lessons Learnt
E-commerce company Rakuten recently shared its experience using Elm in production for two years. Its codebase spans several applications totaling 100,000 lines of Elm code. Rakuten highly valued Elm’s Functional UI approach, its type system, and the absence of runtime exceptions. However, Elm not being a mainstream language, resulted in less reusable resources on Google search and Stack Overflow.
-
Qwik, a Resumable Javascript Framework
Qwik is a DOM-centric JavaScript framework that aims to provide the quickest TTI (or time to interactive) by focusing on resumability for server-side rendering of HTML and optimized lazy loading of code.
-
Lit 2 Ships with New Custom Directives and Reactive APIs
The Lit Team recently released Lit 2.0, more than two years after Lit 1. Lit 2 features a new API for custom directives that include asynchronous directives. Lit 2 users will also be able to use reactive controllers to encapsulate reusable reactive logic.
-
Parcel 2: Rust-Based 10x Faster JavaScript Compiler, Modular Configuration, Differential Bundling
The team behind the zero-config bundler Parcel recently announced the first Parcel 2 release candidate. Parcel 2 is a ground up rewrite of Parcel that has been two years in the making. Parcel’s new JavaScript compiler is written in Rust and boasts 10x build performance improvement. Parcel 2 is fully extensible, supports automatic differential bundling, and much more.
-
Erlang-Inspired Language Gleam Now Compiles to JavaScript
Gleam, which self-describes as a language for building type-safe, scalable systems for the Erlang virtual machine, now also compiles to JavaScript.
-
New Template DSL Tempura Focuses on Parsing Speed and Size
Luke Edwards recently released Tempura, a lightweight template DSL with fast parsing speeds. Like other static site generators’ templating languages, Tempura also features custom blocks for user-defined template directives. While Tempura’s primary use case is to generate HTML for web applications, it can be used in any context where a template DSL adds value vs. using JavaScript.
-
ReScript, a Fully-Typed Javascript Alternative
ReScript is one of several emerging programming languages that helps web developers build complex web applications that can be transpiled into JavaScript and run in the browser.
-
WebContainers, Running Node.JS in the Browser
Stackblitz recently released a new product called WebContainers that enables developers to create full stack Node.js environments within the browser which loads instantly and comes bundled with VS Code, a full terminal, NPM, and more.
-
Performance-Focused Reactive UI Framework Solid.JS Releases First Major Version
Solid.js, a reactive JavaScript UI library, released its first major iteration. Solid replicates many capabilities (e.g., server-side rendering, concurrent rendering) and APIs (e.g., stores, context, directives) present in other frameworks. Developers map the appearance and behavior of user interfaces to a set of reactive dependencies. Solid compiles the statements to imperative DOM operations.
-
Piral, a Modern React-Based Microfrontends Library
Piral is a JavaScript library for creating modular microfrontends application based on React.
-
Sonatype Lift Integrates Facebook Infer, Google ErrorProne, and Other Code Analyzers
Recently launched Sonatype Lift provides a unified code analysis platform that includes over 25 tools to help developers identify a wide range of bugs in their development pipelines as soon as possible, says Sonatype. InfoQ has spoken with Stephen Magill, VP of product innovation at Sonatype, to learn more.
-
V8 Gets a Non-Optimizing Compiler Stage to Improve Performance
The latest version of the JavaScript V8 engine, V8 9.1, introduces a new intermediate compiler stage, called Sparkplug, that improves performance on real-world benchmarks by 5-15%, says V8 engineer Leszek Swirski. It will be available in the upcoming Chrome 91.
-
TypeScript 4.3 Improves Property Write Types
TypeScript 4.3 improves property write types, more explicit overwriting of methods, and several other key additions.
-
Pyodide Brings Python and Its Scientific Stack to the Browser with WebAssembly
Mozilla announced that Pyodide, which aims at providing a full Python data science stack running entirely in the browser, has become an independent community-driven project. Pyodide uses the CPython 3.8 interpreter compiled to WebAssembly, and thus allows using Python, NumPy, Pandas, Matplotlib, SciPy, and more in Iodide, an experimental interactive scientific computing environment for the web.
-
BlockLike.js Aims to Make it Easier to Go from MIT Scratch to JavaScript Programming
BlockLike.js is an educational JavaScript library that attempts to extend the block-based Scratch learning experience to JavaScript text-based programming.