[self-interest] Re: JSelf Home Page
Jecel Assumpcao Jr
jecel at lsi.usp.br
Wed Nov 4 17:58:05 UTC 1998
Diego Gomez Deck wrote:
> One very simple Home Page for the JSelf project has borned in http://www.ConsultAr.com/JSelf
> All of you are invited...
Once again, I'd like to say that this is a very worthwhile effort
and it will be very important to be able to run Self code inside
a web browser without having to load a huge plug-in.
While Java and Python have a lot of things in common, Self is not
class based which might complicate things a little for you. JPython
allows you do subclass a Java class (Applet, for example) with Python
code. When you make an object inherit from another in Self, however,
it does not get a copy of the state of that object (instance variables
in class based languages) but shares that state instead. The Self 4.0
programming environment simulates this class-like behavior with what
are called "copy down slots", but this isn't part of the language
The only other problem I see is that if you translate Self self-send
bytecodes to Java send bytecodes, the performance will be horrible.
If, on the other hand, you translate these bytecodes to more specific
Java bytecodes (instance variable and constant bytecodes, for example)
then you will have to have a complex dependency mechanism to undo this
if the user changes the Self sources.
P.S.: if everybody working with Self is in South America, maybe my
future Self book should be in Spanish/Portuguese instead of English? ;-)
NextCard Internet VISA - 2.9% intro APR
Earn free airline tickets WITH DOUBLE Rew at rds points.
Subscribe, unsubscribe, opt for a daily digest, or start a new e-group
at http://www.eGroups.com -- Free Web-based e-mail groups.
More information about the Self-interest