May 7, 2024  |
|
Node v22.1.0: automatic on-disk code cachingnodejs.org @targos@fosstodon.org @nodejs@social.lfx.dev “When [enabled], whenever Node.js compiles a CommonJS or ECMAScript Module, it will use on-disk V8 code cache persisted in [a] directory to speed up the compilation. This may slow down the first load of a module graph, but subsequent loads of the same module graph may get a significant speedup if the contents of the modules do not change. Locally, this speeds up loading of test/fixtures/snapshot/typescript.js from ~130ms to ~80ms.” |
|
|
|
|
|
|
|
|
JavaScript language design and implementation in tandemdl.acm.org github.com/sukyoung github.com/jhnaldo In this article, we present how to automatically extract a mechanized specification from a prose specification and how useful it can be in practice.
Using the example of JavaScript, we show how mechanized specifications can be used to detect conformance bugs between language specifications and existing JavaScript engines in major Web browsers, and to generate more special-purpose JavaScript implementations, such as static analyzers, in a correct-by-construction manner.
We propose a new approach to programming language development as a promising direction for the future: first design the language in a mechanized specification and then generate both human-friendly specifications written in diverse natural languages and correct-by-construction implementations and tools from the mechanized specification. |
|
|
Poll: What is your preferred JavaScript bundler (not necessarily the one you use the most)?We’ll share the results in one of the next editions! |
|
This email was sent to {{ email | default }}. You can unsubscribe from this list here or update your preferences. |
|