[web-devel] FilePath in WAI

Greg Weber greg at gregweber.info
Thu Jun 14 19:53:37 CEST 2012

actually, the standard libraries still don't deal with filepaths well
enough, which is why we are moving towards using system-filepath.

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

More information about the web-devel mailing list