phobo's std.file is completely broke!
tide
tide at tide.tide
Sun Sep 16 00:29:50 UTC 2018
On Saturday, 15 September 2018 at 18:21:43 UTC, Josphe Brigmo
wrote:
> On Saturday, 15 September 2018 at 13:37:29 UTC, Vladimir
> Panteleev wrote:
>> Can you list some programming languages that achieve this task
>> in a way you approve of?
>
> Plenty, pick just about any one. C#, Haskell, javascript, lua,
> python, perl, C++(yes, c++, we are not talking about language
> features but usability). The simple fact is that C++ can be
> used to do anything almost 100% correct while D can fail. D is
> only a better language, not a better compiler(except it's
> speed).
See you are just talking out of your ass right now. I just tried
C++, it doesn't work. You can't use std::fstream with a path that
is larger than 260. I also moved an executable to that large
path. And guess what I couldn't even get Windows to run it. Not
through powershell nor explorer. I can't even run applications
like "ls" with powershell. Let alone "cd" into the folder. oddly
enough the only thing that came close was git bash, which gave me
an error message. While powerhshell just said couldn't find path.
```
Error: Current working directory has a path longer than allowed
for a
Win32 working directory.
Can't start native Windows application from here.
```
I don't know how you can complain about D when Windows is so
fundamentally broken for large files path, that even it's set of
tools don't support it.
Another one, Python:
https://docs.python.org/3/using/windows.html#removing-the-max-path-limitation
It does not support long paths, you have to use \\?\ or enable it
with the registry (only on newer Windows 10 versions).
If you are going to make claims -- Do Your Research.
More information about the Digitalmars-d
mailing list