Article View: net.micro.mac
Article #7189Re: Ease of programming, Mac, Amiga
From: Bruce Horn
Date: Wed, 17 Sep 1986 20:08
Date: Wed, 17 Sep 1986 20:08
75 lines
5051 bytes
5051 bytes
The Amiga vs. Mac discussion has, for the most part, been interesting. I
think that David Phillip Oster's post was reasonably accurate aside from the
one page text editor. I think to do an editor right would require about
four pages to handle scrolling, file I/O and so on.
I am a fan of some of the Amiga's features, such as the multitasking (which
could have certainly been done better--why not keep track of the memory
allocated as part of the task block so that you can kill a task and recover
the memory?), the communication ports, and the nice defaults provided by
Intuition to handle window resizing, etc. Amiga proponents should stick to
what is truly better about the Amiga than the Mac. Matt Dillon's reply to
Oster's post was a little off the mark:
1) With MacInTalk it is just as easy to get the Mac to talk to you as the
Amiga. The Mac's sound software seems to be more flexible than the Amiga's,
with the beeper (square-wave synthesizer), 4-voice engine, and free-form
synthesizer. A friend here at CMU wrote some music software for the Amiga
(quite nice software, as a matter of fact) and stated that the Mac would
have been better for his purposes.
2) I believe that the results of a crash on a Mac and the Amiga are quite
similar. Rarely do I have to reboot the Mac because of a crash--I just exit
to the shell and everything is OK, the shell being either LightspeedC or the
Finder. Now and then things get so messed up that I do have to reboot--but
not often. I don't quite understand the comment about "rebooting from
scratch"--the Amiga OS is in write-protected RAM, but then the Mac OS is in
ROM, which I would think is roughly equivalent.
3) I don't understand Matt Dillon's "HA!" about Resources. I think that he
missed an important point: you don't have to have the sources to change the
appearance of the software. All the Amiga's "resource editor" will do is
output C code to create the dialog that you laid out--changes are nearly as
difficult, and there is still this strange struct in your code that isn't
exactly readable. There is a lot more to Resources than just dialogs and
alerts anyway.
4) On the Mac you can replace any ROM code with your own just like the
Amiga. In fact, many applications do this (e.g., Switcher and LightspeedC
both handle ExitToShell, as well as other traps). Because other code
is loaded as either Packages or Drivers (as resources), you may temporarily
override non-ROM system code with your own, or replace it. Same with fonts,
desk acc's, system dialogs (including the standard file "requester"), and
so on.
5) From what I understand, the Amiga handles graphic printing just like the
Mac: with a printer driver written for a particular printer. Low-level
printing (such as text only) is handled by the Amiga more easily than
the Mac...but aren't we trying to support high-level text and graphics? By
the way, the Byte article comparing the Mac and the Amiga was plain Wrong
about printing--you can print exactly the same way to the LaserWriter as you
can to the Imagewriter, and the results will be very good. As on any
piece of hardware that is compatible with previous equipment, if you want to
take advantage of the new features (PostScript), you are allowed to.
6) Multitasking doesn't help your turnaround time. If you have other
things to do, then it's great (I like multitasking A LOT). Otherwise, you
are still going to be waiting for the compiler and linker. Any memory hacks
you can do on the Amiga you can do on the Mac as well ("With a 1Meg Amiga,
you could keep the entire compiler and editor in memory..."). I still think
LightspeedC wins big--fast compiling is fast, period. You'll still be
waiting for "Deep Thought."
7) The Amiga will certainly be making big strides in the software area, but
do you think the Apple folks are just sitting around? Granted, we made some
mistakes early on (Lack of support for multitasking, for one--I want to go
on record as having promoted multitasking for the Mac very early; I wanted
to build the system so that we had the option for an easy upgrade to
multitasking, but was "convinced" otherwise). I'm sure Larry Kenyon and the
other folks at Apple are improving the Mac system software in some very
fundamental ways, and that the future of Mac software will be at least as
good as that of the Amiga.
--
Bruce Horn, Carnegie Mellon CSD
uucp: ...!seismo!cmucspt!cmu-cs-vlsi!bl
ARPA: blh@vlsi.cs.cmu.edu
Technical Details
Message-ID:
<1039@g.cs.cmu.edu>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rochester!pt.cs.cmu.edu!g.cs.cmu.edu!blhReferences:
<8609152222.AA23166@cory.Berkeley.EDU>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rochester!pt.cs.cmu.edu!g.cs.cmu.edu!blh From: blh@g.cs.cmu.edu (Bruce Horn) Newsgroups: net.micro.mac Subject: Re: Ease of programming, Mac, Amiga Message-ID: <1039@g.cs.cmu.edu> Date: Wed, 17-Sep-86 16:08:35 EDT Article-I.D.: g.1039 Posted: Wed Sep 17 16:08:35 1986 Date-Received: Fri, 19-Sep-86 23:11:00 EDT References: <8609152222.AA23166@cory.Berkeley.EDU> Organization: Carnegie-Mellon University, CS/RI Lines: 75