Re:Alan Kay: Smalltalk is not about objects, it’s about mess...
by JulianMorrison on Saturday December 21, 2019 @05:13PM
(#21853639)
That feels like a sentiment from gentler, single-user time. Unless Smalltalk has grown some serious security chops in the interim.
[ Parent
| on HN ]
Re:Alan Kay: Smalltalk is not about objects, it’s about mess...
by cbdumas on Saturday December 21, 2019 @06:11PM
(#21853880)
I disagree, a system implemented at the language level this way can in principle provide far stronger security guarantees than a typical operating system. Security issues can still come up obviously but they could essentially be isolated to the language runtime.
Re:Alan Kay: Smalltalk is not about objects, it’s about mess...
by JulianMorrison on Saturday December 21, 2019 @07:04PM
(#21854147)
And then you're getting into things like capability-passing languages, but Smalltalk is not that.
Re:Alan Kay: Smalltalk is not about objects, it’s about mess...
by true_religion on Sunday December 22, 2019 @12:09AM
(#21855323)
Bear in mind, it’s Ben about a decade since I last used Smalltalk, but at the time there was a web framework called Seaside based completely on using stored closures instead of normal Ajax.
Digging into the code, I found that the VM just gives a code block access to all top level objects by default, but that isn’t a requirement. You can instantiate your own “global” and run the block within that. Back then I believe it was being used because old closures needed to see old top level class objects that might have been changed in the meanwhile. So you can use this to sandbox functions.
I would imagine it isn’t perfect, but it could be made so.