- Notifications
You must be signed in to change notification settings - Fork 304
QuickJS周报(第二期)
llgoer edited this page May 18, 2021 · 2 revisions
本篇是由QuickJS中文社区整理近一周有关QJS的相关软件技术更新信息。
QuickJS的Go绑定,构建一个轻量级支持ES2020标准的JS引擎。
用法
package main import ( "github.com/quickjs-go/quickjs-go" ... ) func main(){ runtime := quickjs.NewRuntime() defer runtime.Free() context := runtime.NewContext() defer context.Free() globals := context.Globals() // Test evaluating template strings. result, err := context.Eval("`Hello world! 2 ** 8 = ${2 ** 8}.`") check(err) defer result.Free() fmt.Println(result.String()) } 项目地址:https://github.com/quickjs-go/quickjs-go
Sciter.JS - Sciter使用QuickJS替代TIScript。 Sciter是一个嵌入式HTML/CSS/scripting引擎
项目地址:https://github.com/c-smile/sciter-js-sdk
QuickJS的Rust绑定
项目地址:https://github.com/theduke/quickjs-rs
值得关注的是pr中提交了对msvc的支持,但作者并没有进行合并,主要考虑到项目目前对msvc的支持不稳定。
地址:https://github.com/theduke/quickjs-rs/pull/114
采用QuickJS、libuv,用❤️构建的小巧的JavaScript运行时。
项目地址:https://github.com/saghul/txiki.js
QuickJS中文社区(https://github.com/quickjs-zh/)
QuickJS QQ群:598609506。