Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

can you deploy applications written in smalltalk/squeak/pharo like a Java app?

Recently I've been exploring the world of smalltalk dialects and am very impressed (from here on in understand that when I write 'smalltalk' I'm referencing any of the modern smalltalk dialects - squeak/pharo/etc). I like the small footprint of the VM and the language itself.

As grad student and often need to write tools that support my research. Typically I use Java because I can easily deploy a tool to my colleagues without worrying too much about what their computer setup is or how tech savvy they are. It's pretty easy to whip up a GUI interface and all the end user has to do is double click on an executable JAR and they are gtg. The problem is that Java has all sorts of security issues and doesn't always run in the same way on every platform. Smalltalk, therefore, is starting to look pretty attractive.

I know that it's possible to create a smalltalk program that fires up with one double click of an icon. What I'm wondering about is whether or not I can create a sandboxed smalltalk world such that the only thing the user sees and is able to interact with is my application. I don't want them to see any aspect of the smalltalk world. This way, users can't accidentally muck things up or get confused because they have access to a plethora of options that aren't directly relevant to use of the program. Is this possible, and if so, how do I do it?

like image 660
snerd Avatar asked Oct 13 '13 20:10

snerd


People also ask

What is the best way to test Squeak projects on GitHub?

Travis CI is a continuous integration service that you can use to build and test your projects on GitHub. Since Squeak/Smalltalk is a supported language on Travis CI, it is easy to activate testing for your projects using the smalltalkCI framework. Learn how to setup your own Monticello code repository server.

What is a Smalltalk VM?

A family of virtual machines that supports Smalltalk and other languages of the Smalltalk family, including the standard VM for Squeak, Pharo and Newspeak. Just-in-time compilation, stack-to-register mapping, and aggressive in-line message caching yield efficiency in executing Smalltalk byte code.

What programming language is the Squeak VM written in?

The classic Squeak VM is implemented and developed in Slang, a subset of Squeak/Smalltalk which can be translated into C. The VM can be built using VMMaker. An experimental virtual machine written entirely in JavaScript.


1 Answers

Apologies - I should've done a better job of RTFM prior to posting this question. It is apparently possible to do this via Lockdown:

http://map.squeak.org/sm/packagebyname/lockdown

Also helpful:

http://wiki.squeak.org/squeak/3563

like image 69
snerd Avatar answered Nov 04 '22 23:11

snerd