Guy Bedford's Avatar

Guy Bedford

@guybedford.com.bsky.social

Rabbit hole explorer. Working on JS & WebAssembly at Cloudflare. TC39. Creator https://jspm.org.

1,358 Followers  |  48 Following  |  15 Posts  |  Joined: 25.04.2023  |  1.6536

Latest posts by guybedford.com on Bluesky

Preview
GitHub - styfle/proposal-import-bytes: A modest proposal for importing bytes in javascript A modest proposal for importing bytes in javascript - styfle/proposal-import-bytes

Freedom

github.com/styfle/propo...

04.07.2025 15:18 β€” πŸ‘ 12    πŸ” 4    πŸ’¬ 1    πŸ“Œ 1
Preview
JavaScript Virtual Machine Compiler Engineer - Jobs - Careers at Apple Apply for a JavaScript Virtual Machine Compiler Engineer job at Apple. Read about the role and find out if it’s right for you.

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...

03.07.2025 04:38 β€” πŸ‘ 37    πŸ” 16    πŸ’¬ 2    πŸ“Œ 1
Integrating JSPI with the WebAssembly C Runtime Using JSPI with C code compiled to the wasm32-unknown-unknown target

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...

03.07.2025 14:20 β€” πŸ‘ 3    πŸ” 3    πŸ’¬ 0    πŸ“Œ 0
Preview
JSPM - JSPM 4.0 Release JSPM 4.0 release post featuring a refreshed local development workflow for modern standards

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

26.05.2025 20:39 β€” πŸ‘ 4    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0

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    πŸ“Œ 0
ES Module Shims 2.5 Release Update ES Module Shims 2.5 release update, including hot reloading, import defer and new baseline feature support.

First 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...

12.05.2025 20:13 β€” πŸ‘ 24    πŸ” 6    πŸ’¬ 1    πŸ“Œ 0

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    πŸ“Œ 0
ES Module Shims 2.5 Release Update ES Module Shims 2.5 release update, including hot reloading, import defer and new baseline feature support.

First 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...

12.05.2025 20:13 β€” πŸ‘ 24    πŸ” 6    πŸ’¬ 1    πŸ“Œ 0

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...

23.04.2025 16:18 β€” πŸ‘ 3    πŸ” 1    πŸ’¬ 2    πŸ“Œ 0

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...

22.04.2025 18:25 β€” πŸ‘ 60    πŸ” 3    πŸ’¬ 8    πŸ“Œ 2
Blink: Intent to Prototype: Source phase imports Blink: Intent to Prototype: Source phase imports

Blink: Intent to Prototype: Source phase imports

27.03.2025 21:43 β€” πŸ‘ 2    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

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    πŸ“Œ 0
Preview
@primer/react An implementation of GitHub's Primer Design System using React. Latest version: 37.12.0, last published: 3 days ago. Start using @primer/react in your project by running `npm i @primer/react`. There a...

It 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?

10.02.2025 00:39 β€” πŸ‘ 8    πŸ” 0    πŸ’¬ 5    πŸ“Œ 0

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    πŸ“Œ 4

Yes, 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    πŸ“Œ 0

Lexing 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    πŸ“Œ 0

Since 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    πŸ“Œ 0

Exactly, 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    πŸ“Œ 0
Announcing ES Module Shims 2.0 ES Module Shims 2.0 release post, featuring TypeScript type stripping, Wasm modules, source phase imports and multiple import maps support.

See 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...

27.01.2025 08:03 β€” πŸ‘ 12    πŸ” 1    πŸ’¬ 2    πŸ“Œ 0

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    πŸ“Œ 0

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    πŸ“Œ 4

@guybedford.com is following 20 prominent accounts