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

Chromium took parts from WebKit, but e.g. the whole JavaScript engine was completely new. Even if they needed to depend on some libraries written in C++, that doesn't justify writing the whole application in that language. And once they forked WebCore as Blink they could have gradually pushed the borderline down.


I wish I had read this comment before I replied to your parent, if I had thought about a primary Haskell or OCaml implementation with FFI and then gradually shifting I might have just kept my mouth/keyboard shut.


> but e.g. the whole JavaScript engine was completely new.

A quick check of Wikipedia shows that they derived it from an existing small talk implementation.


Java is closer to SmallTalk than C++ is.


Sorry if I was unclear. The original engine was for Small Talk, not written in Small Talk. V8 adapted that for use with JavaScript.


> The original engine was for Small Talk

Just the assembler files, for what it's worth:

https://web.archive.org/web/20100722105022/http://code.googl...




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

Search: