JSC.js

JavaScriptCore on WebAssembly

Github星跟蹤圖

JSC.js is a JavaScript engine which can run on top of you browser's JavaScript engine. It's based on the JavaScript engine (JavaScriptCore) of WebKit and compiled to wasm with emscripten. Therefore, if you're using Safari, you are literally running its JavaScript engine on top of itself.

The size of JSC.wasm is around 4MB (compressed js and mem file).

Demo: Link

ScreenShot

Build

Preparation

  • install emscripten
  • install python, ruby, ninja, etc.
  • run build/gn/download.bat to download latest gn.exe.
  • run Source/JavaScriptCore/DerivedSources/gen.bat to generate derived sources.

Build with gn

> gn gen out --args="target_os=\"wasm\""
> ninja -C out

Build test shell on Windows

> gn gen out --args="target_os=\"win\""
> ninja -C out

主要指標

概覽
名稱與所有者mbbill/JSC.js
主編程語言C++
編程語言Makefile (語言數: 14)
平台
許可證
所有者活动
創建於2017-09-15 04:57:40
推送於2021-10-12 18:13:41
最后一次提交2021-10-12 11:13:37
發布數0
用户参与
星數472
關注者數14
派生數27
提交數83
已啟用問題?
問題數14
打開的問題數7
拉請求數4
打開的拉請求數1
關閉的拉請求數1
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?