Posts

Showing posts with the label JavaScript
📡 Breaking news
Analyzing latest trends...

Cloudflare-Backed VoidZero Drops Vite+ Beta One Command to Rule the Entire Frontend Workflow.

Image
VoidZero Unveils 'Vite+' (vp) Beta: A Unified Frontend Toolchain Backed by Cloudflare's Infrastructure VoidZero , the innovative team behind the omnipresent build tool Vite which was recently acquired by cloud infrastructure giant Cloudflare  has officially launched the beta phase of Vite+ , accessible via the lightning-fast unified command-line tool vp . This release acts as a monumental consolidation for the modern web development ecosystem, merging VoidZero’s disparate premium open-source instruments into a singular, highly optimized developer experience. The core philosophy of the vp binary lies in its unified toolchain execution parameters, replacing multiple fragmented npm packages with sub-commands: vp dev : Ignites the local development server with ultra-fast Hot Module Replacement (HMR), driven by the freshly minted Vite 8 engine. vp check : Executes instant code formatting and lightning-fast static analysis utilizing Oxfmt and Oxlint . vp test : Runs automat...

Mozilla Quietly Disables asm.js in Firefox 148 Marking the Total Victory of WebAssembly.

Image
End of an Era: Mozilla Quietly Removes asm.js from Firefox as WebAssembly Reigns Supreme In a major technical cleanup that marks the closing chapter of early experimental web acceleration, Mozilla has officially deprecated and deactivated asm.js support within its browser ecosystem. Ryan Hunt, a core engineer on Mozilla’s SpiderMonkey JavaScript engine team, detailed that the feature was removed starting with the release of Firefox 148 in February. Remarkably, the removal went almost entirely unnoticed by the general public. Because asm.js is strictly a specialized, strict subset of standard JavaScript, older websites utilizing the technology do not break; instead, they gracefully fall back and continue to execute as standard JS scripts. The Evolution of Near-Native Web Performance The history of running heavy, compiled code (like C or C++) inside a web browser at near-native execution speeds has been a long-standing battleground for browser vendors. Google's NaCl Initiative (2...

Pretext The High-Performance Text Engine Exploding on GitHub

Image
Pretext: The New High-Performance Text Layout Engine Sweeping GitHub with 30,000+ Stars Cheng Lou , a software engineer at Midjourney with an impressive pedigree at Apple and Meta , has officially released Pretext . This innovative library is designed specifically for calculating text dimensions and layout across various fonts, addressing a long-standing bottleneck in web performance. The Problem with Traditional DOM Measuring Historically, measuring text dimensions in JavaScript or TypeScript required rendering the text directly into the browser's Document Object Model (DOM) and then querying the browser for its size. This process is notoriously resource-intensive and can lead to "layout thrashing," which significantly degrades web performance especially in text-heavy or highly dynamic applications. How Pretext Works: A Two-Step Revolution Pretext bypasses the browser's rendering engine by performing its own independent calculations. The library functions in two ...

MicroQuickJS project is now open and runs JavaScript using only 10KB of RAM.

Image
  Fabrice Bellard, the legendary French programmer who created important projects such as FFmpeg, QEMU, and Tiny C Compiler, has launched a new project, MicroQuickJS (mjs), a JavaScript engine focused on extreme memory efficiency. The binary size is less than 100KB and uses only 10KB of RAM during runtime. Bellard previously created QuickJS (qjs) in 2019, also aiming for a lightweight JavaScript engine, but qjs had a binary size of 387KB. This time, mjs changes the garbage collector to run in less RAM and doesn't use the CPU stack, while not supporting all JavaScript features; for example, it primarily supports ES5 strict mode.