タグ

RustとWASMに関するYassLabのブックマーク (2)

  • GitHub

    Made to run natively on all modern operating systems and browsers, Ruffle brings Flash content back to life with no extra fuss. Safe to use — Using the guarantees of Rust and WASM, we avoid the security pitfalls Flash was known for. Easy to install — Whether you’re a user or a website owner, we’ve made it as easy as possible to get up and running.

    YassLab
    YassLab 2023/10/05
    "Ruffle is a Flash Player emulator written in Rust. Ruffle runs natively on all modern operating systems as a standalone application, and on all modern browsers through the use of WebAssembly. .... Ruffle puts Flash back on the web, where it belongs - including browsers on iOS and Android!"
  • 6x6リバーシの神 - まめめも

    絶対に勝てない6x6リバーシを作りました。あなたは黒番、AIが白番です。 絶対に勝てない6x6リバーシを作りました! ぜひ挑戦してみてくださいhttps://t.co/Ul5n3q9jMp— Yusuke Endoh (@mametter) December 30, 2021 これは何? 6x6の盤面のリバーシは後手必勝 *1 であることが知られています。 このAIは白番(後手)で完璧にプレイします。つまり黒番のあなたは絶対に勝てません。無力感を楽しんでください。 技術的な話 このAIWebAssemblyになっているので、全部あなたのブラウザの上で動いてます。真のサーバーレスです。 AIのソースコードはRustで書きました。わりと堅実なゲーム木探索になってます。UIは普通にTypeScriptとthree.jsで実装しました。 github.com 作った順に説明します。 盤面の表現

    6x6リバーシの神 - まめめも
    YassLab
    YassLab 2023/09/17
    “動かして見るとpanicで落ちました / usizeでオーバーフローが発生 / ネイティブビルドは64ビットなのでオーバーフローしないのですが、wasmは32ビットなのでオーバーフローが起きる。要するに完全に自分のせいでした”
  • 1