About
Data.ByteString provides packed strings (byte arrays
held by a ForeignPtr), along with a list interface to these strings.
It lets you do extremely fast IO in Haskell; in some cases, even
faster than typical C implementations, and much faster than [Char].
It uses a flexible "foreign pointer" representation, allowing the
transparent use of Haskell or C code to manipulate the strings.
Data.ByteString is written in Haskell98, the foreign function
interface and cpp. It has been tested successfully with GHC 6.4 to
GHC 6.8.2 and and Hugs 2005-2006.
News
- 2008-04
bytestring 0.9.1.0 is released.
- 2008-01
bytestring 0.9.0.4 is released. It features support for
bytestring literals using GHC's new -XOverloadedStrings support.
- 2007-12
bytestring 0.9.0.2 is released. It features performance
improvements, and portability fixes.
- 2007-04
A new paper, Stream Fusion: From Lists to Streams to
Nothing at All, is now available, describing stream fusion in detail. It will appear at ICFP 2007.
- 2007-03
Data.ByteString is now supported by nhc98 1.19 (darcs version)
compiler!
- 2007-01
The Binary serialisation team has implemented a new high
performance binary library for Haskell, based on lazy
ByteStrings, providing
encode :: Binary a => a -> ByteString
decode :: Binary a => ByteString -> a
This allows pure serialisation direct into memory, to handles or
over the network, of Haskell values.
The code is available via darcs:
- 2007-01
The paper, Rewriting Haskell Strings, was awarded "Most
Practical Paper" at the Practical Aspects of Declarative
Languages conference at Nice, France.
- 2006-09
Duncan Coutts has written zlib/bzlib bindings for ByteStrings,
providing an elegant interface:
compress, decompress :: ByteString -> ByteString
This makes it easy to use compression/decompression on memory or
with disk or network IO. The code is available via darcs:
- 2006-09
A paper, Rewriting Haskell Strings, has been submitted to
PADL, describing the fusion system used in Data.ByteString.
- 2006-08
Data.ByteString version 0.7 is now available. This provides the
new lazy bytestring type, as well as the new array fusion system.
- 2006-06
Google has awarded a Summer of Code
scholarship to Spencer Janssen, to add a unicode layer to Data.ByteString.
- 2006-05
Data.ByteString is part of
the latest stable release of Hugs.
- 2006-04 Data.ByteString will be
part of the GHC base libraries in the GHC 6.6 release.
Documentation
Get bytestring
Source
Project Activity
|