Mention JavaScript engines at this point, and the big name that comes to mind is Google's V8, the engine that powers not only Google Chrome but Node, js as well. Firefox's SpiderMonkey also gets mention for its implementation of asm.js that can make JavaScript run nearly as fast as native code.
Apple, too, has a JavaScript engine -- JavaScriptCore (aka "Nitro") for WebKit -- and its most recent set of changes give it a performance boost to rival its industry comrades.
These upgrades, code named "FTLJIT," use the LLVM compiler as the JIT (just-in-time) compilation system. LLVM is a compiler technology nominally used for C/C++ compilation, but it's not tied exclusively to that language, and so compilers for most any language can be developed with it. LLVM was used by the latest incarnation of Emscripten to boost performance of the asm.js subset of JavaScript, developed by Mozilla to run at speeds near that of native C code.
FTL JIT is still considered experimental, so although it's being made available in the OS X port of WebKit by default, it's not actually turned on yet , it has to be enabled through command-line flags.
One attribute that could make FTL JIT stand out from the pack all the more is how well it runs JavaScript code that is not specifically optimized for asm.js. Every JavaScript engine will run asm.js code, but only Mozilla's Spider Monkey honors asm.js-specific optimizations, and right now no other browser maker has elected to follow Mozilla's lead.
So far, the speed boosts afforded by FTL JIT vary but are intriguing. Are We Fast Yet, the JavaScript testing site founded by Mozilla's JavaScript team, ran its own benchmarks on 64-bit OS X and found the LLVM-powered build of Web Kit to be markedly faster than Chrome on some benchmarks. That said, Firefox running asm.js versions of the same benchmarks still consistently beat WebKit. Also, the FTL JIT version of Web
Kit currently only has prebuilt binaries available for OS X, which makes it harder to tell how much cross-platform progress Apple has made against the other engines.
Google Chrome's Blink browser engine was itself a derivative of WebKit, although Google's V8 engine was an in-house creation. It's distantly possible Google could also try adapting an LLVM-powered approach to V8 (à la the experiments attempted by JXcore), but all the signs so far show Google committed solidly to V8.
Saturday, 10 May 2014
APPLE HAS IT'S OWN JAVASCRIPT ACCELERATOR
by Unknown | 
in Tech News
at 09:48
Popular Posts
Blog Archive
-
2014
-
May
- KILLZONE SHADOWFALL GETS ONLINE CO-OP WITH INTERCE...
- FAR CRY 4 WILL BE LAUNCH ON NOVEMBER 18th, 2014
- SAMSUNG MAY LAUNCH GALAXY TAB S SERIES ON JUNE 12
- THE BMW VISION GT IN GRAN TURISMO 6
- THE BLUETOOTH BUCKLE SMART WATCH
- WHAT MAKES WATCH DOGS A TRUE NEXT-GENERATION GAME
- THE ARMY'S HELMET DESIGN COMES WITH BUILT-IN A/C
- THE XBOX ONE WILL BE AVAILABLE WITHOUT KINECT FOR ...
- WATCH DOG EXPERIENCE
- SOUL SACRIFICE DELTA OUT TODAY ON VITA
- THE NEW BLACKBERRY Z3 TOUCHSCREEN
- MOTOROLA UNVEILS THE NEW MOTO E
- SONY WALKS BACK CLAIM OF 1080P, 60 FPS FOR PS4 WAT...
- SEGWAY INVENTOR'S STAR WARS-STYLE ROBOT ARM GETS A...
- WINDOWS PHONE 8.1 LAUNCHING JUNE 24th
- LOOPWALLET MOBILE PAYMENT APP AND FOB NOW AVAILABL...
- TWITTER NOW ALLOWS YOU TO MUTE SPECIFIC USERS
- THE NEW MYSTERIOR, Coming Soon
- AN $8 MILLION ROBOT SUB JUST SANK 6 MILES TO THE B...
- DIABLO 3: ULTIMATE EVIL EDITION LANDS ON PLAYSTATI...
- USPTO GRANYS AMAZON SUPER-SPECIFIC "TAKING PHOTOS"...
- LG'S ANDROID SMART WATCH READY FOR ANYTHING
- A HIGH SPEED ROBOT ARM THAT SNATCHS OBJECTS OUT OF...
- OPPO HA-1 HEADPHONE AMP PREVIEW
- THE NEXT BIG THING IN MESSAGING COULD BE AN APP YO...
- IBUYPOWER LAUNCHED A PALM-SIZED INTEL POWERED GAMI...
- SPRINT'S GALAXY S5 IS AVAILABLE ON AMAZONE FOR $99
- PARROT INTRODUCES OCULUS RIFT ENABLED DRONE
- INTRODUCING THE NEW THREE LG GPAD TABLETS
- SAMSUNG MOBILE DESIGN CHIEF STEPS DOWN
- DRONES BANNED FROM YOSEMITE, OTHER PARKS
- WILL DR. DRE REALLY BE HIP HOP'S FIRST BILLIONAIRE
- APPLE MACBOOK AIR 13-inch 2014
- NAMCO BANDAI RELEASES FREE TO PLAY SOULCALIBUR GAM...
- IS CHINESE PHONE TAKING OVER THE UNIVERSE?
- MOBILE MANAGEMENT: TECHNIEL'S EXPERT GUIDE
- SAMSUNG REORGANIZES AFTER GALAXY S5 DESIGN GETS SL...
- THREE BEST HOAXES OF ALL TIME
- CHINESE SMARTPHONE MAKER XIAOMI TO RELEASE FIRST T...
- ALCATEL FOCUSED ON REVAMP, CEO SAYS OF NOKIA TIE-U...
- BEST CARS OF THE YEAR 2014
- 10 BEST SMART PHONE
- OBAMA TURNS TO TECH LEADERS FOR CASH FOR DEMOCRATS
- THE FORTHCOMING MICROSOFT SMARTPHONE OS IS THE FIR...
- APPLE HAS IT'S OWN JAVASCRIPT ACCELERATOR
- THE RISE OF VAGUENESS AS A SERVICE
- ORACLE'S SURPRISE WIN IN JAVA API CASE
- A BOOTABLE LINUX DISTRO THAT PROTECTS YOUR PRIVACY...
-
May
0 comments: