Why use rar for compression when there are seemingly better alternatives?
- redsteakraw
- Posts: 245
- Joined: Sun May 24, 2020 11:19 pm
- Has thanked: 1 time
- Been thanked: 41 times
Why use rar for compression when there are seemingly better alternatives?
I noticed the project recently switched to using RAR archives which is interesting as most Linux projects are switching to or using XZ archives. RAR files seem to require a freeware package that is not usually bundled in most linux distros. XZ archiving provides better compression and better integration with other linux distros out of the box and can be opened on Windows with 7Zip so multiplatform interoperability isn't a problem. Am I overlooking some factor that would make RAR a better choice?
Here is a benchmark of various compression algorithms.
http://catchchallenger.first-world.info ... LZ4_vs_LZO
Here is a benchmark of various compression algorithms.
http://catchchallenger.first-world.info ... LZ4_vs_LZO
Fear is the mind killer!
-
- Posts: 125
- Joined: Wed Jun 03, 2020 5:39 pm
- Has thanked: 8 times
- Been thanked: 36 times
Re: Why use rar for compression when there are seemingly better alternatives?
What more precisely is packaged with RAR? I am only aware of the SD installer which is anyhow designed for Windows. 7-Zip can unpack RAR so you do not need the freeware program to extract and install the files from Linux.
MiSTer is open source and uses in part a bare bones Linux distro, but one should probably not look at it as a Linux project. The main developer works in Windows and the project primarily caters Windows users. For them, RAR is likely more familiar and easier to deal with than XZ.
MiSTer is open source and uses in part a bare bones Linux distro, but one should probably not look at it as a Linux project. The main developer works in Windows and the project primarily caters Windows users. For them, RAR is likely more familiar and easier to deal with than XZ.
Re: Why use rar for compression when there are seemingly better alternatives?
RAR is a fairly obscure format in 2020 ... It was popular back when every byte mattered and archives needed to be split because modems.12characters wrote: ↑Tue Jul 28, 2020 8:13 am RAR is likely more familiar and easier to deal with than XZ.
If it's just the SD loader, for Windows users, why not just use ZIP which has native OS/explorer support, high familiarity & doesn't require the end user to install something.
Package size & getting the absolute best compression rate is pretty much immaterial, a few extra MB doesn't impact hosting the files (GH pay for the bandwidth). XZ files would add unnecessary complication.
-
- Posts: 12
- Joined: Sun Aug 16, 2020 3:51 pm
Re: Why use rar for compression when there are seemingly better alternatives?
I think the question was about roms, not anything MiSTer related, so it's probably off-topic for this forum.
Re: Why use rar for compression when there are seemingly better alternatives?
https://github.com/MiSTer-devel/SD-Inst ... n64_MiSTerJohnny Love wrote: ↑Sat Aug 22, 2020 4:28 pm I think the question was about roms, not anything MiSTer related, so it's probably off-topic for this forum.
-
- Posts: 12
- Joined: Sun Aug 16, 2020 3:51 pm
Re: Why use rar for compression when there are seemingly better alternatives?
OK that makes sense, I would probably go for zip there, but Mr. Fusion seems like the better option these days.
- Sorgelig
- Site Admin
- Posts: 890
- Joined: Thu May 21, 2020 9:49 pm
- Has thanked: 2 times
- Been thanked: 214 times
Re: Why use rar for compression when there are seemingly better alternatives?
github has file size limits. rar is used because it gives greater compression ratio so i still can use github to release intall. XZ is not an option for windows.
Re: Why use rar for compression when there are seemingly better alternatives?
7z have a similar compression ratio than xz
- redsteakraw
- Posts: 245
- Joined: Sun May 24, 2020 11:19 pm
- Has thanked: 1 time
- Been thanked: 41 times
Re: Why use rar for compression when there are seemingly better alternatives?
7-Zip(windows) can archive .XZ and is on windows, not to mention both WinZip and WinRAR can extract .XZ files. I may be missing something but I don't see how windows users can't use .XZ
Fear is the mind killer!