this post was submitted on 21 Apr 2024
717 points (97.0% liked)
Programmer Humor
32559 readers
691 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
A script is just a file that can execute a series of commands without the need to compile
They compile in some point of time because CPU don't know shit about Javascript. But that is for some other discussion.
Edit: typo
Are you referring to AOT compilation specifically? JavaScript in V8 is JIT compiled if it's "hot" (executed enough that the cost of JIT compilation is less than the cost of continuing to run it in interpreted mode).