Commit graph

5 commits

Author SHA1 Message Date
Aiden Cline
9fda73df47 fix(codemode): share memory between typed arrays and ArrayBuffer
Add ArrayBuffer, DataView and the typed array family (Int8, Uint8,
Uint8Clamped, Int16, Uint16, Int32, Uint32, Float32, Float64) on a shared
%TypedArray%. A typed array's buffer is a real ArrayBuffer, and views over
it (typed arrays, subarray, DataView, Buffer.from(arrayBuffer)) share its
memory, including across snapshots. Binary values cross extensions as
copies of their own kind and are rejected with a hint at tools and in
results.
2026-11-18 17:09:06 +00:00
James Long
b9029e64a0
refactor(codemode): split the language layer from Code Mode (#64487) 2026-11-17 15:21:51 -05:00
Aiden Cline
eaa6075572
feat(codemode): add Node's Buffer (#64365) 2026-11-16 23:55:30 -06:00
Aiden Cline
a3d6e54b3d
fix(codemode): decode UTF-8 across chunk boundaries (#63600) 2026-11-12 20:30:06 +00:00
James Long
a73657f3f9
refactor(codemode): flatten the VM into src and remove two-engine leftovers (#63377) 2026-11-12 13:39:15 -05:00
Renamed from packages/codemode/test/vm/snapshot.test.ts (Browse further)