Comments (5)
I added bindings for Linux i386 and amd64 and should add bindings for arm soon.
from lz4-java.
I myself am struck with the need for shared libraries for lz4; I can help if you point me in the right direction.
from lz4-java.
OK, we now have in git bindings for Linux 32-bits, Linux 64, Windows 64 and Mac (Intel) 64. I just deployed a snapshot to the sonatype repository. You can test it by downloading http://oss.sonatype.org/content/groups/public/net/jpountz/lz4/lz4/1.1-SNAPSHOT/lz4-1.1-20130207.232149-1.jar and running java -cp lz4-1.1-20130207.232149-1.jar net.jpountz.lz4.LZ4Factory
. If bindings are available for your platform, this should print:
0:23 jpountz@zreptik3 ~ % java -cp lz4-1.1-20130207.232149-1.jar net.jpountz.lz4.LZ4Factory
Fastest instance is LZ4Factory:JNI
Fastest Java instance is LZ4Factory:JavaUnsafe
I intend to to a 1.1.0 release soon, so any comments confirming that bindings work (or not) are welcome!
from lz4-java.
Thank you Adrien! These show promising results for the two platforms in which I am interested: mac os 10.8.2 and centos 5.9:lgmd-mooreb:~ 2013-02-08 11:10:55 $ uname -aDarwin lgmd-mooreb 12.2.0 Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.241/RELEASE_X86_64 x86_64lgmd-mooreb: 2013-02-08 11:11:01 $ java -cp ~/Downloads/lz4-1.1-20130207.232149-1.jar net.jpountz.lz4.LZ4FactoryPicked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -Xmx32gFastest instance is LZ4Factory:JNIFastest Java instance is LZ4Factory:JavaUnsafeSimilarly for our linux boxen:$ uname -aLinux s3fileupload-i-6f19451f 2.6.21.7-2.ec2.v1.3.fc8xen #1 SMP Sat Sep 25 01:16:50 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux$ cat /etc/redhat-release CentOS release 5.9 (Final)$ java -cp /tmp/lz4-1.1-20130207.232149-1.jar net.jpountz.lz4.LZ4FactoryFastest instance is LZ4Factory:JNIFastest Java instance is LZ4Factory:JavaUnsafeThanks a ton,b
-------- Original Message --------
Subject: Re: [lz4-java] Provide shared libraries for common platforms
(#8)
From: Adrien Grand [email protected]
Date: Thu, February 07, 2013 3:28 pm
To: jpountz/lz4-java [email protected]
Cc: Brian Moore [email protected], we now have in git bindings for Linux 32-bits, Linux 64, Windows 64 and Mac (Intel) 64. I just deployed a snapshot to the sonatype repository. You can test it by downloading http://oss.sonatype.org/content/groups/public/net/jpountz/lz4/lz4/1.1-SNAPSHOT/lz4-1.1-20130207.232149-1.jar and running java -cp ~/Téléchargements/lz4-1.1-20130207.232149-1.jar net.jpountz.lz4.LZ4Factory. If bindings are available for your platform, this should print: 0:23 jpountz@zreptik3 ~ % java -cp lz4-1.1-20130207.232149-1.jar net.jpountz.lz4.LZ4Factory Fastest instance is LZ4Factory:JNI Fastest Java instance is LZ4Factory:JavaUnsafe I intend to to a 1.1.0 release soon, so any comments confirming that bindings work (or not) are welcome! — Reply to this email directly or view it on GitHub.
from lz4-java.
Excellent news! I'll release shortly... Thanks Brian!
from lz4-java.
Related Issues (20)
- Error to decompress Lz4 that was compressed with lz4-net in C#
- Premature end of data while decompressing HOT 3
- CVE-2021-3520 Whether the vulnerability affects LZ4-Java HOT 2
- why lz aarch64 version is 1.9.1
- How to decopress large LZ4 files? HOT 1
- the value don't equal xxhsum,the value length is 15 HOT 2
- how to build 'arm64/liblz4-java.so' ? HOT 1
- Data larger than 4194304 Bytes is not decompressed correctly HOT 2
- lz4 legacy format support (typically for Linux Kernel compression) HOT 1
- LZ4 java with double buffering
- LZ4 decompression exception Malformed input at
- Exception in thread "main" net.jpountz.lz4.LZ4Exception: Malformed input at 16 HOT 3
- Add riscv support
- Stream ended prematurely when trying to readAllBytes
- Compile with frame pointers?
- Another release? HOT 5
- Enable support for riscv64 HOT 1
- JVM crashes at insertAndFindBestMatch
- Add more maintainers to `lz4-java` repo HOT 1
- add option to prefer java version when a library is hardcoded to LZ4Factory.fastestInstance
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lz4-java.