Dec 9th 2015 an open source LLVM-based compiler from C and C++ to JavaScript C++ ⇒ LLVM ⇒ Emscripten ⇒ JS float array[5000]; // C++ int main() { for (int i = 0; i < 5000; ++i) { array[i] += 1.0f; } } ⇒ Emscripten ⇒ function main() { // JavaScript var a = 0, b = 0; do { a = (8 + (b << 2)) | 0; HEAPF32[a >> 2] = +HEAPF32[a >> 2] + 1.0; b = (b + 1) | 0; } while ((b | 0) < 5000); } This is asm.j
Alon Zakai / Mozilla Compiling to JavaScript JavaScript is standards-based and the only language that runs in all web browsers You can run only JavaScript in browsers, but you can write in another language - if you compile it to JavaScript First set of demos BananaBread Qt Ruby Compiling to JavaScript: Nothing New! 2006: Google Web Toolkit (GWT), Java to JS 2007: pyjamas, Python into JS Adoption J
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く