mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-16 08:21:44 +00:00
move runtime templates into stdlib for bundling with lib files
This commit is contained in:
@ -10,8 +10,8 @@ $> asc ...
|
||||
|
||||
The [default runtime](./default.ts) adds proper support for dynamic memory management and garbage collection to your program.
|
||||
|
||||
* [TLSF memory allocator](../assembly/allocator/tlsf.ts)
|
||||
* [ITCM garbage collector](../assembly/collector/itcm.ts)
|
||||
* [TLSF memory allocator](../allocator/tlsf.ts)
|
||||
* [ITCM garbage collector](../collector/itcm.ts)
|
||||
|
||||
Arena
|
||||
-----
|
||||
@ -22,7 +22,7 @@ $> asc ... --runtime arena
|
||||
|
||||
The [arena runtime](./arena.ts) is just enough to make most language features work, but doesn't have sophisticated support for freeing memory. Useful when prototyping or for simple one-shot modules in that it produces very small modules with minimal overhead.
|
||||
|
||||
* [Arena memory allocator](../assembly/allocator/arena.ts) with `memory.reset()`
|
||||
* [Arena memory allocator](../allocator/arena.ts) with `memory.reset()`
|
||||
* No garbage collector
|
||||
|
||||
None
|
@ -1 +1,3 @@
|
||||
import "allocator/arena";
|
||||
|
||||
// export { memory };
|
@ -1,2 +1,4 @@
|
||||
import "allocator/tlsf";
|
||||
import "collector/itcm";
|
||||
|
||||
// export { memory, gc };
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"extends": "../assembly.json",
|
||||
"include": [
|
||||
"./**/*.ts"
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user