What is the equivalent of this in nim:
from sys import getsizeof
greeting = "hello world"
print(getsizeof(greeting))
Run
60
I tried sizeof but I think that for a string type, that gives me the size of
the pointer not the underlying string:
let greeting = "Hello World"
echo(sizeof(greeting))
Run
8
