[web-devel] FilePath in WAI

Simon Marlow marlowsd at gmail.com
Fri Jun 15 09:25:09 CEST 2012


On 14/06/2012 18:53, Greg Weber wrote:
> actually, the standard libraries still don't deal with filepaths well
> enough, which is why we are moving towards using system-filepath.

Are there tickets open about the problems?  I'd rather sort any problems 
out in the standard libraries than force people to use a separate package.

Cheers,
	Simon



> Would that work better for you Kazu, or still not fast enough?
>
> On Thu, Jun 14, 2012 at 10:32 AM, Bulat Ziganshin
> <bulat.ziganshin at gmail.com>  wrote:
>> Hello Kazu,
>>
>> Wednesday, June 13, 2012, 11:41:33 AM, you wrote:
>>
>>> To implement high-performance web servers, I would like to remove
>>> overhead of String and want to use ByteString instead
>>
>> 1. when dealing with files involve system call, overhead of converting
>> String forth and back to ByteString would be probably small compared
>> to syscall itself
>>
>> 2. in the Haskell maillists, there were huge discussions about
>> filenames nature. on Windows, filename is actually a list of Unicode
>> characters (usually passed to Win32 APIs in UTF16 encoding), on Linux
>> it's byte string in some partition-specific encoding. all the details
>> are dealt in the hard way by the standard libraries. running ahead of
>> them may be very difficult job
>>
>>
>> --
>> Best regards,
>>   Bulat                            mailto:Bulat.Ziganshin at gmail.com
>>
>>
>> _______________________________________________
>> web-devel mailing list
>> web-devel at haskell.org
>> http://www.haskell.org/mailman/listinfo/web-devel
>
> _______________________________________________
> web-devel mailing list
> web-devel at haskell.org
> http://www.haskell.org/mailman/listinfo/web-devel




More information about the web-devel mailing list