Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!caen.engin.umich.edu!sol.engin.umich.edu!billkatt From: billkatt@sol.engin.umich.edu (billkatt) Newsgroups: comp.sys.mac Subject: Re: New Mac Rumours Message-ID: <41aa5eaa.a590@mag.engin.umich.edu> Date: 24 Feb 89 14:13:00 GMT References: <41a2364a.a590@mag.engin.umich.edu> <70755@ti-csl.csc.ti.com> Sender: netnews@caen.engin.umich.edu Reply-To: billkatt@caen.engin.umich.edu (billkatt) Organization: Computer Aided Engineering Network (CAEN), University of Michigan Lines: 33 Sender: Followup-To: In article <70755@ti-csl.csc.ti.com> holland@m2.UUCP (Fred Hollander) writes: >In article <41a2364a.a590@mag.engin.umich.edu> billkatt@caen.engin.umich.edu (billkatt) writes: >>is in an object oriented format. Yes, it is doubtful that they will do a >>rewrite in Pascal, since the system is currently written in Assembly >>language, and RISC chips are optimized for C. > >This is very interesting. I don't have the strongest background in >hardware architecture, but, could you please explain how a processor >could be optimized for a specific high level language? > >Fred Hollander Sure. Some processors (the 68000 for example) are much better suited (and some designed) for the c calling conventions. It is a mess for the called routine to remove the parameters passed to it before returning on the 68000. This isn't a problem with c. Some addressing modes (post/pre indexed increment/decrement) will get used more in c than Pascal, although they are a valuable addition to any processor. Some more blatant examples are TIs LISP chip (explorer/microexplorer) and somebodys (TIs also?) FORTH chip. +----------------------+----------------------------------------------------+ | Steve Bollinger | Internet: billkatt@caen.engin.umich.edu | | 4297 Sulgrave Dr. +------+---------------------------------------------+ | Swartz Creek, Mi. 48473 | "My employer doesn't take my opinion any | +-----------------------------+ more seriously than you do." | | "You remember the IIe, it +---------------------------------------------+ | was the machine Apple made before they decided people didn't need | | machines with big screens, color, or slots." | | - Harry Anderson (from NBC's Night Court) | +---------------------------------------------------------------------------+