.RAR versus .ZIP

Important site and forum news, announcements, and feedback goes here.

Moderator: Board Staff

The Eva Monkey
IT'S OVER 9000!!!
IT'S OVER 9000!!!
User avatar
Posts: 9109
Joined: Jun 14, 2004
Location: The Evanets.
Gender: Male
Contact:

.RAR versus .ZIP

  •      
  •      
  • Quote

Postby The Eva Monkey » Thu Aug 24, 2006 3:34 pm

I have stuff on the server in both .RAR and .ZIP format. And what I want to know from you computer nerds is whether I should use on or the other exclusively? I suspect that I should use one exclusively, for compatibility and consistancy purposes, but I'm not sure which would be better to use.

Anyone care to impart some file compression knowledge?

badc0de
Adam
User avatar
Posts: 71
Joined: Jul 13, 2006
Location: Germany

  •      
  •      
  • Quote

Postby badc0de » Thu Aug 24, 2006 4:08 pm

Normally the .rar-compression is much better then the .zip-compression. Afaik it's because the algorithm of the .zip-compression has never really been changed, this is good for backwards-compatibily but bad for good compression-ratios. If I don't be at a fault, then an unzip-utility from the computer-stoneage should have no problems unpacking a .zip-file created with the newest version of (Win)Zip (except for long filenames, which it simply truncates).
The algorithm that is used for .rar-achives has changes over the time for better compression-ratios, making .rar-files created with new compression-programs incomplatible with old uncompression-programs, but the newer programs can still open files created with old programs.
So the .rar-fileformat isn't backwards-compatible, but the programs are backwards-compatible (at least the uncompressing part).
I would suggest the .rar-format. I think the argument that most people cannot open .rar-files is out-dated nowadays, because most of the (un)compression-programs handle atleast .zip and .rar.
That's my humble opinion.

Ornette
Administrator
Administrator
User avatar
Age: 49
Posts: 11887
Joined: Dec 26, 2005
Location: Pittsburgh/New York City
Gender: Male
Contact:

Re: .RAR versus .ZIP

  •      
  •      
  • Quote

Postby Ornette » Thu Aug 24, 2006 4:24 pm

The Eva Monkey wrote:I have stuff on the server in both .RAR and .ZIP format. And what I want to know from you computer nerds is whether I should use on or the other exclusively? I suspect that I should use one exclusively, for compatibility and consistancy purposes, but I'm not sure which would be better to use.

Anyone care to impart some file compression knowledge?

The only things I can think of to consider is: what is being archived and who's going to be looking at it. AFAIK, both types of archives can be unpacked on pretty much any OS. For unices you have "unrar" which I've never run into problems with, although I don't know of a free rar archive creator, since the packing is proprietary, but the unpacking is freely distributed.

RAR archives typically give you better compression, because it'll do multiple passes. The downside is that it'll take longer and be more CPU intensive. ZIP will use multiple methods of compression depending on the files in the archive for the best compression of each file. The downside of this is when the archive contains many small files the gain of multiple methods diminishes and you actually get a larger ZIP.

I don't know much about windows users, but I do know that "unzip" is freely available and even comes with many linux distributions (without having to do an extra install). If you RAR everything instead of ZIP, you may run into instances where someone just wanted to download a collection of images and now has to install WinRAR or something.

Personally, I always use tar/gzip (tar being an archive compression, gzip being similiar to zip minus the archiving) because it's fast and everyone I know can unpack it. The only exceptions are:
1) if I'm making a backup, and there's 80gigs to back up. Using bzip instead of gzip saves me 15 gigs, but it takes an extra 20 minutes to compress. I'm willing to save those 15 gigs because I'm not going to be unpacking this unless I need to restore something. This also goes with really large files that I don't intend to unpack very often.
2) if I'm compressing a relatively large file that I'm posting somewhere for download. If I can save 5 megs using bzip, I'll do it because of the amount of bandwidth I'll be saving (especially if it's going to get downloaded a lot).

The Eva Monkey
IT'S OVER 9000!!!
IT'S OVER 9000!!!
User avatar
Posts: 9109
Joined: Jun 14, 2004
Location: The Evanets.
Gender: Male
Contact:

  •      
  •      
  • Quote

Postby The Eva Monkey » Thu Aug 24, 2006 5:00 pm

I should mention that I'm not really interested in the compression side of things. I mainly use it for the purpose of archival, so it's merely for the purpose of getting everything together into one download.

From what I'm hearing, I should output .ZIPs if I want ease of access to downloaders?

Ornette
Administrator
Administrator
User avatar
Age: 49
Posts: 11887
Joined: Dec 26, 2005
Location: Pittsburgh/New York City
Gender: Male
Contact:

  •      
  •      
  • Quote

Postby Ornette » Thu Aug 24, 2006 5:15 pm

The Eva Monkey wrote:I should mention that I'm not really interested in the compression side of things. I mainly use it for the purpose of archival, so it's merely for the purpose of getting everything together into one download.

From what I'm hearing, I should output .ZIPs if I want ease of access to downloaders?

ZIP also allows you to extract a single file from the archive, instead of uncompressing the entire thing.

Again, I don't know much about windows, it may be that RAR is now included in Vista or whatever new XP release is out now. I know people who still use windows 3.1, but that's their problem.

Darius
Lilith
User avatar
Posts: 137
Joined: Aug 10, 2006
Location: Quebec, Canada

  •      
  •      
  • Quote

Postby Darius » Thu Aug 24, 2006 8:21 pm

Well, in my opinion, I would use .rar because if you want to archive things..you can choose if you wan to put in .zip or .rar and that would be beneficial to anyone who doesnt have rar..Also it's pretty quick at archiving...but i wouldnt know which is faster cuz i've on;y used winrar

badc0de
Adam
User avatar
Posts: 71
Joined: Jul 13, 2006
Location: Germany

  •      
  •      
  • Quote

Postby badc0de » Fri Aug 25, 2006 4:19 am

Ornette wrote:ZIP also allows you to extract a single file from the archive, instead of uncompressing the entire thing.

If the .rar-archive isn't a solid archive (all files are handled as one big data-stream), then .rar can also extract single files.

Ornette wrote:Again, I don't know much about windows, it may be that RAR is now included in Vista or whatever new XP release is out now. I know people who still use windows 3.1, but that's their problem.

Vista: I don't know.
"eXtended Pain": No, not included. Only .zip
Windoof(*) 3.1: Oh, these retro-feelings... where is my C64? :D
(*) Windoof: A common and intentionally misspelling of Windows (the OS) in Germany, because it sounds almost the same and doof means stupid in German. :twisted:

drinian
Admin Emeritus
Admin Emeritus
User avatar
Posts: 2712
Joined: Apr 03, 2005
Location: In transit
Gender: Male
Contact:

  •      
  •      
  • Quote

Postby drinian » Fri Aug 25, 2006 3:32 pm

I would say to use .zip for compatability. It's a lot easier, since the standard is relatively open, to get useful programs to work with zip files. It seems like, with rar, about all you can do is extract or compress.

The difference in file size isn't that great these days either, especially with non-text media files that already have quite a bit of compression anyway.

The Eva Monkey
IT'S OVER 9000!!!
IT'S OVER 9000!!!
User avatar
Posts: 9109
Joined: Jun 14, 2004
Location: The Evanets.
Gender: Male
Contact:

  •      
  •      
  • Quote

Postby The Eva Monkey » Fri Aug 25, 2006 3:51 pm

drinian wrote:I would say to use .zip for compatability. It's a lot easier, since the standard is relatively open, to get useful programs to work with zip files. It seems like, with rar, about all you can do is extract or compress.

The difference in file size isn't that great these days either, especially with non-text media files that already have quite a bit of compression anyway.

Thanks, that settles it for me. I'll have to convert all my .RARs and put new .ZIPs up on the server.


Return to “EvaGeeks News and Feedback”

Who is online

Users browsing this forum: No registered users and 10 guests