JalonSolov
JalonSolov
The first one is understandable... the description of `-freestanding` is: ``` -freestanding Build the executable without dependency on libc. Supported only on `linux` targets currently. ``` Since `memcpy` and `memmove`...
Yes, `-freestanding` in V is more like `-nostdlib`. `-cflags -static` will get you a statically linked executable.
A complete, fully runnable example: ```v import benchmark import time [heap] struct Test { mut: created_at time.Time } fn main() { mut b := benchmark.start() fn [mut b] () {...
There are at least a couple of "extra" things happening here. For one, the example code is creating maps and adding to them in the loop. After you take out...
Definitely something odd with m1 mac. The time for initialization should be _much_ smaller. Weird.
The playground is fine for testing small things, but you need to `v up` and test locally. If it works locally, but fails in the playground, it's a playground problem,...
Why not just use the POSIX `poll` function, which should be available on all (or most?) systems. Even Windows has a POSIX subsystem.
It repeats the prompt for every character you type, as you type them.
Not so strange, depending on how it was written. A "common" way to do it would be to move the cursor to the start of the line, and re-print the...
It's definitely a bug. Just need someone to dig into the code and fix it.