Does the standard library use GC? #27567
|
The V standard library shouldn't use GC, as that would impose significant limitations on developers using the V language. Of course, you can use it temporarily for now and gradually transition to using unsafe and autofree once autofree is mature enough to completely remove GC from the standard library |
Replies: 5 comments 10 replies
|
No. You can use it in any app with -gc none. |
|
GC is the default, since most people will never need anything else, but for those who know what they are doing, there is |
|
It was told that at current stage -gc none will possibly lead to memory leak,is this still true as of today? |
This is the real expectation. |
|
After finding a significant performance penalty with default gc and json.encode flexibility is critical to get much faster performance |
No. You can use it in any app with -gc none.