Snappy: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
====Bindings and translations to other programming languages==== | ====Bindings and translations to other programming languages==== | ||
The software comes with [[C]] bindings, but there also exists an unofficial port to C. Bindings and or ports/re-implementations are available for amongst others [[Haskell]] (Binding), [[Java]] (Binding+port), [[LISP|Common Lisp]] (Binding+port), [[Lua]] (Binding), | The software comes with [[C]] bindings, but there also exists an unofficial port to C. Bindings and or ports/re-implementations are available for amongst others [[Haskell]] (Binding), [[Java]] (Binding+port), [[LISP|Common Lisp]] (Binding+port), [[Lua]] (Binding), Node.js (Binding), may be usable with other [[ECMAScript]] implementations as well, [[Perl]] (Binding), [[PHP]] (Binding), [[Python]] (Binding), [[Ruby]] (Binding) and [[Smalltalk]] (Binding). | ||
The Snappy C++ class and the C bindings and port appear to compile fairly cleanly on OS/2 with the usual caveats about compiler and system differences and so on, however when it comes to foreign language bindings and ports you may for some of them need to do some additional work since some of the common Windows and Unix like implementations differ quite a bit from the OS/2 ones and a number of the current OS/2 implementations are getting quite old, the Java ports run like a charm though. In fact the library is written entirely in C++ with no in-line assembly and generic enough to be easily portable to most systems, although on single tasking systems like [[DOS]] they make little sense unless you are using something like [[TopSpeed C++]] that can actually create DOS threads. | The Snappy C++ class and the C bindings and port appear to compile fairly cleanly on OS/2 with the usual caveats about compiler and system differences and so on, however when it comes to foreign language bindings and ports you may for some of them need to do some additional work since some of the common Windows and Unix like implementations differ quite a bit from the OS/2 ones and a number of the current OS/2 implementations are getting quite old, the Java ports run like a charm though. In fact the library is written entirely in C++ with no in-line assembly and generic enough to be easily portable to most systems, although on single tasking systems like [[DOS]] they make little sense unless you are using something like [[TopSpeed C++]] that can actually create DOS threads. | ||
Line 27: | Line 27: | ||
==Authors & publisher== | ==Authors & publisher== | ||
* | *Google | ||
* Andi Kleen (C port) | *Andi Kleen (C port) | ||
* Robert Brown (LISP port) | *Robert Brown (LISP port) | ||
* Dain Sundstrom (Snappy in Java) | *Dain Sundstrom (Snappy in Java) | ||
* Masashi Umezawa (Squak port) | *Masashi Umezawa (Squak port) | ||
* Binglin Chang (Java/JNI bindings) | *Binglin Chang (Java/JNI bindings) | ||
[[Category:C++ Class Libraries]][[Category:Compression]][[Category:Software written in C++]][[Category:Open Source Software]][[Category:Haskell]][[Category:Java Tools]][[Category:ECMAScript]][[Category:PHP]][[Category:Python]][[Category:Perl]][[Category:Smalltalk]][[Category:LISP]][[Category:Ruby]][[Category:Lua]] | [[Category:C++ Class Libraries]][[Category:Compression]][[Category:Software written in C++]][[Category:Open Source Software]][[Category:Haskell]][[Category:Java Tools]][[Category:ECMAScript]][[Category:PHP]][[Category:Python]][[Category:Perl]][[Category:Smalltalk]][[Category:LISP]][[Category:Ruby]][[Category:Lua]] |
Revision as of 14:23, 19 January 2017
A run time compression C++ class library that offers fairly moderate compression in return for high compression speeds and in particular excellent decompression speeds, the library is sometimes known by the colloquial name Zippy. Intended to be used for internal data compression in databases and similar applications rather than file compression, but in those sort of cases a low load decompression can in addition to saving space actually speed up reading and writing to and from slow peripherals such as hard drives.
Bindings and translations to other programming languages
The software comes with C bindings, but there also exists an unofficial port to C. Bindings and or ports/re-implementations are available for amongst others Haskell (Binding), Java (Binding+port), Common Lisp (Binding+port), Lua (Binding), Node.js (Binding), may be usable with other ECMAScript implementations as well, Perl (Binding), PHP (Binding), Python (Binding), Ruby (Binding) and Smalltalk (Binding).
The Snappy C++ class and the C bindings and port appear to compile fairly cleanly on OS/2 with the usual caveats about compiler and system differences and so on, however when it comes to foreign language bindings and ports you may for some of them need to do some additional work since some of the common Windows and Unix like implementations differ quite a bit from the OS/2 ones and a number of the current OS/2 implementations are getting quite old, the Java ports run like a charm though. In fact the library is written entirely in C++ with no in-line assembly and generic enough to be easily portable to most systems, although on single tasking systems like DOS they make little sense unless you are using something like TopSpeed C++ that can actually create DOS threads.
Links
- Google Snappy homepage
- Snappy repository on GitHub
- C port by Andi Kleen
- Common Lisp port by Robert Brown
- Jsnappy - A pure Java re-implementation of Snappy.
- Snappy in Java by Dain Sundstrom - Another Java re-implementation, supposedly faster than Jsnappy.
- Squak Smalltalk bindings
- JNI bindings for LZ4 and Snappy]
See also
Publications
- A comparison of Java implementations of LZO, Snappy, LZ4 and zLib - Differences apparently not as great as with the original C/C++ implementations
License and status
- Open source software made available under the Three Clause BSD License - Active development.
Authors & publisher
- Andi Kleen (C port)
- Robert Brown (LISP port)
- Dain Sundstrom (Snappy in Java)
- Masashi Umezawa (Squak port)
- Binglin Chang (Java/JNI bindings)