3 ms·
> smalltalk with message passing And then we look at language implementation and find message passing can be optimized away — The control structures that are
by igouy 3y ago
> smalltalk with message passing
And then we look at language implementation and find message passing can be optimized away —
The control structures that are so optimized by the compiler are the conditional selection messages to Booleans (ifTrue:, ifFalse:, and ifTrue:ifFalse:), some of the logical operation messages to Booleans (and" and or:), and the conditional repetition messages to blocks (whileTrue: and whileFalse:).
page 550
https://rmod-files.lille.inria.fr/FreeBooks/BlueBook/Bluebook.pdf https://rmod-files.lille.inria.fr/FreeBooks/BlueBook/Blueboo...