Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
J

jsxx

> 编程语言
Open source

jsxx jsxx is a transpiler that compiles JavaScript to C++. More details can be found in the [blog post]. Usage jsxx reads JavaScript from s…

187 stars0 likes2 views
WebsiteGitHub

About

jsxx jsxx is a transpiler that compiles JavaScript to C++. More details can be found in the [blog post]. Usage jsxx reads JavaScript from s…

jsxx

jsxx is a transpiler that compiles JavaScript to C++.

More details can be found in the blog post.

Usage

jsxx reads JavaScript from stdin and compiles it to C++ and then uses clang++ to create a binary.

$ cat testprog.js | cargo run
$ ./output
1.000000,2.000000,3.000000

If you have WASI-SDK installed, you can also compile straight to WebAssembly:

bash
$ cat testprog.js | \
    cargo run -- \ 
    --wasm \
    --clang-path $HOME/Downloads/wasi-sdk-16.0/bin/clang++ \
    -- -Oz -flto -Wl,--lto-O3
$ wasmtime output.wasm
1.000000,2.000000,3.000000

If you want to inspect the generated C++ code, use --emit-cpp.


Apache 2.0

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rust

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

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