mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
Code mode scripts now run on @earendil-works/dquickts 0.2.0 (Bellard's QuickJS compiled to WebAssembly) instead of quickjs-wasi (QuickJS-NG): about 1.3 to 1.9 times faster, with a larger wasm (about 850 KB). - Deep recursion fails with InternalError: stack overflow instead of RangeError; the inline and remote sandboxes allow about 950 calls. - Deterministic runs: the fingerprint names the engine, and Math.random() gives other values for a seed. - Tests: no tool runs after an interrupted async function, and a loop of interrupted async functions ends with a timeout.
5 lines
196 B
TypeScript
5 lines
196 B
TypeScript
// Imported by runtime-setup.ts. Bun's default loader for .wasm evaluates to the file's path.
|
|
declare module "@earendil-works/dquickts/quickjs.wasm" {
|
|
const path: string;
|
|
export default path;
|
|
}
|