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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Splitting Compilation and Execution in v8go

15 点作者 tsak超过 3 年前

1 comment

jrockway超过 3 年前
Very neat. I have embedded Javascript in Go before with goja and the results were pretty good. I used it to test Auth0 rules; they were in the critical path for our sign-in flow and a refactoring made some of them not work, so I just included them in the codebase and make sure they work against the API during the unit tests. I thought it was neat, and it made developing those rules much easier.<p>No doubt there is a lot of opportunity to do things like this, and using V8 probably gives you better fidelity against production (since they&#x27;re likely running the rules with V8).