runjs 一个用于展示“自行构建 JavaScript 运行时”的博客系列的仓库: - 自行构建 JavaScript 运行时 - 自行构建 JavaScript …
runjs 一个用于展示“自行构建 JavaScript 运行时”的博客系列的仓库: - 自行构建 JavaScript 运行时 - 自行构建 JavaScript …
runjsA repository for the Roll your own JavaScript runtime blog post series:
This repo has been updated to use snapshotting to speed up startup times. Watch the corresponding video.
This repo has been updated to support loading JavaScript and TypeScript files.
$ cargo run
Finished dev [unoptimized + debuginfo] target(s) in 0.05s
Running `target/debug/runjs ./test.js`
[out]: "Hello" "runjs!"
[err]: "Boom!"
[err]: "Unable to read file" "./log.txt" {"code":"ENOENT"}
[out]: "Read from a file" "./log.txt" "contents:" "I can write to a file."
[out]: "Removing file" "./log.txt"
[out]: "File removed"Watch the corresponding video.
暂无开放 Issues,或尚未同步最近议题。