IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New 68k Smalltalk
How much memory is needed for an authentic Smalltalk-80 implementation?

I thought it might be fun to port 68k Smalltalk to the TI92+, which has about 200k of RAM and 700k of flash memory that can act as a primitive disk. It has a 240x128 display and a well-defined C programming environment.
-drl
New You might port PocketSmalltalk
It runs on the palm.
[link|http://www.pocketsmalltalk.com/|http://www.pocketsmalltalk.com/]



Smalltalk is dangerous. It is a drug. My advice to you would be don't try it; it could ruin your life. Once you take the time to learn it (to REALLY learn it) you will see that there is nothing out there (yet) to touch it. Of course, like all drugs, how dangerous it is depends on your character. It may be that once you've got to this stage you'll find it difficult (if not impossible) to "go back" to other languages and, if you are forced to, you might become an embittered character constantly muttering ascerbic comments under your breath. Who knows, you may even have to quit the software industry altogether because nothing else lives up to your new expectations.
--AndyBower
New Something else that might interest you
Its a little bit limited - he threw out a lot of really nice bits of Smalltalk. What I find really interesting is that this guy is a JVM architect and he considers Java's downward scalability to be weak.

[link|http://wiki.eranova.si/esug/OOVM|http://wiki.eranova.si/esug/OOVM]



Smalltalk is dangerous. It is a drug. My advice to you would be don't try it; it could ruin your life. Once you take the time to learn it (to REALLY learn it) you will see that there is nothing out there (yet) to touch it. Of course, like all drugs, how dangerous it is depends on your character. It may be that once you've got to this stage you'll find it difficult (if not impossible) to "go back" to other languages and, if you are forced to, you might become an embittered character constantly muttering ascerbic comments under your breath. Who knows, you may even have to quit the software industry altogether because nothing else lives up to your new expectations.
--AndyBower
New Outstanding - thanks
-drl
New Could you explain?
what are contexts and how they differ from stack? Or may be how they are used instead of stack?

>>>>>>>>>>>>>>>
The last one is slow method invocation, which also causes people to not do code abstractions. To do so contexts are dropped in favor of an execution stack with activation records made of the return address, the receiver, and optionally the arguments/local variables/static link.
<<<<<<<<<<<<<<<
--

Less Is More. In my book, About Face, I introduce over 50 powerful design axioms. This is one of them.

--Alan Cooper. The Inmates Are Running the Asylum
New Its not exactly a "stack"
You of course are familiar with the standard C runtime model where each lexical scope (theoretically) pushes a stack frame for local variable/context storage.

Smalltalk's "stack frames" are called activation records and they are not necessarily stored in a stack - its rather more like a list/net/tree/spaghetti. This makes non-local returns/exceptions/block closures/continuations/suspend and slap a debugger around it all possible. Its also necessary where you have block closures - you have the code for the block, but you'll also have an activation record for each invocation of the block.




Smalltalk is dangerous. It is a drug. My advice to you would be don't try it; it could ruin your life. Once you take the time to learn it (to REALLY learn it) you will see that there is nothing out there (yet) to touch it. Of course, like all drugs, how dangerous it is depends on your character. It may be that once you've got to this stage you'll find it difficult (if not impossible) to "go back" to other languages and, if you are forced to, you might become an embittered character constantly muttering ascerbic comments under your breath. Who knows, you may even have to quit the software industry altogether because nothing else lives up to your new expectations.
--AndyBower
New In the spirit of net
What other contexts are known to a given context? In the stack model, a frame knows its parent, and that's all. What other connections are set up?
--

Less Is More. In my book, About Face, I introduce over 50 powerful design axioms. This is one of them.

--Alan Cooper. The Inmates Are Running the Asylum
New Re: In the spirit of net
What other connections are set up?

When a closure is created, any variables in the local scope that are referenced by the closure must exist for the life of the closure. For example (Ruby follows) ...
  def make_counter\n    n = 0\n    proc { n += 1; n }\n  end\n\n  c = make_counter\n\n  p c.call   # => 1\n  p c.call   # => 2
The context containing "n" must be kept around after "make_counter" exits, because the proc (closure) references and modifies n.
--
-- Jim Weirich jweirich@one.net [link|http://onestepback.org|http://onestepback.org]
---------------------------------------------------------------------
"Beware of bugs in the above code; I have only proved it correct,
not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)
New Little Smalltalk
I stumbled across this today while looking for SmallTalk documentation.
[link|http://www.smalltalk.org/versions/LittleSmalltalk.html|Little Smalltalk]
It's not quite Smalltalk-80, the interface is cut down and not all of the normal SmallTalk objects are there. But it is very small.

Jay
New Oooh yeah forgot that one - there's a book too.
A Little Smalltalk its called.

[link|http://www.amazon.com/exec/obidos/ASIN/0201106981/qid%3D1062548682/sr%3D11-1/ref%3Dsr%5F11%5F1/104-6283439-7373534|http://www.amazon.co...4-6283439-7373534]



Smalltalk is dangerous. It is a drug. My advice to you would be don't try it; it could ruin your life. Once you take the time to learn it (to REALLY learn it) you will see that there is nothing out there (yet) to touch it. Of course, like all drugs, how dangerous it is depends on your character. It may be that once you've got to this stage you'll find it difficult (if not impossible) to "go back" to other languages and, if you are forced to, you might become an embittered character constantly muttering ascerbic comments under your breath. Who knows, you may even have to quit the software industry altogether because nothing else lives up to your new expectations.
--AndyBower
New I have that!
It introduced me to the idea of generators. :-)

Wade.

Is it enough to love
Is it enough to breathe
Somebody rip my heart out
And leave me here to bleed
 
Is it enough to die
Somebody save my life
I'd rather be Anything but Ordinary
Please

-- "Anything but Ordinary" by Avril Lavigne.

     68k Smalltalk - (deSitter) - (10)
         You might port PocketSmalltalk - (tuberculosis)
         Something else that might interest you - (tuberculosis) - (5)
             Outstanding - thanks -NT - (deSitter)
             Could you explain? - (Arkadiy) - (3)
                 Its not exactly a "stack" - (tuberculosis) - (2)
                     In the spirit of net - (Arkadiy) - (1)
                         Re: In the spirit of net - (JimWeirich)
         Little Smalltalk - (JayMehaffey) - (2)
             Oooh yeah forgot that one - there's a book too. - (tuberculosis) - (1)
                 I have that! - (static)

Meta-Admin Notice: You Sillies
67 ms