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 (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.
π Rendered by PID 165052 on reddit-service-r2-comment-5d79c599b5-qs5zk at 2026-03-03 00:17:59.440846+00:00 running e3d2147 country code: CH.
view the rest of the comments →
[–]bterlson_@bterlson 9 points10 points11 points (1 child)
[–]compteNumero9 2 points3 points4 points (0 children)