Skip to main content

clang.js

Weekly Pick

clangjs.netlify.app

一个在浏览器中编译、链接和运行 C/C++ 代码的 JavaScript 库,支持标准库,完全本地运行无需网络。

Developer Tools & APIsOpen source#compiler#webassembly
Visit website

image## 简介一个在浏览器编译、链接、运行 C/C++ 代码的 JS 库。支持 C/C++ 标准库。完全在本地编译,无需网络即可工作。## 原理首先把 Clang 和 LLD 编译为 WebAssembly 使其运行在浏览器中。然后使用 WebAssembly 版本 Clang 把 C/C++ 代码编译为 WebAssembly,最后通过浏览器 API 运行 WebAssembly。## 示例https://clangjs.netlify.app## 应用场景- 在线编程- C/C++ Playground## GitHubhttps://github.com/luoxuhai/clang.js

More in Developer Tools & APIs

SolveHub

API for CAPTCHA and anti-bot tasks in authorized testing

Dev Tools ·

liarjs.dev

Scanner that cross-checks browser JavaScript fingerprint against network layer

Dev Tools ·

AntiBrow

Antidetect browser for managing multiple browser identities with real-device

Dev Tools ·

HostlessWP

Open source CLI to move WordPress to Cloudflare Workers

Dev Tools ·

deed.page

Permanent web hosting with an API for AI agents

Dev Tools ·

Rowflare

Open-source Airtable alternative running on your Cloudflare account

Dev Tools ·