Hello,
i just wanna know, what you thinking about subject? How easy/hard to integrate smalltalk VM into browsers? It it feasible? I know, there is (or was) a Squeak browser plugin. But it provides a functionality like java, but not like javascript. While i thinking, that it would be cool to use smalltalk directly in pages, as javascript. It could open quite interesting possibilities.
What you think?
On 11/23/10 3:05 PM, Igor Stasenko wrote:
Hello,
i just wanna know, what you thinking about subject? How easy/hard to integrate smalltalk VM into browsers? It it feasible? I know, there is (or was) a Squeak browser plugin. But it provides a functionality like java, but not like javascript. While i thinking, that it would be cool to use smalltalk directly in pages, as javascript. It could open quite interesting possibilities.
What you think?
It should be easy to embed squeak into any arbitrary application, but from all accounts its not nearly as easy as embedding, say, Lua. Which is sad, because if I knew how, I would have embedded squeak into the Second Life viewer years ago.
As far as squeak substituting for javascript goes, you'd have a lot of security issues to address, which is one of the reasons why the squeak plugin never took off, i believe. A friend of mine called it "a hacker's dream" when they first introduced it 10+ years ago.
Lawson
On 24 November 2010 01:35, Lawson English lenglish5@cox.net wrote:
On 11/23/10 3:05 PM, Igor Stasenko wrote:
Hello,
i just wanna know, what you thinking about subject? How easy/hard to integrate smalltalk VM into browsers? It it feasible? I know, there is (or was) a Squeak browser plugin. But it provides a functionality like java, but not like javascript. While i thinking, that it would be cool to use smalltalk directly in pages, as javascript. It could open quite interesting possibilities.
What you think?
It should be easy to embed squeak into any arbitrary application, but from all accounts its not nearly as easy as embedding, say, Lua. Which is sad, because if I knew how, I would have embedded squeak into the Second Life viewer years ago.
Well, i think one of VM developers aim should be to turn VM into dynamically loadable library with good API. So then it could be used by arbitrary host application. And original Squeak VM should be simply a host application provided by default.
As far as squeak substituting for javascript goes, you'd have a lot of security issues to address, which is one of the reasons why the squeak plugin never took off, i believe. A friend of mine called it "a hacker's dream" when they first introduced it 10+ years ago.
Hacker's dream? You must be joking. I could say so, if one would want to introduce C as scripting language, because it allows direct manipulation with pointers. But smalltalk? You are free to expose only necessary functionality through primitives, and so, there is no security risks, higher than in javascript language.
Lawson
Hi Igor,
i just wanna know, what you thinking about subject? How easy/hard to integrate smalltalk VM into browsers? It it feasible? I know, there is (or was) a Squeak browser plugin. But it provides a functionality like java, but not like javascript. While i thinking, that it would be cool to use smalltalk directly in pages, as javascript. It could open quite interesting possibilities. What you think?
You should take a look at Etoys at: http://www.squeakland.org/. It has a plugin that can run Etoys projects in a web browser. I don't know much about it but I know it works. If you download and install Etoys, you will have the plugin, then you can run Etoys projects from your browser (Firefox, Chrome and Safari work but for some reason Opera is broken). There is a sample project right on the main squeakland page that you can try.
Lou ----------------------------------------------------------- Louis LaBrunda Keystone Software Corp. SkypeMe callto://PhotonDemon mailto:Lou@Keystone-Software.com http://www.Keystone-Software.com
squeak-dev@lists.squeakfoundation.org