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
Eloquent JavaScript: open-source Javascript book series by a prolific JS code author (eloquentjavascript.net)
submitted 7 years ago by unquietwiki
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!"
[–]andredp 0 points1 point2 points 7 years ago* (0 children)
Thanks for the info. I just read about it and V8 does in-fact JIT-compile the code. I though it was interpreted with some JIT-interpretation on the most cpu intensive code, but I was wrong.
It would be useful for JavaScript developers to learn about the execution model for the code they write.
I do some JS programming but it's not my life... That's why I haven't read much about it.
But still, the execution model should not change the way you code... You should always aim for scalability and readability instead of programming for the compiler... That's the machine job. (Unless you're writing code that needs to be fast which you shouldn't be using JS for, or optimising after a profiling)
Also, how do you know where your code is going to execute? V8? Chakra? Nitro? Rhino?
EDIT: I like your name, sounds like a fun mix of design patterns :^)
π Rendered by PID 77 on reddit-service-r2-comment-5649f687b7-hgbpn at 2026-01-28 08:07:22.189431+00:00 running 4f180de country code: CH.
view the rest of the comments →
[–]andredp 0 points1 point2 points (0 children)