{"id":277,"date":"2015-12-23T10:49:44","date_gmt":"2015-12-23T10:49:44","guid":{"rendered":"http:\/\/www.servicenow.vn\/?p=277"},"modified":"2018-12-20T09:02:51","modified_gmt":"2018-12-20T09:02:51","slug":"microsoft-donate-chakra-javascript-engine-open-source-community","status":"publish","type":"post","link":"https:\/\/onesolution.vn\/?p=277","title":{"rendered":"Microsoft To Donate Chakra JavaScript Engine to Open Source Community"},"content":{"rendered":"<p>The technology behind Microsoft\u2019s Chakra JavaScript engine will be handed over to the open source community, the company announced on Saturday.<\/p>\n<p>Specifically, the company said it will separate the core components of its JavaScript engine from private browser and Windows bindings and internal dependencies and host the technology on GitHub under the name ChakraCore with an MIT license.<\/p>\n<p>\u201cSince its introduction in 2008, Chakra has grown to be a perfect choice for the Web, cloud services and the Internet of Things,\u201d Microsoft\u2019s Gaurav Seth and Adalberto Foresti wrote in a\u00a0blog post\u00a0Saturday. \u201cWe\u2019re taking the next step by giving developers a fully supported and fully open source JavaScript engine available to embed in their projects, innovate on top of, and contribute back to: ChakraCore.\u201d<\/p>\n<p>Some of those contributions might take ChakraCore to other OSes, as Microsoft said it will make the JavaScript engine cross-platform.<\/p>\n<p>\u201cChakraCore is already designed to fit into any application stack that calls for a fast, scalable, and lightweight engine,\u201d Microsoft said. \u201cWe intend to make it even more versatile over time, both within and beyond the Windows ecosystem. While the initial January release will be Windows-only, we are committed to bringing ChakraCore to other platforms in the future. We\u2019d invite developers to help us in this pursuit by letting us know which other platforms they\u2019d like to see ChakraCore supported on to help us prioritize future investments, or even by helping port it to the platform of their choice.\u201d<\/p>\n<p>That notion was echoed on Hacker News, where the announcement stirred much discussion. When a commenter said it\u2019s almost sad that Edge wasn\u2019t cross platform, a commenter with the handle \u201chiteshk_msft,\u201d self-identifying as a Microsoft engineer on the Chakra team, replied: \u201cAs the blog post says, we are definitely interested in going cross-platform. Which platforms would you be interested in seeing first?\u201d<\/p>\n<p>Linux was the first answer, echoed by many other commenters, with FreeBSD, OS X and Android also receiving votes.<\/p>\n<p>If it does move to other platforms, ChakraCore might become one of the more valuable instruments for developers to put in their toolboxes, judging from Microsoft\u2019s performance and industry standard support accolades.<\/p>\n<p>According to the blog post, Chakra was optimized to run faster with its inclusion as a core component of Windows 10 and surpasses Chrome and Firefox in several key benchmarks. Microsoft said it achieved superior performance through a \u201cunique multi-tiered pipeline that supports an interpreter, a multi-tiered background JIT compiler, and a traditional mark and sweep garbage collector that can do concurrent and partial collections.\u201d<\/p>\n<p>As a JavaScript engine,\u00a0Chakra\u00a0is one of many industry projects that provide a virtual machine to interpret JavaScript code and execute that code in whatever host it resides in. Chakra was the codename for the project unveiled in 2010 that developed a brand-new JavaScript engine for the Microsoft Internet Explorer 9 browser.<\/p>\n<p>Since then, Chakra and JavaScript have both evolved, with Chakra being put to work to power Windows 10\u2019s Edge browser and the programming language\u00a0moving far beyond its roots\u00a0as a Web scripting tool designed to make static Web pages more dynamic. While maturing to a more robust, general-purpose language, JavaScript has been employed on the server and the cloud and in games, NoSQL databases, Internet of Things (IoT) apps and more \u2014 even stirring talk of being applied to coding complete desktop apps.<\/p>\n<p>Microsoft said Chakra supports more of the latest ECMAScript standards, ES2015 (sometimes called ES6), than\u00a0<em>any<\/em>\u00a0other shipping browser.<\/p>\n<p>Chakra also \u201chas support for some of the future ECMAScript proposals like Async Functions and SIMD,\u201d Microsoft said. \u201cIt supports asm.js and the team is a key participant in helping evolve WebAssembly and its associated infrastructure.\u201d<\/p>\n<p>Besides the Edge browser, Chakra also powers several other Microsoft technologies, the blog post indicated. \u201cToday, outside of the Microsoft Edge browser, Chakra powers Universal Windows applications across all form factors where Windows 10 is supported \u2014 whether it\u2019s on an Xbox, a phone or a traditional PC,\u201d Microsoft said. \u201cIt powers services such Azure DocumentDB, Cortana and Outlook.com. It is used by (and optimized for) TypeScript. And with Windows 10, we enabled Node.js to run with Chakra, to help advance the reach of Node.js ecosystem and make Node.js available on a new IoT platform: Windows 10 IoT Core.\u201d<\/p>\n<p>In addition to opening up the ChakraCore technology to individual open source contributors, Microsoft said several organizations are interested in helping out with the project, singling out Intel, AMD and NodeSource as potential development partners moving forward.<\/p>\n<p>\u201cThe community is at the heart of any open source project, so we look forward to the community cloning the repository, inspecting the code, building it, and contributing everything from new functionality to tests or bug fixes,\u201d Microsoft said. \u201cWe also welcome suggestions on how to improve ChakraCore for particular scenarios that are important to you or your business.\u201d<\/p>\n<p id=\"ph_pcontent1_0_AuthorInfo_AboutAuthor\" class=\"author\"><em>About the Author<\/em><\/p>\n<p><em>David Ramel is an editor and writer for 1105 Media.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The technology behind Microsoft\u2019s Chakra JavaScript engine will be handed over to the open source community, the company announced on Saturday. Specifically, the company said it will separate the core components of its JavaScript engine from private browser and Windows bindings and internal dependencies and host the technology on GitHub under the name ChakraCore with<\/p>\n","protected":false},"author":2,"featured_media":1722,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[83,97],"tags":[105,104,124],"class_list":["post-277","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft","category-news","tag-docker","tag-microsoft","tag-windows-server"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/onesolution.vn\/index.php?rest_route=\/wp\/v2\/posts\/277","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/onesolution.vn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onesolution.vn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onesolution.vn\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/onesolution.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=277"}],"version-history":[{"count":1,"href":"https:\/\/onesolution.vn\/index.php?rest_route=\/wp\/v2\/posts\/277\/revisions"}],"predecessor-version":[{"id":1727,"href":"https:\/\/onesolution.vn\/index.php?rest_route=\/wp\/v2\/posts\/277\/revisions\/1727"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/onesolution.vn\/index.php?rest_route=\/wp\/v2\/media\/1722"}],"wp:attachment":[{"href":"https:\/\/onesolution.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=277"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onesolution.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=277"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onesolution.vn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}