Re: Alien and callbacks from "foreign" threads?
Posted by
Joachim Geidel on
Jan 06, 2011; 7:38am
URL: https://forum.world.st/Alien-and-callbacks-from-foreign-threads-tp3175989p3176980.html
Igor Stasenko wrote
Can VM handle two callbacks in parallel? No? Case closed :)
I just don't like that in certain scenarios VM will serve as a
lobotomizer for any external libraries,
which invented a highly sophisticated ways to do multiple things at one time.
I can hear a future woes and whines about 'why it sooo fast in X , but
soo sloww smalltalk' :)
Igor,
there are cases where foreign callbacks are needed and where this has nothing at all to do with performance or multi-core processors. I have already pointed out the case of monitoring a Java VM from a Smalltalk application which uses Java libraries. In this case, it's completely irrelevant what the performance is or whether the Smalltalk VM can handle two callbacks in parallel.
Best regards,
Joachim Geidel