Re: Anyone here running a new MacBook?
- From: Duane Rettig <duane@xxxxxxxxx>
- Date: Mon, 24 Apr 2006 12:06:03 -0700
tar@xxxxxxxxxxxxx (Thomas A. Russ) writes:
Duane Rettig <duane@xxxxxxxxx> writes:
I suspect that the problems with Rosetta against most native-compiling
lisps is that there are special emulation/translation needs that Rosetta
wasn't designed to handle. Likely there are problems with signal handling, and
it is also likely that Rosetta doen't recognize some of the PPC instruction
sequences that lisps use but which C, ObjC, C++, etc, don't generate.
I've seen some reports from the MCL/OpenMCL camp that one of the
problems was that Rosetta doesn't provide all of the information in
signals that they needed. Some of the information (most importantly,
the program counter (PC) register) was not at all usable. This affected
not only error handling and debugging, but also the use of signals for
other more mundane applications like EOF handling. Essentially the
signal datastructure just contained garbage for the PC and one or two
other values, thus making it impossible to run those lisps under
As I said before, I didn't actually look at the Rosetta implementation -
our goal was to get native as fast as possible. But yes, if the signal
contexts didn't have the proper pc value in them, then of course all
programs that do any vectoring out from within a signal handler, or
which might examine and decode the currently trapped instructiuon,
would have trouble like this.
I would also wonder if there were issues with various read or
write-barrier tricks used for GC as well, but I don't have any
information about that. It's just my speculation.
Possibly, but signal handling issues are much more likely.
Duane Rettig duane@xxxxxxxxx Franz Inc. http://www.franz.com/
555 12th St., Suite 1450 http://www.555citycenter.com/
Oakland, Ca. 94607 Phone: (510) 452-2000; Fax: (510) 452-0182
- Prev by Date: Re: How Common Lisp sucks
- Next by Date: Re: How Common Lisp sucks
- Previous by thread: Re: Anyone here running a new MacBook?
- Next by thread: Re: Anyone here running a new MacBook?