News for hackers. Stuff that matters.
Re:JavaScript Isn't Scheme (2013) by twic on Wednesday April 25, 2018 @05:06PM (#16926166)
Someone once told me a story that when Netscape wanted to put a programming language in the browser, they went to ParcPlace (i think) and asked them if they could have Smalltalk for that purpose. ParcPlace said sure, go ahead, and it'll be $1000 a seat.

If there was interest in using Smalltalk, it makes a lot of sense that JavaScript is an attempt at a Self in Java's clothing.

Re:JavaScript Isn't Scheme (2013) by goatlover on Wednesday April 25, 2018 @05:27PM (#16926346)
Brandon Eich said he thought he was hired to put Scheme in the Netscape browser, but management wasn't interested. Meanwhile Sun wanted Netscape to put Java in the browser, but Netscape wanted their own scripting language, so they worked out a compromise, with Eich creating Javascript (I think he may have worked with one of Sun's developers for JS 1.0).

Eich did a podcast on the history of JS a couple years ago. If memory serves correct, he said that Netscape did try to put Java in the browser alongside JS and canvas for both to target, but only JS met the deadline.

Netscape was pretty ambitious back in the day. They did have server-side JS and JS stylesheets. I wonder how far they would have gotten had MS not decided to get in the browser game.

I don't know about the Smalltalk angle, but that would be very interesting to hear about.

Re:JavaScript Isn't Scheme (2013) by BrendanEich on Sunday April 29, 2018 @10:39PM (#16955284)
(Brendan)

Bill Joy at Sun was a JS supporter. As with pmarca, me, and others at Netscape, Bill saw the value of an analogue to fill in the `??? : Java :: VisualBasic : VisualC++` comparison.

Re:JavaScript Isn't Scheme (2013) by lolive on Wednesday April 25, 2018 @06:09PM (#16926742)
We would still be waiting for XmlHttpRequest :)
Re:JavaScript Isn't Scheme (2013) by goatlover on Wednesday April 25, 2018 @07:42PM (#16927489)
Maybe so! And using layers instead of z-index.
Re:JavaScript Isn't Scheme (2013) by i_feel_great on Wednesday April 25, 2018 @07:13PM (#16927281)
I heard a very similar story, but it was Sun wanting to license Smalltalk. Rebuffed by very high licensing costs quoted by Adele Goldberg, they went and created Java instead.

Edit: From this video https://vimeo.com/77415896

Re:JavaScript Isn't Scheme (2013) by goatlover on Wednesday April 25, 2018 @07:44PM (#16927507)
That's interesting because Sun created Self, which is based on Smalltalk, and the VM they used for Self become the Hotspot VM. So I don't know why they went with Java just because of high licensing costs for Smalltalk. I say this before watching the video.
Re:JavaScript Isn't Scheme (2013) by twic on Thursday April 26, 2018 @05:44AM (#16930386)
Ah, i've probably heard a mangled version of that story!