English Amiga Board

English Amiga Board (https://eab.abime.net/index.php)
-   Amiga websites reviews (https://eab.abime.net/forumdisplay.php?f=15)
-   -   The origins of LHA (https://eab.abime.net/showthread.php?t=93095)

Leffmann 21 June 2018 14:34

The origins of LHA
 
I thought this was interesting, the origins and history of how LHA came to be, by Haruhiko Okumura:

http://oku.edu.mie-u.ac.jp/~okumura/...n/history.html

KONEY 21 June 2018 15:24

utterly interesting, thanks! So it all began in Japan...

StingRay 21 June 2018 18:33

Very interesting indeed, thanks for sharing. :)

demoniac 22 June 2018 10:10

Insightful read. Didn't realize PKZIP was similar.

jotd 22 June 2018 21:41

I recently rebuilt it froml the source on windows, works but creates files with userid 0, so not readable on Linux without being root... bummer. I'd really like a working windows version.

Carlos Ace 25 June 2018 16:54

Quote:

Originally Posted by Leffmann (Post 1249606)
I thought this was interesting, the origins and history of how LHA came to be, by Haruhiko Okumura:

http://oku.edu.mie-u.ac.jp/~okumura/...n/history.html


Cool info.
Thanx.
:great

kolla 26 June 2018 03:01

But how did lha become de-facto standard for Amiga?

redblade 26 June 2018 03:35

Quote:

Originally Posted by kolla (Post 1250528)
But how did lha become de-facto standard for Amiga?

Good question. Arc and Zoo were released first I think (I saw it as a option on Diskmaster 1.3) But Lzx (96)was the first archiver I used on the Amiga (pkzip on Dos in 95)

hth313 26 June 2018 05:20

Zoo was quite popular in the early days. I think there was something in between like lharc(?), but then lha came around and it made smaller archives than anything else. I think it was also faster.

I think the reason it became the de-facto standard was that it was better than the alternatives and everyone just switched. This is as far as I remember it some 25 years later.

Whenever something new came around, we Amiga people were not afraid to try it. There was no "we have done it like that for 100 years" thinking in that community.

Leffmann 26 June 2018 08:50

Quote:

Originally Posted by jotd (Post 1249983)
I recently rebuilt it froml the source on windows, works but creates files with userid 0, so not readable on Linux without being root... bummer. I'd really like a working windows version.

Wouldn't the change have to be in the Linux version though, so that when it finds an invalid user ID, it replaces it with that of the current user?


Quote:

Originally Posted by kolla (Post 1250528)
But how did lha become de-facto standard for Amiga?

Would be interesting to hear Stefan Boberg comment on that.


Quote:

Originally Posted by hth313 (Post 1250535)
There was no "we have done it like that for 100 years" thinking in that community.

There's a little bit of that these days though. LHA is still overwhelmingly preferred, even with LZX clearly being the better archiver with a wide lead in all the important metrics.

There's something friendly and familiar in the LHA name I guess.

phx 26 June 2018 12:26

Quote:

Originally Posted by Leffmann (Post 1250548)
There's a little bit of that these days though. LHA is still overwhelmingly preferred, even with LZX clearly being the better archiver with a wide lead in all the important metrics.

There's something friendly and familiar in the LHA name I guess.

I guess that LHA is just *the* standard archiver on the Amiga. You can expect that every Amiga user has it installed. Just like ZIP is the standard in the Windows world, although there are much better archivers.

So what made it standard? It is older than LZX. And LZX was not free for a long time, which limited its distribution. Also LHA was used on Fish disks and on Aminet.

Today I would still prefer to release software in LHA archives.

daxb 26 June 2018 14:23

The main reason for LHA is IMO that it is used for Aminet archives. I think LHA is still fine today, although it is not the best archiver. Small packed size isn't that important like 25 years ago. Nowadays, in my opinion fast decompress time is the main argument against LHA.

Leffmann 26 June 2018 16:34

Quote:

Originally Posted by daxb (Post 1250612)
The main reason for LHA is IMO that it is used for Aminet archives. I think LHA is still fine today, although it is not the best archiver. Small packed size isn't that important like 25 years ago. Nowadays, in my opinion fast decompress time is the main argument against LHA.

Some numbers on this, testing with the contents of the Workbench 3.1 diskette on an A1200 with fastmem:

LZX: 45 seconds to compress to 370 KB, 10 seconds to decompress
LHA: 80 seconds to compress to 435 KB, 16 seconds to decompress

hth313 26 June 2018 18:17

I want to add that back in the days, I think there were some patent or IP restriction that also caused issues using one or more of the alternatives.

Lha was free, did a better job than the other free alternatives and people switched to it and I suppose it just reached critical mass.

jotd 26 June 2018 21:24

Leffman the Amiga version creates correct archives. I had fully automated whdload slave distribution from building to lha packing & sending mail to release, but it used the windows lha and Bert had to "sudo" to be able to extract them (and repack them...)

daxb 26 June 2018 21:31

Quote:

Originally Posted by Leffmann (Post 1250641)
Some numbers on this, testing with the contents of the Workbench 3.1 diskette on an A1200 with fastmem:

LZX: 45 seconds to compress to 370 KB, 10 seconds to decompress
LHA: 80 seconds to compress to 435 KB, 16 seconds to decompress

I get the same size here but...

Everything in and from/to RAM: on A1200 040/40 32MB:
LZX: 8.26 seconds to compress to 370 KB, 5.6 seconds to decompress
LHA: 11.32 seconds to compress to 435 KB, 5.8 seconds to decompress

Command lines for compressing:
lzx -bo1024 -Qf -r -R -q -2 af <target> <source>
lha -q -r -Z -Qq a <target> <source>

demoniac 27 June 2018 09:00

I think another reason why LZX wasn't more popular is that the authors only made the compressor on the Amiga side and the DOS version never arrived.

It's interesting to read that MS cabinet files uses LZX algorithm.

jotd 27 June 2018 21:08

The author of LZX got hired by Microsoft at some point.

demoniac 27 June 2018 22:58

Quote:

Originally Posted by jotd (Post 1250845)
The author of LZX got hired by Microsoft at some point.

Yes, it seems directly after he finished college.

Hewitson 29 July 2018 18:29

The one thing I always wondered was why the archives were called .lzh on PC and .lha on Amiga.


All times are GMT +2. The time now is 07:04.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.

Page generated in 0.04695 seconds with 11 queries