English Amiga Board


Go Back   English Amiga Board > Misc > Amiga websites reviews

 
 
Thread Tools
Old 21 June 2018, 14:34   #1
Leffmann
 
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
Post 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
Leffmann is offline  
Old 21 June 2018, 15:24   #2
KONEY
OctaMED Music Composer
 
KONEY's Avatar
 
Join Date: Jan 2009
Location: Venice - Italy
Age: 49
Posts: 666
utterly interesting, thanks! So it all began in Japan...
KONEY is offline  
Old 21 June 2018, 18:33   #3
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
Very interesting indeed, thanks for sharing.
StingRay is offline  
Old 22 June 2018, 10:10   #4
demoniac
Registered User
 
Join Date: Jul 2005
Location: -
Posts: 1,686
Insightful read. Didn't realize PKZIP was similar.
demoniac is offline  
Old 22 June 2018, 21:41   #5
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,162
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.
jotd is offline  
Old 25 June 2018, 16:54   #6
Carlos Ace
Junior Member
 
Carlos Ace's Avatar
 
Join Date: Jul 2001
Location: Lusitania
Posts: 455
Send a message via ICQ to Carlos Ace
Quote:
Originally Posted by Leffmann View Post
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.
Carlos Ace is offline  
Old 26 June 2018, 03:01   #7
kolla
Banned
 
Join Date: Nov 2007
Location: Trondheim, Norway
Posts: 1,893
But how did lha become de-facto standard for Amiga?
kolla is offline  
Old 26 June 2018, 03:35   #8
redblade
Zone Friend
 
redblade's Avatar
 
Join Date: Mar 2004
Location: Middle Earth
Age: 40
Posts: 2,127
Quote:
Originally Posted by kolla View Post
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)
redblade is offline  
Old 26 June 2018, 05:20   #9
hth313
Registered User
 
hth313's Avatar
 
Join Date: May 2018
Location: Delta, Canada
Posts: 192
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.
hth313 is offline  
Old 26 June 2018, 08:50   #10
Leffmann
 
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
Quote:
Originally Posted by jotd View Post
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 View Post
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 View Post
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.
Leffmann is offline  
Old 26 June 2018, 12:26   #11
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
Quote:
Originally Posted by Leffmann View Post
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.
phx is offline  
Old 26 June 2018, 14:23   #12
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
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.
daxb is offline  
Old 26 June 2018, 16:34   #13
Leffmann
 
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
Quote:
Originally Posted by daxb View Post
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
Leffmann is offline  
Old 26 June 2018, 18:17   #14
hth313
Registered User
 
hth313's Avatar
 
Join Date: May 2018
Location: Delta, Canada
Posts: 192
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.
hth313 is offline  
Old 26 June 2018, 21:24   #15
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,162
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...)
jotd is offline  
Old 26 June 2018, 21:31   #16
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
Quote:
Originally Posted by Leffmann View Post
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>
daxb is offline  
Old 27 June 2018, 09:00   #17
demoniac
Registered User
 
Join Date: Jul 2005
Location: -
Posts: 1,686
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.
demoniac is offline  
Old 27 June 2018, 21:08   #18
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,162
The author of LZX got hired by Microsoft at some point.
jotd is offline  
Old 27 June 2018, 22:58   #19
demoniac
Registered User
 
Join Date: Jul 2005
Location: -
Posts: 1,686
Quote:
Originally Posted by jotd View Post
The author of LZX got hired by Microsoft at some point.
Yes, it seems directly after he finished college.
demoniac is offline  
Old 29 July 2018, 18:29   #20
Hewitson
Registered User
 
Hewitson's Avatar
 
Join Date: Feb 2007
Location: Melbourne, Australia
Age: 41
Posts: 3,772
The one thing I always wondered was why the archives were called .lzh on PC and .lha on Amiga.
Hewitson is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Nice article about the origins of Team17 rothers Amiga scene 1 18 May 2018 16:18
Gaming Clichés and Their Origins? Dastardly Retrogaming General Discussion 23 19 February 2010 10:50
Dragon Age Origins mattbarton.exe Retrogaming General Discussion 53 01 January 2010 14:36
Need the tune name/author/origins... Shoonay Nostalgia & memories 16 10 June 2006 13:47

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 00:02.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.14309 seconds with 13 queries