Sign in

Guy Bedford

@guybedford.com
1.4K followers 52 following 16 posts

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

PostsRepliesMedia
Guy Bedford @guybedford.com · 22/04/2026
We recently undertook an effort to improve the reliability of Rust Workers, which involved implementing panic=unwind and abort recovery in Wasm Bindgen using WebAssembly Exception Handling. Excited to be able to share this work! blog.cloudflare.com/making-rust-...
blog.cloudflare.com
Making Rust Workers reliable: panic and abort recovery in wasm‑bindgen
Panics in Rust Workers were historically fatal, poisoning the entire instance. By collaborating upstream on the wasm‑bindgen project, Rust Workers now support resilient critical error recovery, includ...
0110
Reposted by Guy Bedford
Justin Fagnani @justinfagnani.com · 13/08/2025
PSA: If you want to use standard CSS Modules before they ships in Safari and Firefox, I built a Rollup plugin to support them: www.npmjs.com/package/roll... Converting CSS Modules to JS this way also support bundling before @sheet (which lets you put multiple stylsheets in one CSS file) lands.
npmjs.com
rollup-plugin-css-modules
Rollup support for standard CSS modules. Latest version: 0.1.2, last published: 2 years ago. Start using rollup-plugin-css-modules in your project by running `npm i rollup-plugin-css-modules`. There a...
1145
Reposted by Guy Bedford
Steven ⬢ @styfle.dev · 04/07/2025
Freedom github.com/styfle/propo...
github.com
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
1124
Reposted by Guy Bedford
Shu-yu Guo @rfrn.org · 03/07/2025
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...
jobs.apple.com
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.
23716
Guy Bedford @guybedford.com · 03/07/2025
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...
blog.pyodide.org
Integrating JSPI with the WebAssembly C Runtime
Using JSPI with C code compiled to the wasm32-unknown-unknown target
023
Reposted by Guy Bedford
ECMAScript.News @ecmascript.news · 26/05/2025
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
jspm.org
JSPM - JSPM 4.0 Release
JSPM 4.0 release post featuring a refreshed local development workflow for modern standards
032
Guy Bedford @guybedford.com · 15/05/2025
Npm dependencies not being fully scoped is kind of an npm limitation I suppose? Import maps avoid this property.
020
Reposted by Guy Bedford
Guy Bedford @guybedford.com · 12/05/2025
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...
guybedford.com
ES Module Shims 2.5 Release Update
ES Module Shims 2.5 release update, including hot reloading, import defer and new baseline feature support.
1236
Guy Bedford @guybedford.com · 12/05/2025
The simple approach came as a nice surprise to me too. Other coming modules features are likely a bit harder!
010
Guy Bedford @guybedford.com · 12/05/2025
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...
guybedford.com
ES Module Shims 2.5 Release Update
ES Module Shims 2.5 release update, including hot reloading, import defer and new baseline feature support.
1236
Guy Bedford @guybedford.com · 23/04/2025
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...
221
Guy Bedford @guybedford.com · 22/04/2025
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...
8593
Reposted by Guy Bedford
IntentToShip @intenttoship.dev · 27/03/2025
Blink: Intent to Prototype: Source phase imports
groups.google.com
Blink: Intent to Prototype: Source phase imports
Blink: Intent to Prototype: Source phase imports
021
Guy Bedford @guybedford.com · 10/02/2025
Stripped down packuments seem to be scaling surprisingly well even for these huge numbers of versions. Wonder when it breaks down though.
140
Guy Bedford @guybedford.com · 10/02/2025
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?
npmjs.com
@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...
590
Reposted by Guy Bedford
Guy Bedford @guybedford.com · 27/01/2025
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 🧵
17224
Guy Bedford @guybedford.com · 27/01/2025
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.
030
Guy Bedford @guybedford.com · 27/01/2025
Lexing JavaScript / TypeScript is very much the definition of an interpreter. Unless you don’t want to use an interpreter language…
100
Guy Bedford @guybedford.com · 27/01/2025
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.
120
Guy Bedford @guybedford.com · 27/01/2025
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.
210
Guy Bedford @guybedford.com · 27/01/2025
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...
guybedford.com
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.
2131
Guy Bedford @guybedford.com · 27/01/2025
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.
2130
Guy Bedford @guybedford.com · 27/01/2025
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 🧵
17224