Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The original implementation of JS was in C, not CL.

I think Eich was more partial to Scheme than CL, as a model for JS. Though I wouldn’t say it’s Java syntax over either - the scoping rules are very distinct, it’s missing tons of features core to either CL or Scheme, there’s the whole Self-inspired prototype-based OOP layer…





I also always thought that he set out or implement a Scheme-like language but got told to make it look like Java.

Scheme is a LISP of course, just not Common Lisp.

I have no idea what language the original implementation was in but it makes sense it would be the same as the rest of the browser.


I went to a talk by Eich in the late 90s. He explicitly mentioned scheme

Yes. But that prototype was in CL.

No. I wrote Mocha in C.

Where did you hear this CL fish story?


Oh. It was not you, and not the original.

It was Waldemar Horwat and js2 https://web.archive.org/web/20111217124744/https://mxr.mozil...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: