はてなブックマークアプリ

サクサク読めて、
アプリ限定の機能も多数!

アプリで開く

はてなブックマーク

  • はてなブックマークって?
  • アプリ・拡張の紹介
  • ユーザー登録
  • ログイン
  • Hatena

はてなブックマーク

トップへ戻る

  • 総合
    • 人気
    • 新着
    • IT
    • 最新ガジェット
    • 自然科学
    • 経済・金融
    • おもしろ
    • マンガ
    • ゲーム
    • はてなブログ(総合)
  • 一般
    • 人気
    • 新着
    • 社会ニュース
    • 地域
    • 国際
    • 天気
    • グルメ
    • 映画・音楽
    • スポーツ
    • はてな匿名ダイアリー
    • はてなブログ(一般)
  • 世の中
    • 人気
    • 新着
    • 新型コロナウイルス
    • 働き方
    • 生き方
    • 地域
    • 医療・ヘルス
    • 教育
    • はてな匿名ダイアリー
    • はてなブログ(世の中)
  • 政治と経済
    • 人気
    • 新着
    • 政治
    • 経済・金融
    • 企業
    • 仕事・就職
    • マーケット
    • 国際
    • はてなブログ(政治と経済)
  • 暮らし
    • 人気
    • 新着
    • カルチャー・ライフスタイル
    • ファッション
    • 運動・エクササイズ
    • 結婚・子育て
    • 住まい
    • グルメ
    • 相続
    • はてなブログ(暮らし)
    • 掃除・整理整頓
    • 雑貨
    • 買ってよかったもの
    • 旅行
    • アウトドア
    • 趣味
  • 学び
    • 人気
    • 新着
    • 人文科学
    • 社会科学
    • 自然科学
    • 語学
    • ビジネス・経営学
    • デザイン
    • 法律
    • 本・書評
    • 将棋・囲碁
    • はてなブログ(学び)
  • テクノロジー
    • 人気
    • 新着
    • IT
    • セキュリティ技術
    • はてなブログ(テクノロジー)
    • AI・機械学習
    • プログラミング
    • エンジニア
  • おもしろ
    • 人気
    • 新着
    • まとめ
    • ネタ
    • おもしろ
    • これはすごい
    • かわいい
    • 雑学
    • 癒やし
    • はてなブログ(おもしろ)
  • エンタメ
    • 人気
    • 新着
    • スポーツ
    • 映画
    • 音楽
    • アイドル
    • 芸能
    • お笑い
    • サッカー
    • 話題の動画
    • はてなブログ(エンタメ)
  • アニメとゲーム
    • 人気
    • 新着
    • マンガ
    • Webマンガ
    • ゲーム
    • 任天堂
    • PlayStation
    • アニメ
    • バーチャルYouTuber
    • オタクカルチャー
    • はてなブログ(アニメとゲーム)
    • はてなブログ(ゲーム)
  • おすすめ

    参議院選挙2025

『Redirecting to main blog... (or click here)』

  • 人気
  • 新着
  • すべて
  • WasmBoxC: Simple, Easy, and Fast VM-less Sandboxing

    5 users

    kripken.github.io

    The software ecosystem has a lot of useful but unsafe code, and the easier it is to sandbox that code, the more often that’ll happen. If it were as simple as passing the compiler a --sandbox flag that makes an unsafe library unable to see or affect anything outside of it, that would be incredible! We can’t get it quite that easy, but this post describes WasmBoxC, a sandboxing approach that is very

    • テクノロジー
    • 2020/07/28 17:22
    • Pause and Resume WebAssembly with Binaryen's Asyncify

      5 users

      kripken.github.io

      Pausing and resuming code can be useful for various things, like implementing coroutines, async/await, limiting how much CPU time untrusted code gets, and so forth. If you are customizing a WebAssembly VM then you have various ways to instrument the compiled code to do this. On the other hand, if you want to do this in “userspace”, that is, if you are running inside of a standard WebAssembly VM an

      • テクノロジー
      • 2019/07/24 21:10
      • あとで読む
      • Emscripten and WebAssembly

        7 users

        kripken.github.io

        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

        • テクノロジー
        • 2015/12/10 06:21
        • wasm
        • Emscripten & asm.js: Approaching native speed in JavaScript

          3 users

          kripken.github.io

          Emscripten & asm.js: C++'s role in the modern web Alon Zakai / @kripken All major web browsers are written in C++ For the obvious reasons: fast, familiar, library support For the same reasons, people want to use C++ to write web content too, that is, websites That's what this talk is about The Web Largest open platform in existence No C++ there :( What about non-standardized approaches (ActiveX, F

          • テクノロジー
          • 2015/05/19 21:47
          • Emscripten & asm.js: Approaching native speed in JavaScript

            14 users

            kripken.github.io

            Emscripten & asm.js: C++'s role in the modern web Alon Zakai / @kripken All major web browsers are written in C++ For the obvious reasons: fast, familiar, library support For the same reasons, people want to use C++ to write web content too, that is, websites That's what this talk is about The Web Largest open platform in existence No C++ there :( What about non-standardized approaches (ActiveX, F

            • テクノロジー
            • 2014/09/09 09:09
            • asm.js
            • emscripten
            • JavaScript
            • プログラミング
            • Emscripten

              8 users

              kripken.github.io

              Emscripten is a complete compiler toolchain to WebAssembly, using LLVM, with a special focus on speed, size, and the Web platform.

              • テクノロジー
              • 2014/08/01 19:16
              • Emscripten
              • C++
              • JavaScript
              • Clang in JS

                33 users

                kripken.github.io

                input extern void puts(const char *str); int main() { puts("hello, world!"); return 0; } console Limitations C preprocessor is not hooked up. If you want to also execute the code, use this LLVM IR runner or one of the many CPU emulators out there in JS. This is a quick hack, build size and perf have not been optimized yet.

                • テクノロジー
                • 2013/11/14 14:30
                • javascript
                • emscripten
                • clang
                • llvm
                • programming
                • asm.js: Native Speed on the Web

                  5 users

                  kripken.github.io

                  JS engines don't always run at full speed Motivated asm.js, an easy to optimize subset of JS function asmCode(global, env, buffer) { 'use asm'; var HEAP = new global.Uint8Array(buffer); function fib_like(x) { x = x|0; if ((x >>> 0) < 2) return HEAP[x]|0; return ((fib_like((x-2)|0)|0) + (fib_like((x-1)|0)|0))|0; } return fib_like; } HEAP cannot be replaced |0 trick ensures 32-bit ints Typed arrays

                  • 暮らし
                  • 2013/09/21 11:21
                  • JavaScript + Other Languages

                    12 users

                    kripken.github.io

                    Alon Zakai (Mozilla) @kripken QCon Other Languages? Why? ;) JavaScript is great Runs in all browsers Familiar syntax Dynamic typing Other languages are great too Mixing Languages: examples Spreadsheets: C/C++ and VBA, etc Web browsers: C/C++ and JavaScript Game engines: C/C++ and Lua, etc. Libraries for scripting languages: Python and C/C++ modules like NumPy, etc. Mixing Languages When useful, gi

                    • テクノロジー
                    • 2013/06/16 19:11
                    • emscripten
                    • javascript
                    • development
                    • programming
                    • *あとで
                    • lua.vm.js

                      15 users

                      kripken.github.io

                      FAQ Are you really porting the entire Lua VM? Yes: The entire Lua 5.2.2 codebase written in C is compiled to JavaScript here, including a full incremental GC and everything else. It fits in 200K of gzipped JavaScript. How can a VM running in a VM be fast? Lua is implemented in portable C. It is possible to run C compiled to JavaScript at speeds approaching that of a native build (using the asm.js

                      • 暮らし
                      • 2013/05/31 07:32
                      • lua
                      • javascript
                      • VM
                      • *program
                      • development
                      • Big Web App? Compile It!

                        32 users

                        kripken.github.io

                        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

                        • テクノロジー
                        • 2013/02/17 22:06
                        • asm.js
                        • JavaScript
                        • emscripten
                        • slide
                        • c++
                        • java
                        • Run LLVM Assembly In Your Browser

                          10 users

                          kripken.github.io

                          This is a demo of compiling and running LLVM assembly in JavaScript. Press the button to see it compile and run a tiny "hello world" program. You can also try modifying the LLVM assembly and pressing the button again - note though that LLVM assembly is typed, so if you add characters to the string for example, you will need to adjust its length, both where it is defined and where it is used (other

                          • テクノロジー
                          • 2013/01/04 12:09
                          • llvm
                          • プログラミング
                          • javascript

                          このページはまだ
                          ブックマークされていません

                          このページを最初にブックマークしてみませんか?

                          『Redirecting to main blog... (or click here)』の新着エントリーを見る

                          キーボードショートカット一覧

                          j次のブックマーク

                          k前のブックマーク

                          lあとで読む

                          eコメント一覧を開く

                          oページを開く

                          はてなブックマーク

                          • 総合
                          • 一般
                          • 世の中
                          • 政治と経済
                          • 暮らし
                          • 学び
                          • テクノロジー
                          • エンタメ
                          • アニメとゲーム
                          • おもしろ
                          • アプリ・拡張機能
                          • 開発ブログ
                          • ヘルプ
                          • お問い合わせ
                          • ガイドライン
                          • 利用規約
                          • プライバシーポリシー
                          • 利用者情報の外部送信について
                          • ガイドライン
                          • 利用規約
                          • プライバシーポリシー
                          • 利用者情報の外部送信について

                          公式Twitter

                          • 公式アカウント
                          • ホットエントリー

                          はてなのサービス

                          • はてなブログ
                          • はてなブログPro
                          • 人力検索はてな
                          • はてなブログ タグ
                          • はてなニュース
                          • ソレドコ
                          • App Storeからダウンロード
                          • Google Playで手に入れよう
                          Copyright © 2005-2025 Hatena. All Rights Reserved.
                          設定を変更しましたx