Repost: Re: [BUG] LargeIntegers primitives fail for MVC

JArchibald at aol.com JArchibald at aol.com
Mon May 29 09:37:33 UTC 2000


Stephan,

This is not a problem with ChangeSet 2163. It is a problem with the use of 
the LargeIntegers primitive plug-in module for the Mac which was distributed 
by Andrew Greenberg and reposted by Karl Ramberg, and when one was using Dan 
Ingall's VM, which was (as he pointed out), was generated prior to the latest 
updates to the VM (he has since posted a fresh, new Mac VM which is generated 
from the latest sources). I prefixed my E-mail subject line with [Mac] 
(hopefully every time).

So it has something to do with how plug-ins work in a Mac environment (or 
possibly any platform).

BTW, thank you greatly for the development. I had done a number of 
interesting tests a little while ago on really BIG Integers, and was amazed 
at the performance of these same tests with new code (once I was able to get 
it to work). I will try to post the performance figures from these tests 
shortly. 

The use of large Integers does work correctly for me on Windows, but I didn't 
repeat the tests there until after I had run down what was going wrong in my 
Mac environment.

Sorry for the confusion,
Jerry.

 ____________________________

Jerry L. Archibald
systemObjectivesIncorporated
____________________________


=> 5/24/00 10:58:19 AM, Dan.Ingalls at disney.com =>
[Re: [Mac] Interim VM for 2.8beta]
<< This VM...
    Is NOT built from the latest plugin sources
    Does NOT have the new LargeInteger primitives
    Is NOT certified in any way
but...
    I've been using it constantly for weeks, and it
    DOES have fast recovery from missing primitives
    DOES have the BitBlt fix for translucent lines >>

=> 5/25/00 1:35:53 AM, werdna at gate.net =>
[Re: [Mac] Interim VM for 2.8beta]
<< Attached find the new LargeIntegers primitives plugin for MacOS. 
Install it and be awed by the speed. >>

=> 5/25/00 11:21:12 AM, karl.ramberg at chello.se =>
[Re: LargeInteger.hqx plugin for mac]
<< Trying to repost so you all get it. >> 

=> 5/27/00 11:21:21 PM, sr at evolgo.de =>
[Re: Repost: Re: [BUG] LargeIntegers primitives fail for MVC]
<< Jerry,

JArchibald at aol.com wrote:
> 
> => 5/25/00 1:26:10 PM, JArchibald at aol.com =>
> << Once you've been in morphic, mvc LargeIntegers then work. >>
> 
> BTW, you only have to open a Morphic project, you don't even have to enter
> it. Then LargeIntegers work. But the test #checkIfCModuleExists returns true
> even when the LargeIntegers exist, but are not initialized to work (and thus
> fail).
> 
> Cheers,
> Jerry.

I'm fishing in the dark regarding this problem:

- There shouldn't be any dependencies of Morphic or MVC, the plugin is
just for speeding up LargeInteger arithmetics and there is *no* GUI
related/specific stuff in it;
- LargeIntegers plugin/module (2163LargeIntegersPlugin) hasn't any
special initialization function (there is only an empty initialize()
function in C), which has to be called before using it;
- #checkIfCModuleExists is just an existence test, it should return
        - true, if the module exists,
        - false, if the module doesn't exist,
        -> this also works, if the methods in Integer class/subclasses
are not
changed correctly;
- if the installation changeset 2164LargeIntegersInstall is installed,
LargeIntegers will be called by some Integer class/subclasses methods;
if the module is missing, these calls fail and ST methods will be used.

Ideas:
- Possibly there are problems with isolated changesets?

Question:
- Are there other MACers having these problems? (I'm working with
Linux.)

Greetings,

Stephan Rudlof (author of the LargeIntegersPlugin) >>





More information about the Squeak-dev mailing list