百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
R

roll-your-own-javascript-runtime

> 编程语言
开源

runjs 一个用于展示“自行构建 JavaScript 运行时”的博客系列的仓库: - 自行构建 JavaScript 运行时 - 自行构建 JavaScript …

350 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

runjs 一个用于展示“自行构建 JavaScript 运行时”的博客系列的仓库: - 自行构建 JavaScript 运行时 - 自行构建 JavaScript …

runjs

A repository for the Roll your own JavaScript runtime blog post series:

  • Roll your own JavaScript runtime
  • Roll your own JavaScript runtime, pt. 2
  • Roll your own JavaScript runtime, pt. 3

UPDATE 2023-04-26

This repo has been updated to use snapshotting to speed up startup times. Watch the corresponding video.

UPDATE 2023-02-07

This repo has been updated to support loading JavaScript and TypeScript files.

bash
$ 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· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rust

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言