3 ms·
For those who don't know JavaScriptCore under that name: JavaScriptCore, the WebKit JS implementation http://wingolog.org/archives/2011/10/28/javascriptcore-th
by acqq 14y ago
For those who don't know JavaScriptCore under that name:
JavaScriptCore, the WebKit JS implementation
http://wingolog.org/archives/2011/10/28/javascriptcore-the-webkit-js-implementation http://wingolog.org/archives/2011/10/28/javascriptcore-the-w...
"In 2008, the WebKit folks (...) called the thing SquirrelFish Extreme. Marketers called this Nitro Extreme. (Still, the proper name of the engine is JavaScriptCore; Wikipedia currently gets this one wrong.)"
http://en.wikipedia.org/wiki/WebKit#JavaScriptCore http://en.wikipedia.org/wiki/WebKit#JavaScriptCore
"JavaScriptCore is a framework that provides a JavaScript engine for WebKit implementations, and provides this type of scripting in other contexts within Mac OS X."
Probably should be "within Safari browser." But as the first linked article notes:
"JSC folks were doing great, well-factored work. It was so good that SpiderMonkey hackers at Mozilla adopted JSC's regexp JIT compiler and their native-code assembler directly."
I believe then it should be "as the whole within Safari browser, and some key parts also within Firefox browser."
- chc 14y agoWhat is it you think should say "within Safari browser"? JavaScriptCore is certainly not inside Safari; it's a part of WebKit. JavaScriptCore is no more "within Safari" than WebKit itself is. But I'm not sure what else you could be referring to.
- acqq 14y agoThe Wikipedia article, at the moment I quoted from it related to Max OS X but not mentioning Safari at all, and Safari runs on other platforms: iOS and Windows." Moreover the conclusion that "the JS engine is used wherever WebKit is used" would be false. Wwhen describing the use of the given engine, it's not a good description to say "the engine in WebKit" as there is an example of the very popular use of WebKit without the engine: Google Chrome.
- chc 14y agoNeither I nor Wikipedia said "used wherever WebKit is used". The Wikipedia article said "JavaScript engine for WebKit implementations" and I said "part of WebKit". The fact that Chrome chooses not to use it is immaterial. It is part of WebKit. Check out the WebKit source and you will get the JavaScriptCore source as part of it. Similarly, there's a GIMP-based image editor called Seashore that doesn't use a lot of GIMP's UI, but I still think it's fair to say that the UI code is part of GIMP.