starling,一个erlang的unicode字符串库
March 12th, 2008 :: simohayha
地址在这里:
http://12monkeys.co.uk/starling/
大体的介绍:
An OTP application, with a C pipe driver under the hood.
Based on ICU, the best implementation of Unicode.
Strings stored as binaries ⇒ big memory savings.
Backwards-compatible (mostly) with the standard string module.
oh yeah.
String in binary with UTF8 support (by C port) in Erlang.
特性很诱人哦,未知是否能较好的支持 regx ,如能,就完美了。
Longer-term: Apart from Unicode string handling, ICU also provides APIs to work with Unicode regexps, localization, and locale-specific tasks like number and date formatting. Starling will wrap those APIs too eventually.
regexp 还未完成。
但一旦这些特性都完成了,那 Erlang U-String 的特性可就真够丰富的了,可以说是毫不逊色。有望成为 Core lib 啊。
erlang-mbcs http://code.google.com/p/erlang-mbcs/