Releases
runtime-v0.3.0
@grain/runtime runtime-v0.3.0
⚠ BREAKING CHANGES
Correct type signature for _start
Introduce _gmain
for old behavior of _start
Tail calls must be enabled explicitly via --experimental-wasm-tail-call
Static linking of Grain modules (#584 )
Streamline runtime dependencies & entrypoints (#585 )
Use Grain exceptions instead of JS exceptions (#565 )
Grain implementation of memory allocator (#530 )
Refactor value tags (#526 )
Char (#474 )
Rework memory management (#461 )
Features
Add ability to throw
exceptions (1f1cd4a )
Add ability to register custom exception printers (1f1cd4a )
Add Exception stdlib with Exception.registerPrinter (1f1cd4a )
Add support for loading Grain modules directly from an ArrayBuffer and running them (f07f305 )
allow setting the initial memory via CLI option (#448 ) (213ee5a )
Char (#474 ) (c9422f8 )
Grain implementation of equals (#538 ) (09617bc )
Grain implementation of memory allocator (#530 ) (fd8faaa )
Grain implementation of memory manager (#534 ) (cea6dcc )
Grain implementation of toString/print (#540 ) (8c77905 )
Implement support for printing in Grain (#561 ) (bfe471c )
Normalized wasm exports for linked modules (3d4ac6e )
Static linking of Grain modules (#584 ) (3d4ac6e )
Support for more WebAssembly runtimes, including Wasmtime and Wasmer (3d4ac6e )
Use Grain exceptions instead of JS exceptions (#565 ) (1f1cd4a )
Bug Fixes
export *
with exceptions (1f1cd4a )
Correct type signature for _start
(3d4ac6e )
Rework memory management (#461 ) (84318b0 )
runtime: Properly decRef record and array values (#500 ) (88adb94 )
runtime: Return correct pointer to morecore (#602 ) (af39cc4 )
Use Is instead of Eq for match variant comparison (1f1cd4a )
Use proper return type for calls to external functions (3d4ac6e )
utilize path.join to create filesystem paths in default locator (#432 ) (8aa4fa0 )
Miscellaneous Chores
Introduce _gmain
for old behavior of _start
(3d4ac6e )
Refactor value tags (#526 ) (9b21d22 )
Streamline runtime dependencies & entrypoints (#585 ) (bbdd38d )
Tail calls must be enabled explicitly via --experimental-wasm-tail-call
(3d4ac6e )
You can’t perform that action at this time.