Welcome, Guest. Please login or register.

Author Topic: AmiZilla has a new home on the web www.amizilla.net  (Read 8846 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Cymric

  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 1031
    • Show all replies
Re: AmiZilla has a new home on the web www.amizilla.net
« on: September 06, 2004, 08:57:35 PM »
The status is that about three people are contributing code. Messages on the mailing list average out at about 60 a month, with peaks in the summer months, when there are twice as much. I didn't really study the messages themselves: most of them seem to be CVS-related activity to provide simple AmigaOS<->Mozilla glue code. I think someone managed to get a binary (of 400 MB) running the other day which just printed a few messages on screen.

Project status? It is dead, as it was from day one. Some people just refuse to realise they are kicking a dead horse: AmigaOS (especially 3.1, the minimum requirement) cannot support a program as complex as Mozilla. Perhaps AmigaOS 4 makes things a little easier, but I'm not holding my breath. I find it foolish and naive at the very least to even continue the project. I would have closed it down and returned the bounty money (plus the accumulated interest) to its owners eons ago.

Some people say that cats are sneaky, evil and cruel. True, and they have many other fine qualities as well.
 

Offline Cymric

  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 1031
    • Show all replies
Re: AmiZilla has a new home on the web www.amizilla.net
« Reply #1 on: September 07, 2004, 08:49:36 AM »
Quote
Tomas wrote:
Atleast they are trying, which is more than i can say about you whiners.. If everyone believed like you, then there would be no software..

Of course, shoot the messenger. Always a good tactic when you are lacking proper arguments. So let's keep the dicsussion which will now ensue polite and to the technical point, okay?

Look guys, even though I do not own an Amiga anymore, and do not intend to buy one either, I am not against it in any way. I'm sure there are still many people who enjoy the little computer and would love to have decent software for it. It is just that Mozilla is a bridge too far. Why? Because it uses software technology (hate that damn word, but okay) which is quite alien to the Amiga, especially OS 3.1. It uses POSIX-compliant threads, which do not exist as yet on the Amiga, and are hard to implement too. It relies on the GTK+-toolkit, which does not exist at all on the Amiga. It uses the Boehm garbage collector, for which a sort-of-port exists for the Amiga, but operates under severe restrictions. I do not know how that will affect the Amizilla. It uses fork() at some places, the absolute Unix-to-Amiga porting nightmare. The dynamic library interface is completely different to what is common on the Amiga. You cannot even compile the sources on an Amiga because of their insane size running into hundreds of MBs. And so forth.

Writing decent implementations of each of the above parts are formidable and very difficult tasks in their own right, and now people are striving to do all of them at once! With AmigaOS 4, POSIX threads and fork() may be properly implementable at last, but despite my asking on several occasions on these forums, the Frieden brothers have not yet confirmed this. In any case, the impression I got while studying the sources was that you need to create so many extensions to the AmigaOS to get Mozilla going, that you might as well offer your services to Hyperion (or Genesi) to aid them in coding their next generation operating system.   And at a salary equivalent to the bounty money.

PeroxideChicken, you hit the nail on the head. The problem is exactly that Mozilla did not start out on the Amiga, but was created and designed on a more modern platform. It makes perfect sense to use code that is already available for that platform. If such code does not exist on a much older platform, you're out of luck. On the other hand, Scala and Lightware originated on the older platform, and thus can be much more easily ported to modern ones. The software can even be adapted to take advantage of the newer infrastructure in ways which would be very difficult if not impossible on the old one.

Bottom line: I am not negative, but I am brutally realistic. There's a difference. Unless people can convince me that the above subprojects are easily resolved, I will maintain my opinion that Amizilla is dead in the water. Please keep in mind that I am not saying that people should not do anything at all: there is indeed a lot you can learn from the process of porting a beast like Mozilla. Let them thinker to their heart's content: perhaps it will aid them in porting other programs. However, if you are contributing code with the bounty in mind, your efforts are much, much better spent elsewhere. The same goes for people who donate money in the hope that it will result in a working program: the technical issues are such that the bounty needs to gain at least another two digits before the effort becomes worthwhile. I am very sorry, but that's the way it is.

Some people say that cats are sneaky, evil and cruel. True, and they have many other fine qualities as well.
 

Offline Cymric

  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 1031
    • Show all replies
Re: AmiZilla has a new home on the web www.amizilla.net
« Reply #2 on: September 07, 2004, 10:39:30 AM »
Quote
mikeymike wrote:
I've heard of quite a few things that "would never happen" on the Amiga platform.  It is a shame I never hear the people who come out with such statements ever apologising when they've been proven wrong, and I don't see that it helps anyone in any way to be so negative about such projects.

Please be so kind as to reread my answer and understand why I am not being negative. Then also be so kind as to indicate where I am wrong with my analysis: just saying that I and Piru are 'negative' is not helping the discussion either.

You also have to understand that Mozilla is different from many other ill-fated projects because people donate money so it can be completed. That puts it into an entirely different category altogether. I am very willing to be corrected on the issue, because it would mean that OpenOffice is a mere stone throw away. I do not need to explain the impact the availability of both of these program suites would have on sales of AmigaOnes. In other words, I am already holding the door open for you to score and force me to apologize, and since there have been numerous occasions on these forums where I admitted I was wrong, you know I will.
Some people say that cats are sneaky, evil and cruel. True, and they have many other fine qualities as well.
 

Offline Cymric

  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 1031
    • Show all replies
Re: AmiZilla has a new home on the web www.amizilla.net
« Reply #3 on: September 08, 2004, 12:06:33 PM »
Quote
smithy wrote:
Your analysis is interesting, however it's fatally flawed:

Thank you for taking the time to address the technical issues. I'll write a brief reply to each of them, and then all we can do is wait to see what the Amizilla team comes up with. Therefore this will be my last contribution to this thread.

Quote
Quote
It uses POSIX-compliant threads, which do not exist as yet on the Amiga, and are hard to implement too.

(1) The Mozilla code doesn't directly use POSIX threads.  All thread-activity is contained within the NSPR (Netscape portable runtime).  The Amizilla team has already ported the NSPR, so this is a non-issue.

No, they have not yet ported the NSPR. They have ported parts, and if you look at the specification of the NSPR---which is decidely POSIXy---I am seriously wondering whether the solutions the Amizilla team (must) have come up with meet the general intent of the NSPR. AmigaOS 3.1 does not have a concept of threads, since tasks (the obvious candidates) are not able to access any dos.library function. Instead one distorts processes into behaving like threads, but this introduces subtleties which may or may not cause serious havoc, as the NSPR assumes that threads are anything but processes. Without an in-depth evaluation of the Mozilla code I cannot say whether it will cause problems or not. Time will tell---so the issue is not quite yet a non-issue.

As a side note, AmigaOS 4 is considerably smarter in this regard as it knows about proper threads. In addition, all BCPL remnants have been removed, turning dos.library into a proper library. My guess is that porting the NSPR to AmigaOS 4 will be much easier.

Quote
Quote
It uses the Boehm garbage collector, for which a sort-of-port exists for the Amiga, but operates under severe restrictions.

(3) I've got no knowledge of that, or how easy a complete port/re-implementation might be.

Not easy. Not easy at all. The collector relies on dark magic involving automatic stack resizing and scanning of all  data areas, including the stack. It is doable for sure, but you need to have a very good idea of what it is the collector is doing and how to coax the host system into cooperating without turning it into guacamole. Let's just say that you won't do this in a few hours. Once again, things are much better under AmigaOS 4 than under 3.

Quote
Quote
(4) It uses fork() at some places, the absolute Unix-to-Amiga porting nightmare.

It shouldn't use fork() either.  All concurrency-related things are in the NSPR, which is already ported.

Sorry. fork() is not overloaded by the NSPR, meaning that it is up to the underlying system libraries to provide support for it. The NSPR reference only mentions how fork() should be used in a portable way with respect to when to call which function, and that is something completely different altogether. Since the function is called in several places in the Mozilla code, you have a mighty big problem on your hands. Pray very hard that these parts are not critical to the operation of Mozilla, or can be rewritten so that fork() is no longer required.

I do not know whether fork() can be ported to AmigaOS 4, but since it has much better support for virtual memory addressing, I'm giving it a proverbial yes here. Once again, a clear advantage over 3.1.

Quote
Quote
The dynamic library interface is completely different to what is common on the Amiga.

(5) One of the Amizilla developers already has compiled the entire application on the WinUAE - this is a huge achievement, I wonder why they haven't publicised this milestone.  And it runs too, so I assume any problems with the library interface have already been overcome.

Err... I don't think you understood what I meant. Yes, they did compile Mozilla, but that doesn't mean it is a working and fully-functioning program. Playing the devil's advocate for a second, if I were to write stubs for every function not supported by the Amiga system or libc libraries, I'd be able to compile and run the program too. This is of course exxagerating, since not all functions are stubs.

What I meant was the following: the NSPR abstracts a far more intelligent library interface than the Amiga provides under 3.1. In other words, porting the relevant parts of the NSPR involves far more work than just writing glue code. It can be done, of course, but that brings me back to my original point of view: you need to write so many extensions to the core OS that you are probably better off offering your services to Hyperion (or Genesi).

In fact, while writing down the above, I realised that what the Amizilla team in fact is doing is writing another ixemul.library. Only not one based on glibc2, but on NSPR. The original ixemul suffered from limitations due to the structure of AmigaOS's 2 and 3, and I see little reason to believe that the NSPR port will fare any better. (Currently, the coders have assumed a minimal code approach: if it supports only what is needed by Mozilla, then it is okay. That's a good approach until a Mozilla coder decides to change some code and introduces a function not present in the Amiga-NSPR, or worse, one which cannot be supported at all.)

That, plus the facts that the NSPR-port still needs to prove its worth, that GTK+ is still unaddressed, that the development environment is not exactly pleasant, plus that I can count the number of developers on the fingers of one hand, is why I believe that for practical intents and purposes, the Mozilla port will fail, especially under 3.1. If they were coding under 4.0, I'd say their chances of success would be considerably improved, but alas, that goes against the minimum requirements for Amizilla.
Some people say that cats are sneaky, evil and cruel. True, and they have many other fine qualities as well.