CallBacks!
15 December, 2006
The VM group reciently had a discussion about a proposal to add Callback support to Squeak. It appears that some people have missed the discussion. Speaking as one that was Squeaking without Callback support I would encourage the VM group to carefully review Andreas proposal and I’m looking forward to seeing this very much needed feature on our future VM’s.
– Ron Teitelbaum
15 December, 2006 at 21:26
Newbie question – What value will callbacks provide to Squeak? Does this allow the magicians to do more magic, make it easier to implement squeak VMs or help in some way with strongtalk?
Thanks,
Kel.
16 December, 2006 at 05:44
Callbacks are useful for interfacing with external libraries. Sometimes, Squeak needs to use an external module and that module needs to execute some Squeak code in response (a callback). For example, if your Squeak application uses wxWidgets to create the GUI, you might create a button (Squeak calling out to the wxWidgets library) that will execute a block of Squeak code when clicked (wxWidgets calling back to Squeak).