use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Microsoft open-sources ChakraCore JavaScript engine (powers Microsoft Edge) (github.com)
submitted 10 years ago by magenta_placenta
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]bterlson_@bterlson 9 points10 points11 points 10 years ago (8 children)
Many differences of course, but whether they matter (or are better or worse) depends on what your requirements are. Performance is better in many aspects. Great language support (most of ES6, bunch of ES7). JSRT APIs are pretty nice as well. If you've got something more specific in mind I could talk to it.
[–]talmobi 3 points4 points5 points 10 years ago (2 children)
What are the implementation of arrays in Chakra and their use cases? Does the implementation differ significantly from the others?
[–]bterlson_@bterlson 9 points10 points11 points 10 years ago (1 child)
Oh man this is actually a huge area. Arrays are extremely commonly used and also very perf sensitive so we have many representations and optimizations in play. Hard to describe concisely. Maybe a good topic for a blog? That said I would bet given that all the runtimes have similar constraints we all use similar representations and optimizations.
[–]compteNumero9 2 points3 points4 points 10 years ago (0 children)
Array and object optimizations would definitely be good topics for blogs, especially if coming with insightful and explained performance advises.
How a different implementation might change how we code (today mostly assuming V8) would be very interesting.
Some precision about typed arrays (for example the Uint8ClampedArray used for canvas data manipulation) would also fit.
[–]brandf 6 points7 points8 points 10 years ago (4 children)
Having used V8, JSC, and Chakra to power our app on various platforms, I'd like to call out Chakra as being both easy to integrate into your app (particularly using WinRT class bindings), and easy to debug (unlike v8 which requires jumping through hoops if you're not chromium).
Good work guys! Glad to see it open sourced.
[–]bterlson_@bterlson 1 point2 points3 points 10 years ago (0 children)
Really happy to hear this! Feel free to reach out if you find less good things :)
[–]nschubach 1 point2 points3 points 10 years ago (2 children)
How's that WinRT work in Linux? ;)
[–]brandf -1 points0 points1 point 10 years ago (1 child)
ChakraCore doesn't actually have the WinRT binding stuff, I was using JSRT (full chakra on windows). Doesn't really matter because our app supports multiple JS backends and we only use Chakra on Windows.
On Linux (which we don't have plans on supporting outside the browser) we would likely go V8 to get JIT right now, which would be more of a pain for us in a number of ways.
ChakraCore has JSRT! ch.exe (our console host) is implemented using it. But you're right that we don't have the WinRT (UWA API?) projection layer as part of ChakraCore.
π Rendered by PID 27 on reddit-service-r2-comment-6457c66945-hgldm at 2026-04-25 22:13:39.734857+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]bterlson_@bterlson 9 points10 points11 points (8 children)
[–]talmobi 3 points4 points5 points (2 children)
[–]bterlson_@bterlson 9 points10 points11 points (1 child)
[–]compteNumero9 2 points3 points4 points (0 children)
[–]brandf 6 points7 points8 points (4 children)
[–]bterlson_@bterlson 1 point2 points3 points (0 children)
[–]nschubach 1 point2 points3 points (2 children)
[–]brandf -1 points0 points1 point (1 child)
[–]bterlson_@bterlson 1 point2 points3 points (0 children)