From ebeb6523488090f97d75ff8dc4e2a7949d7dd3c3 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Tue, 28 Feb 2023 09:58:52 +0100 Subject: [PATCH] readme: 4 ways to do memory management --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 09945499d1..9cb12595a7 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,9 @@ - Safety: no null, no globals, no undefined behavior (wip), immutability by default - C to V translation ([Translating DOOM demo video](https://www.youtube.com/watch?v=6oXrz3oRoEg)) - Hot code reloading -- [Flexible memory management](https://vlang.io/#memory) ([demo video](https://www.youtube.com/watch?v=gmB8ea8uLsM)) +- [Flexible memory management](https://vlang.io/#memory). GC by default, manual via `v -gc none`, + arena allocation via `v -prealloc`, autofree via `v -autofree` + ([autofree demo video](https://www.youtube.com/watch?v=gmB8ea8uLsM)). - [Cross-platform UI library](https://github.com/vlang/ui) - Built-in graphics library - Easy cross-compilation