Skip to content

Commit ebeb652

Browse files
committed
readme: 4 ways to do memory management
1 parent d5ad96f commit ebeb652

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@
2929
- Safety: no null, no globals, no undefined behavior (wip), immutability by default
3030
- C to V translation ([Translating DOOM demo video](https://www.youtube.com/watch?v=6oXrz3oRoEg))
3131
- Hot code reloading
32-
- [Flexible memory management](https://vlang.io/#memory) ([demo video](https://www.youtube.com/watch?v=gmB8ea8uLsM))
32+
- [Flexible memory management](https://vlang.io/#memory). GC by default, manual via `v -gc none`,
33+
arena allocation via `v -prealloc`, autofree via `v -autofree`
34+
([autofree demo video](https://www.youtube.com/watch?v=gmB8ea8uLsM)).
3335
- [Cross-platform UI library](https://github.com/vlang/ui)
3436
- Built-in graphics library
3537
- Easy cross-compilation

0 commit comments

Comments
 (0)