News for hackers. Stuff that matters.
Re:Ruby Gets An Official Spec: Heading To Become An ISO Inte... by stcredzero on Monday December 07, 2009 @03:44PM (#982085)
Are there any languages for which international standardization processes have not been either tombstones (like Smalltalk, repeatedly)

We're zombies!? Actually, that's kinda cool.

You can consider the Smalltalk image as a single program, with branching, mutating clones, which has been running continuously, modulo suspending (image save) since sometime in the 1970s. Maybe that's where our unkillable, repeatedly come-back-from-the-dead nature comes from?

(You can't build a Smalltalk-80 image from scratch because of "strange loops." We've been doing binary transformations to pre-existing images all this time! Even the Squeak image was produced this way. (Dolphin image as well, I believe))

But back to "standards." The Smalltalk standard was pretty wimpy for most if its iterations. It was a watered-down inter-corporate Détente. Not sure about the most recent one.

Re:Ruby Gets An Official Spec: Heading To Become An ISO Inte... by derefr on Monday December 07, 2009 @09:51PM (#982871)
> You can consider the Smalltalk image as a single program, with branching, mutating clones, which has been running continuously, modulo suspending (image save) since sometime in the 1970s.

You could sort of say the same thing about C, except that the "image" is a *nix partition.

Re:Ruby Gets An Official Spec: Heading To Become An ISO Inte... by stcredzero on Tuesday December 08, 2009 @12:55PM (#984184)
Not hardly. When a Smalltalk image comes back, it's in the exactly the same state as it was when it took a "snapshot" then quit. Can't say the same for a Unix box.

There are some deliberate modifications. Like the "command line" array is whatever the command line was when the VM was re-invoked. Sockets deliberately aren't active for security reasons. But where the state isn't exactly the same, it's for a specific reason.

Even processes (green threads) are frozen halfway through, and continue chugging along when we return from snaphot!

Re:Ruby Gets An Official Spec: Heading To Become An ISO Inte... by rbanffy on Monday December 07, 2009 @04:32PM (#982216)
"(You can't build a Smalltalk-80 image from scratch because of "strange loops." We've been doing binary transformations to pre-existing images all this time! Even the Squeak image was produced this way."

Wow! You mean a Squeak image can't be fully built from source?

That's kind of... scary.

It also reminds me of how we do Plone upgrades... I always cross my fingers.

Re:Ruby Gets An Official Spec: Heading To Become An ISO Inte... by derefr on Monday December 07, 2009 @09:54PM (#982873)
Rather than doing binary translations, though, wouldn't it be easier to just establish a primitive in the smalltalk VM that constructs, as an atomic operation, a graph of interrelated object references, then hands out the IDs to be populated with data?
Re:Ruby Gets An Official Spec: Heading To Become An ISO Inte... by stcredzero on Monday December 07, 2009 @11:17PM (#983002)
Then you make the VM larger. ObjectStudio (the old Enfin) Smalltalk has "primitive classes." Classes largely implemented in the VM. With that Smalltalk, you can build the image from source files. The strange loops are resolved this way.
Re:Ruby Gets An Official Spec: Heading To Become An ISO Inte... by stcredzero on Monday December 07, 2009 @08:45PM (#982772)
That's kind of... scary.

Lots of things in Smalltalk evoke that reaction. But while others get to tremble in fear of imagined disasters, we Smalltalkers get to know the truth: that lots of the "conventional wisdom" is nonsense!

Re:Ruby Gets An Official Spec: Heading To Become An ISO Inte... by cma on Monday December 07, 2009 @08:59PM (#982794)
Is it that crazy? Aren't most C compilers self-hosting too?