Welcome, Guest. Please login or register.

Author Topic: Sabrina has bought a new Amiga!  (Read 7846 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline macto

  • Full Member
  • ***
  • Join Date: Apr 2004
  • Posts: 111
    • Show all replies
Re: Clone Worries
« on: May 02, 2004, 07:27:36 AM »
There are many things which distinguish computers which are made from off the shelf parts.

The processor is one component which differs.  The A1 and Mac are based on the PowerPC, while "IBM" computers use Pentiums.  (Life is more complicated than that, but let's not worry about that.)  If you tried to feed a program for a Pentium to a PowerPC, or vica-versa, the computer would see a stream of random instructions and illegal instructions.  The OS has ways of identifying their own programs, so that normally won't happen.

But other bits and pieces differ too.  The easiest to explain is the firmware.  This is usually called the ROM BIOS or ROM.  You'll note that both the Amiga and Macintosh use the same processor (the 68k in the past and the PowerPC today), so programs should not look like streams of random instructions.  But programs may run code which is stored in the ROM.  But the ROM is different on both platforms, so running the program on the wrong platform would result in random ROM calls.  The OS has ways of identifying its own programs, so that normally won't happen.

Of course some of the details can be glossed over, which is what happens with OSes like Linux.  Now you can run a Linux program on either an Amiga or a Macintosh because Linux programs don't make ROM calls.  They make kernel calls (in effect, the kernel replaces the ROM).  The kernel also covers up the many minor differences in Amiga and Macintosh hardware, such as which video card or disk controller you are using.  Of course you will need a different kernel for each platform, but none of the other software has to be changed.

But the processor is a big difference, and Linux cannot cover that up in the conventional way.  Instead, it allows developers to recompile programs so that they will run on any processor, may that be the Pentium, 68k, or PowerPC.  These programs have to be written more carefully because there are a lot of low level details which Linux cannot cover up, but it can still be done.  It is only thanks to the devotion of many developers that this kind of "trickery" is possible.  Most companies try to avoid it, which is why many operating systems are only available for one or two processors.

Hopefully that didn't over simplify things to the point of inaccuracy, but I hope I convinced you that these are very different machines even if the design philosophy is similar in a few ways.
 

Offline macto

  • Full Member
  • ***
  • Join Date: Apr 2004
  • Posts: 111
    • Show all replies
Re: Sabrina has bought a new Amiga!
« Reply #1 on: May 06, 2004, 02:57:02 AM »
Quote

What I mean is, most people who praise UNIX/Linux security fail to mention that only the system is safe.  If you get a rouge program on your system (through an ActiveX control, a bug in JavaVM, or a virus through an e-mail client), than you can kiss all your personal files goodbye.


As far as I know, there is no ActiveX support in Linux and most email clients treat attachments responsibly (ie. the only way you can execute something is by saving it to disk then executing it yourself).  As for "only the system is safe," I would argue that the system can be comprimised by a bug or sloppy security practices.

Quote

No offense, but I wish people would stop thinking in terms of servers.


Unfortunately, the definition of server gets rather vague.  While there are computers which are clearly designated as servers, and there are systems which don't serve anything, many computers are somewhere in between.  Particularly in the world of Unix, but this is even true in the world of Windows and traditional versions of Mac OS where personal file sharing is available with very little effort.

Quote
Like I said, I find it amazing that Linux people still complain about DLL hell, while they themselves have to deal with dependency problems.  Same thing!


Same consequences, but not the same thing.  Unix users have to deal with conflicts between programs, not just shared libraries.