TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: What goes into a JavaScript Engine?

5 点作者 kunalb将近 14 年前
I've been wondering about what all goes into making a javascript engine—what all concepts are required to understand how engines like v8 or JaegerMonkey work?

1 comment

namank将近 14 年前
Its essentially an interpreter built into the browser.<p>Browers hands the JS to the engine. Engine parses it, checks for syntax errors, checks for semantic errors, optimizes, generates machine code (assembly), runs it!<p>Of course this is only a high level overview, gets more interesting the deeper you go. There is a video on Chrome/v8 posted on Youtube by Google - check it out. I'll try to find the link once I'm on a computer.