Re: [Pharo-dev] how implement isAbstract?

2019-04-23 Thread Andrei Chis
I ended up being surprised today that classes that have abstract methods (send #subclassResponsibility) were returning false to `isAbstract` and true to `hasAbstractMethods`. I see that the behavior for isAbstract changed over the years: when it was added [1] it was checking for abstract methods. T

Re: [Pharo-dev] how implement isAbstract?

2019-04-23 Thread Tudor Girba
Hi, I think that it is good that isAbstract does not mean isInstantiatable. However, I also think that isAbstract is too generic and that it would be better to have the tools implement their meaning rather than relying on a generic term. Cheers, Doru > On Apr 23, 2019, at 5:58 PM, Andrei Chis

[Pharo-dev] Lectures at Montreal

2019-04-23 Thread Stéphane Ducasse
Hello Just a little mail to mention that I will visit montreal and give some lectures 23 and 24 of May. If Montreal Smalltalkers want to discuss let me know. Stef Stéphane Ducasse http://stephane.ducasse.free.fr http://www.synectique.eu / http://www

[Pharo-dev] FloatArray

2019-04-23 Thread Jimmie Houchin
I just recently discovered FloatArray by accident. I was close to having to use Python/Numpy due to considerable performance differences. Performance is very important. In one of my test using a 212000 item array of floats and doing a sum on each iteration through the array Pharo was taking 1

Re: [Pharo-dev] FloatArray

2019-04-23 Thread Nicolas Cellier
Hi, I recommand inquiring about Smallapack, the Smalltalk interface to LAPACK, on squeaksource.com or github. You'll get the speed of numpy. There is a Metacello configuration. I have not checked the port on current Pharo, but I can reactivate if there is some interest. Le mer. 24 avr. 2019 à 05:5