並び順

ブックマーク数

期間指定

  • から
  • まで

641 - 680 件 / 1133件

新着順 人気順

WebAssemblyの検索結果641 - 680 件 / 1133件

  • Async Interview #1: Alex and Nick talk about async I/O and WebAssembly · baby steps

    When users invoke this run function from JS, it acts just like a JavaScript asynchronous function, which means that it returns a JS promise. This is possible because wasm-bindgen includes the ability to interconvert between JS and Rust promises. You can see this at play also within the run function, which invokes fetch and then converts the result into a Rust future: Note the JsFuture::from call i

    • WebAssembly Compiler - Text format and AST

      This post is the first of a series of four. The following posts will be released in the coming weeks. If you don't want to miss them, follow us on Twitter ! --> Text format and AST <-- Building a Parser Building a Compiler Building a Runtime Code on Github WebAssembly Compiler In this series of blog posts, we are going to build a compiler for the WebAssembly (Wasm) text format. Not for the whole s

      • GoとWebAssembly

        この記事はWebAssembly Advent Calendar 2023 10日目の記事です. 2023年はGo1.21でWASI(WebAssembly System Interface)がサポートされるといった大きなリリースがありました.Go1.21のWasmのサポート状況,今後のWasmサポートについてまとめていきたいと思います. Go 1.20以前とWebAssembly 2018年のGo 1.11のリリース[1]以降,GoではWasmがサポートされています. package main import "fmt" func main() { fmt.Println("Hello, WebAssembly!") }

          GoとWebAssembly
        • GitHub - nepx/halfix: x86 PC emulator that runs both natively and in the browser, via WebAssembly

          You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

            GitHub - nepx/halfix: x86 PC emulator that runs both natively and in the browser, via WebAssembly
          • n2t-wasm - Nand2TetrisをWebAssemblyでエミュレーション

            Nand2TetrisというのはNand回路を使ってCPUやメモリの基本的な動作を学び、最終的に Nand回路でテトリスを作るというものです。CPUのような基礎から学ぶことで、コンピュータの動作を基礎的な部分から学べるでしょう。 n2t-wasmはそんなNand2TetrisをWebAssemblyにしたエミュレータになります。 n2t-wasmの使い方 ROMを指定して読み込みます。 PONGを動かしました。 n2t-wasmでは他にもデモプログラムがあるのですが、筆者環境(Google Chrome)では動きませんでした。n2t-wasmはNand2TetrisをWebAssembly化することで、Webブラウザ上でNand2Tetrisを体験できるようになります。これは手軽で面白そうです。 n2t-wasmはRust製のオープンソース・ソフトウェア(MIT License)です。 H

              n2t-wasm - Nand2TetrisをWebAssemblyでエミュレーション
            • How to Boost Your Code with WebAssembly

              https://jsconf.jp/2019/talk/fuji-goro

                How to Boost Your Code with WebAssembly
              • GitHub - raphamorim/xwasm: [Work In Progress] WebAssembly Packager and WASM tooling for modern frontend

                You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                  GitHub - raphamorim/xwasm: [Work In Progress] WebAssembly Packager and WASM tooling for modern frontend
                • Microsoft: Why we used programming language Rust over Go for WebAssembly on Kubernetes app

                  DeisLabs, an Azure incubator for creating Kubernetes tools, has also used Rust to build Krustlet, a 'kubelet' than lets developers run multiple WebAssembly modules (Wasm) in Kubernetes, the dominant open-source tool for managing Docker containers. SEE: Six in-demand programming languages: Getting started (free PDF) Kubernetes was created by Google and written mostly in Google's Go programming lang

                    Microsoft: Why we used programming language Rust over Go for WebAssembly on Kubernetes app
                  • マイコン MCU で AssemblyScript + WebAssembly/Wasm3 を動かす | hiromasa.another :o)

                    WebAssembly の登場でウェブブラウザー上で C/C++/Rust といった高速で動作する言語を使うことができるようになりましたが、一方でそのコンパクトな実装は、マイコンなどの小型のコンピューターでスクリプト言語を省メモリーで素早く実行する環境ももたらすことになりそうです。 この記事では WebAssembly のインタープリター実装のひとつである Wasm3 を活用して、ESP32 / K210 MPU で TypeScript のサブセットである AssemblyScript を動かす方法を解説しています。 ウェブブラウザーとマイコンで同じスクリプトが動作するのは感動的です。 🙂 Maixduino マイコンとウェブブラウザーで動作する同じ Conway’s Game of Life スクリプト ー 本稿は 2020年2月 の AssemblyScript 0.9.2、Was

                      マイコン MCU で AssemblyScript + WebAssembly/Wasm3 を動かす | hiromasa.another :o)
                    • Can WebAssembly Solve Serverless's Problems?

                      Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.

                        Can WebAssembly Solve Serverless's Problems?
                      • WebAssembly Summit 2020 Notes

                        wasm-summit-2020-notes.md WebAssembly Summit 2020 https://webassembly-summit.org/ Lin Clark's Talk - "WebAssembly Nanoprocess" https://www.youtube.com/watch?v=IBZFJzGnBoU the missing functionality alongside WASI and Interface Types is something that provides "capability-based security". Delegation of permissions to propagate down transitive dependencies plan to use fine-grain form of per-module vi

                          WebAssembly Summit 2020 Notes
                        • GitHub - vmware-labs/mod_wasm: mod_wasm is an extension module for the Apache HTTP Server (httpd) that enables the usage of WebAssembly (Wasm). This module allows the execution of certain tasks in the backend in a very efficient and secure way.

                          You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                            GitHub - vmware-labs/mod_wasm: mod_wasm is an extension module for the Apache HTTP Server (httpd) that enables the usage of WebAssembly (Wasm). This module allows the execution of certain tasks in the backend in a very efficient and secure way.
                          • Without Blazor WebAssembly, develop a web site that compiles and runs C# code on browser

                            Without Blazor WebAssembly, develop a web site that compiles and runs C# code on browser In this article, I will share with you on how to “ build a tool to compile and run C# code in the browser”. The core technology is to write WebAssembly and Roslyn technology in C# without relying on the Blazor framework. 1. Why such a tool is needed? For programming novices, the installation and configuration

                              Without Blazor WebAssembly, develop a web site that compiles and runs C# code on browser
                            • 社内でRust and WebAssemblyの勉強会をした話 - Qiita

                              勉強会って難しい 社内で勉強会やっていますか? 勉強会っていいですよね。日々業務に追われがちで新しい技術に触れる機会が少ない時も定期的に勉強会があることで息抜き&ドメイン関係なく技術に向き合うことで知的好奇心が満たされます。 ですがテーマを選定するのはなかなか難しいです。 特にメンバー数が多くなってくるとそれぞれの技術的関心が一致しない&タスク状況によって参加しずらいケースが発生しやすくなるのでなかなか勉強会を継続して開催するのは難しくなってきます。 そこで今回はチーム内で 事前準備不要 隔週一時間で開催し一つのテーマを2ヶ月(計4回)かけて勉強する (結果的に内容が濃く5回になってしまいましたが) テーマは多数決で決める といった形式で勉強会を始めてみることにしました。 最終的に選ばれたテーマは「Rust+WebAssembly」です。こちらのチュートリアルを主に進めていくことになりまし

                                社内でRust and WebAssemblyの勉強会をした話 - Qiita
                              • WebAssembly Modules in Rust: Syntax Deep Dive

                                This is a continuation of the previous article that introduced developing WebAssembly modules in Rust, where the demo project (hosted on Github) showcases an asynchronous fetch request called directly within Rust code and the compiled wasm binary.

                                  WebAssembly Modules in Rust: Syntax Deep Dive
                                • Blazor WebAssemblyアプリをAzure Static Web Appsでホストする | MESCIUS.devlog - メシウス株式会社

                                  Azure Static Web Appsは静的コンテンツ(HTML、JavaScript、CSS)で作成したWebアプリケーションをホストするためのクラウドサービスです。GitHubのリポジトリに置いたWebアプリケーションを更新するたびにGitHub Actionsにより自動的にビルドとデプロイが行われます。 Angular、React、Vue.jsといったJavaScriptフレームワークにも対応しており、バックエンドにはAPIとしてAzure Functionsを利用することも可能です。 Blazor WebAssemblyアプリケーション用のチュートリアル Azure Static Web AppsのドキュメントにはBlazor WebAssemblyアプリケーション用のチュートリアルが用意されています。 こちらの手順を参考にAzure Static Web AppsにBlazo

                                    Blazor WebAssemblyアプリをAzure Static Web Appsでホストする | MESCIUS.devlog - メシウス株式会社
                                  • WebAssemblyでの機械学習モデルデプロイの動向

                                    本記事はMLOps Advent Calendar 2020の 2 日目の記事です。 WebAssembly(Wasm)は機械学習モデルをデプロイする新たな手段になりうるでしょうか。 この記事では、機械学習モデル(特に Deep Learning)を Wasm でデプロイする周辺技術の動向や内部の仕組みをざっくりと説明します。 Table of Contents tkat0 です。WebAssembly(Wasm)面白いですね。 私も最近はyewでフロントエンドを書いて遊んでいます。Rust で React っぽいことできるのは新鮮で面白いです。 Wasm は、なんとなく速い JavaScript?とか機械学習で何に役立つの?とか思ってる方も多いと思います。 しかし、Wasm はブラウザでの推論時に使えるだけでなく、機械学習モデルのサービングやエッジデバイスでの推論にも使えると知ったら驚き

                                      WebAssemblyでの機械学習モデルデプロイの動向
                                    • GitHub - sagemathinc/cowasm: CoWasm: Collaborative WebAssembly for Servers and Browsers. Built using Zig. Supports Python with extension modules, including numpy.

                                      CoWasm means "collaborative WebAssembly", and goes far beyond just Python. The collaboration aspects will be part of https://cocalc.com at some point in the future. CoWasm will support various technologies (such as libgit2 and realtime sync) that are important foundations for collaboration. The underlying software components that CoWasm is built on (i.e., that we didn't write) are mostly extremely

                                        GitHub - sagemathinc/cowasm: CoWasm: Collaborative WebAssembly for Servers and Browsers. Built using Zig. Supports Python with extension modules, including numpy.
                                      • 作って学ぶWebAssembly ーTypeScriptとDenoで作るWasmランタイムー:空想工学舎

                                        TypeScriptとDenoを使用して簡易的なWebAssemblyランタイムを実装し、最終的には以下のwatをコンパイルしたwasmを実行して2数の最大公約数を求められるようになります。 (module (func (export "gcd") (param $small i32) (param $large i32) (result i32) (local $rem i32) (local $tmp i32) ;; $large must be larger than $small (if (i32.lt_s (local.get $large) (local.get $small)) (then ;; swap (local.set $tmp (local.get $large)) (local.set $large (local.get $small)) (local.set $

                                          作って学ぶWebAssembly ーTypeScriptとDenoで作るWasmランタイムー:空想工学舎
                                        • WebAssembly (Rust) によるブラウザ上の画像処理 - Qiita

                                          概要 ブラウザ上で動画をリアルタイムに画像処理する。 Rustによって作成したWebAssemblyと、JavaScriptとの処理速度の比較を行う。 結果は、Firefox(JS) > Chrome(Rust) > Chrome(JS) > Firefox(Rust) [速い順] となった。 画素数1920x1080でのフレームレートは、最速のFirefox(JS)で約10~12fpsとなる。 この記事で示す処理以外のものが入ったときのフレームレートである。ただここでの処理が他のに比べて大きくボトルネックにはなっている。 WebAssemblyとは WebAssembly1とは、ブラウザ上で動くバイナリコードである。JavaScriptに比べて処理速度が速いという特徴がある。 JavaScriptからWebAssemblyの関数が呼び出されたり、WebAssemblyからJavaScri

                                            WebAssembly (Rust) によるブラウザ上の画像処理 - Qiita
                                          • Exploring SIMD performance improvements in WebAssembly

                                            Register For Email Updates Sign up to receive email updates whenever I release a new blog post. I promise to take your privacy seriously. In this blog post, we are going to run some SIMD (Single Instruction Multiple Data) performance experiments in WebAssembly and see whether the results agree with our theoretical predictions. I chose to do this in WebAssembly because it’s an exciting technology t

                                            • WebContainer API登場、WebAssemblyベースのOS「WebContainers」上で独自アプリケーションの構築が可能に

                                              米StackBlitzは、Node.jsをWebブラウザ内で完全に実行できるようにする、WebAssemblyベースのOSであるWebContainers上に、独自アプリケーションの構築を可能にする「WebContainer API」を、2月14日(現地時間)に一般公開した。 WebContainer APIは、WebContainersへのヘッドレスでのアクセスを実現するもので、開発者はWebContainers上に独自のユーザーアプリケーションを構築できるようになる。オープンソースで使用する場合は無料で、エンタープライズで使用する場合はサポートとライセンス提供するとしている。 同社は、WebContainer APIを使用してWebContainers上に「Codeflow IDE」を構築した。同IDEは、gitコマンド、デスクトップ拡張機能、ターミナルを備えたNode.js開発サーバ

                                                WebContainer API登場、WebAssemblyベースのOS「WebContainers」上で独自アプリケーションの構築が可能に
                                              • GitHub - wasmerio/awesome-wasi: 😎 Curated list of awesome things regarding WebAssembly WASI ecosystem.

                                                You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                  GitHub - wasmerio/awesome-wasi: 😎 Curated list of awesome things regarding WebAssembly WASI ecosystem.
                                                • GitHub - WebAssembly/WASI: WebAssembly System Interface

                                                  The WebAssembly System Interface (WASI) is a set of APIs for WASI being developed for eventual standardization by the WASI Subgroup, which is a subgroup of the WebAssembly Community Group. WASI started with launching what is now called Preview 1, an API using the witx IDL, and it is now widely used. Its major influences are POSIX and CloudABI. WASI Preview 2 is now in development, which is a modul

                                                    GitHub - WebAssembly/WASI: WebAssembly System Interface
                                                  • WebAssemblyとWebWorkerで作る、ブラウザで動くWebPエンコーダー | 空雲 Blog

                                                    WebP エンコーダーの必要性 Web 上で使われる画像形式として WebP の利用頻度が上がっています。その他のフォーマットに対して、データサイズ的に有利に働くからです。よく行われるのは、アップロードした画像をサーバ側で WebP に変換してクライアントに配信されるという流れです。しかし根本的に考えるとアップロードする前に WebP にしてしまえば、いろいろな無駄が省けます。ということでアップロード前にブラウザ上で WebP に変換すれば問題解決です。 ブラウザで WebP のエンコードをするには ブラウザの標準機能だと WebP のデコードは可能ですが、エンコードする機能はChromeだけにしか存在しません。つまり汎用的な対応を考えた場合、その機能は自分で何とかする必要があります。 https://github.com/webmproject/libwebp こちらに webp を扱う

                                                      WebAssemblyとWebWorkerで作る、ブラウザで動くWebPエンコーダー | 空雲 Blog
                                                    • WebAssembly Reference Types in Wasmtime

                                                      Note: I am cross-posting this article from the Bytecode Alliance blog to my personal blog. A few weeks ago, I finished implementing support for the WebAssembly reference types proposal in Wasmtime. Wasmtime is a standalone, outside-the-Web WebAssembly runtime, and the reference types proposal is WebAssembly’s first foray beyond simple integers and floating point numbers, into the exciting world of

                                                      • なぜエッジ環境でWebAssembly? 来日したFastly CTOに直撃

                                                        CDNプロバイダとして知られるFastlyは4月1日、WebAssemblyのコンパイラとランタイムで構成される「Lucet」をオープンソースで公開。同社のエッジコンピューティング環境として開発を進めていることを明らかにしました。 ITジャーナリスト/Publickeyブロガー。大学でUNIXを学び、株式会社アスキーに入社。データベースのテクニカルサポート、月刊アスキーNT編集部 副編集長などを経て1998年退社、フリーランスライターに。2000年、株式会社アットマーク・アイティ設立に参画、オンラインメディア部門の役員として2007年にIPOを実現、2008年に退社。再びフリーランスとして独立し、2009年にブログメディアPublickeyを開始。現在に至る。 WebAssemblyは、Webブラウザ上でネイティブコードに近い実行速度で高速に実行できるバイナリフォーマットです。 Fastl

                                                          なぜエッジ環境でWebAssembly? 来日したFastly CTOに直撃
                                                        • Rust WebAssembly でリアルタイムで顔にモザイク処理 - Qiita

                                                          rustface rustfaceというクレートを見つけました。 rustfaceはSeetaface Engineという C++ で書かれた顔認識ライブラリ(検出・位置調整・認識)のうち「検出」の部分を Rust で書いたものらしい。Seetafaceは CPU だけ使用してそれなりに高速に動くのが特徴のようです。Rust で書かれてるなら wasm-pack で簡単に WebAssembly 化できそうなのでやってみました。 成果物(1/18 追記:モザイク処理を追加しました。) 安心してください。顔画像はどこにも送信されません。(カメラによってはアスペクトレシオが崩れるようです) wasm-pack wasm-packのインストール。簡単。

                                                            Rust WebAssembly でリアルタイムで顔にモザイク処理 - Qiita
                                                          • WebAssembly と外部プログラムのインターフェース - Qiita

                                                            WebAssembly は多くのプログラム言語に対応可能な VM の規格であり、外部のプログラム言語から呼び出して使う事が想定されている。 本記事では WebAssembly と外部プログラム言語のインターフェース、例えば String の受け渡し方法等について記述する。 最後に、上記を踏まえた上で WebAssembly を使ったコードの「良い設計」についても提案をしてみた。 サンプルとして Rust と JavaScript のコードを使うが、これらの知識が無くとも記事の本質部分は理解可能と考えている。 (これは社内勉強会で行ったデモや解説の内容を転機したものです。 デモの内容は記事執筆時点の物なので、依存するツールやライブラリのアップデートにより結果が変わる可能性が有りますが、ご容赦ください。) 前回の復習 前回の勉強会の詳細については、WEBASSEMBLY - What's th

                                                              WebAssembly と外部プログラムのインターフェース - Qiita
                                                            • Fermyon Spin 2.0 Adds Support for WebAssembly Components and WASI Preview 2

                                                              InfoQ Software Architects' Newsletter A monthly overview of things you need to know as an architect or aspiring architects. View an example

                                                                Fermyon Spin 2.0 Adds Support for WebAssembly Components and WASI Preview 2
                                                              • Rust+WebAssemblyでMDNのWebGLチュートリアルを写経する

                                                                WebAssemblyで3Dを描画してみたかったので、WebGLの学習も兼ねてMDNのWebGLチュートリアルをRust+WebAssemblyで写経してみました。 ちなみに、MDNのWebGLチュートリアルはGitHubのコード例があるのですが、コード例だけがリファクタされてしまったためにサイト上のコードと大きく食い違っています。今回はGitHubのコードを参考にしました。 実際のコードや動作は以下です。 コード 動作サンプル 写経しながらハマった点などを簡単に説明します。 必要なもの rustup wasm-pack npm プロジェクト作成 https://rustwasm.github.io/docs/book/game-of-life/hello-world.html#clone-the-project-template に従ってプロジェクトを作成しました。Rustのプロジェクト

                                                                • Rust and WebAssembly for masses - Introduction

                                                                  Sendil Kumar Posted on Jan 1, 2020 • Updated on Jan 7, 2021 • Originally published at sendilkumarn.com The Rust language is designed to guide you naturally towards reliable goal that is efficient in terms of speed and memory usage - Nicholas Matsakis and Aaron Turon Rust is a systems-level programming language. Rust provides low-level memory management to represent data efficiently. Rust ensures s

                                                                    Rust and WebAssembly for masses - Introduction
                                                                  • GitHub - technohippy/wasmrb: WebAssembly Tools for Ruby language

                                                                    You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                      GitHub - technohippy/wasmrb: WebAssembly Tools for Ruby language
                                                                    • Building a Safer FIDO2 Key with Privilege Separation and WebAssembly

                                                                      FIDO2 is growing as a solution to the password hell we all know too well by replacing passwords stored in brains with secret keys stored on dedicated hardware security keys. This new protocol brings a huge increase in security and in usability, but the security key poses an attractive new target for attackers. For my Master’s thesis, I implemented a safer FIDO2 security key that I call Plat. Plat

                                                                      • フロントエンドのビルドツール「Vite 3.0」がリリース、WebAssembly import APIの改善など変更多数

                                                                        「Vite 3.0」では、任意のフレームワークでViteをすばやくテストするためのcreate-viteテンプレートのすべてに、新たなドキュメントに沿った新テーマが追加されたほか、Vite CLIにおけるデフォルトの開発サーバポートが5173になり、プレビューサーバが4173でリッスンするよう変更された。 さらに、デフォルトの接続スキームを変更しており、ほとんどのシナリオですぐにWebSocket接続を使用できるようになるとともに、静的にインポートされた最初のモジュールをクロールする際にプラグインによってインポートが注入された場合、コールドスタート中に完全なリロードを回避するようになっている。 また、import.meta.globの再実装、将来の標準との衝突を回避するとともに、柔軟性の向上を目的としたWebAssembly import APIの改善、ESMビルドの採用によるデフォルトで

                                                                          フロントエンドのビルドツール「Vite 3.0」がリリース、WebAssembly import APIの改善など変更多数
                                                                        • GitHub - bytecodealliance/wit-bindgen: A language binding generator for WebAssembly interface types

                                                                          You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                            GitHub - bytecodealliance/wit-bindgen: A language binding generator for WebAssembly interface types
                                                                          • GitHub - bytecodealliance/wasm-tools: CLI and Rust libraries for low-level manipulation of WebAssembly modules

                                                                            You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                              GitHub - bytecodealliance/wasm-tools: CLI and Rust libraries for low-level manipulation of WebAssembly modules
                                                                            • List of WebAssembly Games

                                                                              WebAssembly (or wasm) is a new powerful browser technology which will make in-browser code run a lot faster than it currently does. WebAssembly will generate a new wave of high-quality browser games. This website is intended as a curated list of games that use Web Assembly and resources about game development using it.

                                                                              • GitHub - tarmac-project/tarmac: Write as Functions, Deploy as a Monolith or Microservice with WebAssembly

                                                                                You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                                  GitHub - tarmac-project/tarmac: Write as Functions, Deploy as a Monolith or Microservice with WebAssembly
                                                                                • GitHub - kisonecat/tikzjax: TikZJax is TikZ running under WebAssembly in the browser

                                                                                  You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                                    GitHub - kisonecat/tikzjax: TikZJax is TikZ running under WebAssembly in the browser