If we want to be truly none allocating (at least of POSIX), then we should probably use the std.os.ArgIterator. Sadly, on Windows, this iterator allocates, and we can't really get around that (I think).
Questions:
What is the best way to skip the path of the executable (the first arg)?
Should we assume it's always there, and skip the first iteration?
What if the user of the lib wants to store the path somewhere.
We could, like with the current API, require the user to eat the exe path.
If we want to be truly none allocating (at least of POSIX), then we should probably use the
std.os.ArgIterator
. Sadly, on Windows, this iterator allocates, and we can't really get around that (I think).Questions: