phobo's std.file is completely broke!

Vladimir Panteleev thecybershadow.lists at gmail.com
Sat Sep 15 13:37:29 UTC 2018


On Saturday, 15 September 2018 at 12:59:25 UTC, Josphe Brigmo 
wrote:
> The libraries are already copying the user's string and adding 
> the 0 termination prior to calling the windows api, so it seems 
> to me to be a reasonable place to make other modifications if 
> they are needed to accomplish the intended operation.

That only works for absolute paths.

> Yet it is somehow my fault for not reading the source of phobos 
> to make sure it is using unicode api? Which it is and it's 
> still failing!

Right. The problem is on the OS side.

> again, this is why I generally end up regretting using D.

Can you list some programming languages that achieve this task in 
a way you approve of?

> This is the typical mindset with D. There are all these "minor" 
> problems that people(the D community pretends are all that big 
> a deal but when you couple all these problems together it 
> results in a very unpleasant programming experience(out of all 
> the languages I've programmed in D is about the worse in this 
> regard).

Please drop this tone, it will make you no allies.



More information about the Digitalmars-d mailing list