Freedom
github.com/styfle/propo...
@guybedford.com.bsky.social
Rabbit hole explorer. Working on JS & WebAssembly at Cloudflare. TC39. Creator https://jspm.org.
Freedom
github.com/styfle/propo...
We're hiring JavaScriptCore VM engineers in Cupertino, CA. Good opportunity to work on some truly foundational tech that underpins web performance in Apple products.
jobs.apple.com/en-us/detail...
Fascinating writeup by @hoodmane.bsky.social of Pyodide's WebAssembly JS promise integration, including a description and fix for the linear memory stack reentrancy problem.
blog.pyodide.org/posts/jspi-w...
JSPM 4.0: dependency management via import maps in browsers (benefits: reduced tooling and more)
@guybedford.com
jspm.org/jspm-4.0-rel...
#ECMAScript #JavaScript
Npm dependencies not being fully scoped is kind of an npm limitation I suppose? Import maps avoid this property.
15.05.2025 16:31 β π 3 π 0 π¬ 0 π 0First update on the open source I've been working on this past month:
ES Module Shims 2.5 - featuring hot reloading for native modules.
guybedford.com/hot-reloadin...
The simple approach came as a nice surprise to me too. Other coming modules features are likely a bit harder!
12.05.2025 22:18 β π 1 π 0 π¬ 0 π 0First update on the open source I've been working on this past month:
ES Module Shims 2.5 - featuring hot reloading for native modules.
guybedford.com/hot-reloadin...
Interesting experiment - Googleβs experimenting with performance exceptions in the origin-segmented script cache, seemingly primarily for their own advertising, YouTube and Google Maps scripts.
bsky.app/profile/inte...
Excited to announce I'll be joining Cloudflare next month as a Systems Engineer on the Workers Runtime team, continuing to work on the platform-level intersection of JavaScript and WebAssembly.
And in the mean time, I will be taking a much needed break and dusting off some OSS work...
Stripped down packuments seem to be scaling surprisingly well even for these huge numbers of versions. Wonder when it breaks down though.
10.02.2025 01:09 β π 4 π 0 π¬ 1 π 0It blows my mind when JS packages publish for every commit and end up with thousands of versions on npm.
For example Primer React (www.npmjs.com/package/@pri...) publishes ~20 - 30 times a day via commit-based CI.
Good dev pattern, or misuse of npm?
Announcing ES Module Shims 2.0. The latest version of what started out as an import maps polyfill now supports production polyfilling of more than 8 existing and upcoming native browser modules features π§΅
27.01.2025 08:03 β π 73 π 24 π¬ 1 π 4Yes, itβs one exception for convenience here given we donβt have a well defined mime type for typescript. In a true type stripping future there maybe wouldnβt ever be one as well.
27.01.2025 18:05 β π 3 π 0 π¬ 0 π 0Lexing JavaScript / TypeScript is very much the definition of an interpreter. Unless you donβt want to use an interpreter languageβ¦
27.01.2025 16:39 β π 0 π 0 π¬ 1 π 0Since JS modules require application/javascript, we default to processing application/typescript and any .ts or .mts files not served with an otherwise valid JS Mime.
27.01.2025 16:37 β π 2 π 0 π¬ 1 π 0Exactly, and only when Typescript is first encountered. Didnβt do any comparisons yet, that would be a good idea to try other libraries like this one.
27.01.2025 16:35 β π 1 π 0 π¬ 2 π 0See the announcement post for an example of running a TypeScript Vue app with #nobuild.
Other recent features including Wasm modules with source phase imports and multiple import maps are also explained in more detail.
guybedford.com/es-module-sh...
A major new feature of this release is a development convenience - TypeScript type stripping support per the proposed type stripping proposal, fully supporting in-browser transpilation of TypeScript.
27.01.2025 08:03 β π 13 π 0 π¬ 2 π 0Announcing ES Module Shims 2.0. The latest version of what started out as an import maps polyfill now supports production polyfilling of more than 8 existing and upcoming native browser modules features π§΅
27.01.2025 08:03 β π 73 π 24 π¬ 1 π 4