[Implemented] Same compression algorithm for all OS

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Kukulkan
Addict
Addict
Posts: 1396
Joined: Mon Jun 06, 2005 2:35 pm
Location: germany
Contact:

[Implemented] Same compression algorithm for all OS

Post by Kukulkan »

Hi,

I would like to see compatibility between the x32, x64, Linux and MacOS variants of the PureBasic packing algorithm. Currently, you can not pack memory on linux and unpack it on windows. The same problem seem to exist for x32 and x64 windows compilation. As the used JCalG1 algorithm is not quite clear in his licence (from bitsum.com: License: unclassified), maybe a better and free algorithm should get used (for all OS). As I can see, the usage of LZX or LZW is no longer forbidden and the assigned patents are runned out since 2004.

[EDIT] LZMA (http://en.wikipedia.org/wiki/LZMA) currently seems to be the best choice... [/EDIT]

Kukulkan
Thorium
Addict
Addict
Posts: 1305
Joined: Sat Aug 15, 2009 6:59 pm

Re: Same compression algorithm for all OS

Post by Thorium »

Kukulkan wrote:Hi,

I would like to see compatibility between the x32, x64, Linux and MacOS variants of the PureBasic packing algorithm. Currently, you can not pack memory on linux and unpack it on windows. The same problem seem to exist for x32 and x64 windows compilation. As the used JCalG1 algorithm is not quite clear in his licence (from bitsum.com: License: unclassified), maybe a better and free algorithm should get used (for all OS). As I can see, the usage of LZX or LZW is no longer forbidden and the assigned patents are runned out since 2004.

[EDIT] LZMA (http://en.wikipedia.org/wiki/LZMA) currently seems to be the best choice... [/EDIT]

Kukulkan
Licence isnt the problem with JCalG1. The problem is that it's purely written in x86 asm so porting it is a lot of work.
There will be a plugin system for compression libs in the future. In the meantime they should set the default compression lib to zlib. It's allready in the PB package and available on every platform.

However that are old news and they dont seem to care much about the compression. They even didnt changed the help to clarify which compressions are used on the different platforms. And most importantly that they are not compatible.
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Re: Same compression algorithm for all OS

Post by DoubleDutch »

I was hoping for this (compression plugin/unified compression system) to be in this years 'Christmas/New Year' update that we have been expecting... ;(

Looks like Santa is a little late this year, or I've been a pretty bad boy? lol!
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
Little John
Addict
Addict
Posts: 4779
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: Same compression algorithm for all OS

Post by Little John »

Same compression algorithm for all OS
+ 1

I really would appreciate that.

Regards, Little John
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Re: Same compression algorithm for all OS

Post by Trond »

Btw, my huffman encoder is supposed to work on any os (except files bigger than 32 gb):
http://purebasic.fr/english/viewtopic.php?f=12&t=44644

But the compression ratio isn't all that good.
Zach
Addict
Addict
Posts: 1675
Joined: Sun Dec 12, 2010 12:36 am
Location: Somewhere in the midwest
Contact:

Re: Same compression algorithm for all OS

Post by Zach »

Great for Lossless video compression though.
Post Reply