並び順

ブックマーク数

期間指定

  • から
  • まで

121 - 160 件 / 174件

新着順 人気順

WebAssemblyの検索結果121 - 160 件 / 174件

  • The best WebAssembly runtime may be no runtime at all | Frank DENIS random thoughts.

    When we think “a fast AOT WebAssembly compiler and runtime”, we typically think about V8, Wasmer, WasmEdge or Wasmtime. All of these have in common that they are large, complicated pieces of software, that come with a lot of overhead, and only work on a limited set of platforms. But how about transpiling WebAssembly code to C source code, and leveraging the state-of-the-art optimization passes of

    • WasmFX: Effect Handlers for WebAssembly

      The WasmFX project extends WebAssembly (abbreviated Wasm) with effect handlers as a unifying mechanism to enable efficient compilation of control idioms, such as async/await, generators/iterators, first-class continuations, etc. WasmFX is currently being considered as the basis for stack switching in WebAssembly. The concrete proposal is known as typed continuations. Join the conversation over at

      • Rust、WASI 0.2への対応を表明 ー WebAssemblyの更なる促進に期待

        4月10日、Rust言語はWASI(WebAssembly System Interface)ターゲットを現在の0.1から0.2に切り替えることを発表した。 4月10日、Rust言語はWASI(WebAssembly System Interface)ターゲットを現在の0.1から0.2に切り替えることを発表した。 この更新が行われるのはRust 1.78からで、wasm32-wasip1とwasm32-wasip2の二つの新しいターゲットが導入される。 wasm32-wasip2がWASI 0.2をサポートするターゲット名で、これを指定することでRustから出力されるWebAssemblyコードがWASI 0.2に対応したものとなる。 wasm32-wasip1は、既存のwasm32-wasiターゲットの別名として当面は機能するが、2025年1月5日のRust 1.84で削除される予定であ

          Rust、WASI 0.2への対応を表明 ー WebAssemblyの更なる促進に期待
        • WebAssemblyはマイクロサービスアーキテクチャの救世主となるか

          マイクロサービスアーキテクチャの利用が広がっている。だが、その複雑さとコストが課題にもなっている。そうした懸念を緩和する可能性があるのがWebAssemblyの実装だ。 ソフトウェア開発とクラウドコンピューティングの世界は絶えず進化している。今日起こったイノベーションも、より高速、軽量、高機能のものにやがて取って代わられていくことになるだろう。 「Docker」は2013年のリリース当時、アプリケーションコードにもインフラにも画期的な一貫性、移植性、モジュール性をもたらした。マイクロサービスアーキテクチャの登場により、高い拡張性と柔軟性を備える独立したサービスのブロックとして、アプリケーションを構築できるようになった。 現在は、「WebAssembly」によって、クライアント側とサーバ側の両方に高いパフォーマンス、モジュール性、移植性がもたらされ、コンテナ化の改善が見込まれるようになってい

            WebAssemblyはマイクロサービスアーキテクチャの救世主となるか
          • CloudflareがPythonをサポート!PyodideによりWebAssemblyに変換して実行

            2024年4月3日、Cloudflareは「Pyodide と WebAssembly を使用してワーカーに Python を導入する」(Bringing Python to Workers using Pyodide and WebAssembly)と題した記事を公開し、PythonをCloudflare Workersで使用可能にする新たな取り組みを発表した。この記事では、 Pyodideを用いてPythonをWebAssemblyに変換し、Cloudflareの分散ネットワーク上で実行できるようにする技術が詳細に説明されている。 PyodideとWebAssemblyの活用 この取り組みにより、開発者はPythonでCloudflare Workersを記述し、分散アプリケーションを構築することが可能になる。 今回Pythonランタイムとして選ばれたPyodideは、CPythonの

              CloudflareがPythonをサポート!PyodideによりWebAssemblyに変換して実行
            • 調査で分かった「一度書けばどこでも実行できる」WebAssemblyの魅力

              ソフトウェアコンサルティング会社のScott Logicは、2023年10月28日(米国時間)、「WebAssembly」の使用状況に関する調査レポート「The State of WebAssembly 2023」を発表した。この調査は2021年から毎年実施されており、今回で3回目となる。本記事では調査結果の概要を紹介する。 調査ではまず、WebAssemblyを利用するアプリケーションを開発するときにどの言語を使用するか、または使用しようとしたことがあるかを聞いた。

                調査で分かった「一度書けばどこでも実行できる」WebAssemblyの魅力
              • 2023-08-10のJS: Lighthouse v11.0.0、Astro 2.10(View Transitions)、SharpのWebAssemblyビルド

                JSer.info #655 - Lighthouse v11.0.0がリリースされました。 Release v11.0.0 · GoogleChrome/lighthouse Node.js 16のサポート終了、デフォルトでは使われてなかったresource-summary/service-worker/first-contentful-paint-3gのAuditを削除などの変更が含まれます。 また、INPのAuditがStableへと移行されています。 Astro 2.10がリリースされました。 Astro 2.10: Persistent State in View Transitions | Astro Astro 2.9で実験的にサポートされたView Transitionsに加える形で、指定した要素を永続的にするtransition:persistディレクティブが追加されてい

                  2023-08-10のJS: Lighthouse v11.0.0、Astro 2.10(View Transitions)、SharpのWebAssemblyビルド
                • WebAssemblyコンポーネントモデルを調べる

                  Rustの相互運用ABI(interoperable_abi)の提案 について調べるはずが、いつのまにかWebAssembly Interface Types (WIT) について調べていたのでとりあえずまとめておきます。 2023/2/11現在Interface Typesの提案はWebAssembly component modelに統合されています。 WebAssemblyコンポーネントを使うとき このプロジェクトで目標としているユースケースにはサーバーレス等のいくつかの場合があがっていますが、今回はCPythonからwasmのコンポーネントを読み込んでその中にある実装を利用するケースを考えましょう。これはCPythonにとっては共有ライブラリを読み込んでその中の関数を呼び出しているのと似ています。これを実現するためにコンポーネントモデルはwasmのコア言語の上に インターフェース定

                    WebAssemblyコンポーネントモデルを調べる
                  • Build Zellij WebAssembly (Rust) Plugins for your Terminal

                    Build Zellij WebAssembly (Rust) Plugins for your Terminal 2023-06-27 :: Aram Drevekenin Wouldn’t it be cool to be able to develop terminal applets like UI components? Visual scripts to help you automate your workflow, shareable with others and written in Rust? The Zellij team has just overhauled our WebAssembly plugin system, and we’d like to invite plugin developers to build this with us. Want to

                      Build Zellij WebAssembly (Rust) Plugins for your Terminal
                    • GitHub - udzura/mrubyedge: Ruby on (Wasm)Edge - Zen and the Art of mruby for WASM

                      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 - udzura/mrubyedge: Ruby on (Wasm)Edge - Zen and the Art of mruby for WASM
                      • Wasmコンポーネントモデル、完成間近!WebAssemblyの最新動向についてchikoskiさんに聞いてきた!

                        こんにちは、テックフィード白石です。 日本のエンジニア界隈をリードするエキスパートに、テクノロジーの最前線を語っていただくYouTube動画連載「Ask the Expert」の新着動画が公開されました! 今回は、WebAssemblyのエキスパートchikoskiさんに、WebAssemblyの最新動向について詳しく伺ってきました。 chikoskiさんのアカウントをぜひフォローしましょう! chikoskiさん(Wasm Night運営) ついでに白石のもフォロー推奨: 聞き手: テックフィード白石 以下に掲載するのは、インタビュー動画の内容の要約です(正確な書き起こしではありません)。 内容をフルにご覧になりたい方は、ぜひ動画をご視聴ください。 (ご質問、ご感想などはYouTubeのコメント、もしくはこの記事のコメント欄でも受け付けております) Wasm コンポーネントモデルが固まり

                          Wasmコンポーネントモデル、完成間近!WebAssemblyの最新動向についてchikoskiさんに聞いてきた!
                        • Red HatがクローンOSベンダを非難/プログラミングのためのBGM/DockerコンテナイメージをWebAssemblyに変換など、2023年6月の人気記事

                          Red HatがクローンOSベンダを非難/プログラミングのためのBGM/DockerコンテナイメージをWebAssemblyに変換など、2023年6月の人気記事 MacBook Air 15インチが発表されてすぐに購入しました。たぶん10年ぶり4回目くらいのMacユーザーになります。 もうマシンは手元に届いているのですが、なかなか時間がとれずに移行作業ができてできません。7月中には、いまのThinkPadからMacへの移行を済ませたいなあと思っています。 さて、6月の人気記事を紹介していきましょう。 1位から3位 1位 Red HatがクローンOSベンダを非難、「付加価値もなくコードをリビルドするだけなら、それはオープンソースに対する脅威だ」と 2位 マイクロソフト、ChatGPTに任意のドキュメントを読み込ませて回答を得られる「Azure OpenAI Service On Your D

                            Red HatがクローンOSベンダを非難/プログラミングのためのBGM/DockerコンテナイメージをWebAssemblyに変換など、2023年6月の人気記事
                          • Extensible Language Support in Zed - Part 1 - Zed Blog

                            About two months ago, @maxdeviant and I began the project of making Zed extensible. In a code editor, extensibility can include many features that require many different capabilities, but for the first phase of the project, we have focused on extensible language support. We want people to be able to code in Zed in any programming language, not just a select few. We've just reached that first miles

                              Extensible Language Support in Zed - Part 1 - Zed Blog
                            • WebAssemblyランタイム「Wasmer 4.0」公開 コマンド強化でパッケージ管理やアプリケーション公開が容易に

                              Wasmerは2023年6月22日(米国時間)、オープンソースのWebAssemblyランタイムの最新版「Wasmer 4.0」をリリースしたと発表した。 WebAssembly(「Wasm」と略される場合もある)は、Webブラウザなどモダンな実行環境での効率的なコード実行とコンパクトなコード表現を実現する安全でポータブルな低レベルフォーマット。World Wide Web Consortium(W3C)がコア仕様をW3C勧告として公開している。Wasmerは、WebAssemblyをネイティブで実行できるようにするオープンソースのランタイムだ。 Wasmer 4.0をインストールするには以下のコマンドを実行する。

                                WebAssemblyランタイム「Wasmer 4.0」公開 コマンド強化でパッケージ管理やアプリケーション公開が容易に
                              • 自作WASMランタイムをKernelに改造する試み.pdf

                                2023/9/15 WebAssembly night #11の@RI5255 (https://twitter.com/RI5255) の発表資料です。 SeckHack365で取り組んでいるWASM Runtime x Microkernelという試み(https://github.com/RI5255/mavis) について紹介します。

                                  自作WASMランタイムをKernelに改造する試み.pdf
                                • Understanding Every Byte in a WASM Module

                                  In my last post, we explored how to build WASM modules, both with and without WASI support, using Clang. In a comment on Reddit, it was mentioned that much of the setup I walked through in that post could be avoided by just leveraging Zig’s WASI supprt. This is a great point, and I would recommend doing the same. The following command is inarguably simpler than what I described. However, there are

                                    Understanding Every Byte in a WASM Module
                                  • GitHub - streamdal/streamdal: Client-side observability using Wasm

                                    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.

                                      GitHub - streamdal/streamdal: Client-side observability using Wasm
                                    • GitHub - onyx-lang/onyx: A modern language for 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 - onyx-lang/onyx: A modern language for WebAssembly.
                                      • Pure Wasm Life 2: Optimizing Webassembly and Canvas

                                        Note: This post is part 2 of my Webassembly Game of Life series, if you haven't already you can read part 1 here. So when I posted my last Webassembly Game of Life post I had a few improvements I wanted to make to it. Some that I mentioned in that post (like bitpacking the board so it took less memory), and some that I mentioned to friends who read it (like switching from Canvas2D to WebGL or WebG

                                        • モダンブラウザで動作するWebAssemblyベースのJVM「CheerpJ 3.0」が登場

                                          Leaning Technologiesは2024年2月1日(米国時間)、モダンブラウザで動作するWebAssemblyベースのJava仮想マシン(JVM)である「CheerpJ 3.0」の提供を開始したと発表した。 CheerpJ 3.0は、Java 8との幅広い互換性を持ち、Javaアプリケーション、アプレット、ライブラリ、Java Web Start/JNLPアプリケーションを、プラグインなしでブラウザで実行するためのランタイム環境を提供する。 JavaバイトコードをJavaScriptに変換するJIT(Just-In-Time)コンパイラと、OpenJDKに基づくJava SE 8(Java Platform, Standard Edition 8)ランタイムという2つのコンポーネントの組み合わせで、いずれもC++で書かれており、Cheerpを使ってWebAssemblyとJava

                                            モダンブラウザで動作するWebAssemblyベースのJVM「CheerpJ 3.0」が登場
                                          • Introducing Enhance WASM — Begin Blog

                                            Backend agnostic server-side rendering (SSR) for Web Components Web Components are the browser native way to extend HTML. But as a primarily browser based technology they are defined with JavaScript which limits them to either rendering solely client side — which has janky performance, poor SEO, and is not optimally accessible — or within a server-side JavaScript runtime, which isn’t always an opt

                                            • GitHub - eliot-akira/waxolotl: A small language that compiles to WebAssembly Text format

                                              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 - eliot-akira/waxolotl: A small language that compiles to WebAssembly Text format
                                              • WebAssembly: An Updated Roadmap for Developers

                                                The WebAssembly (Wasm) ecosystem is transforming. Developers can look forward to a modular, virtualizable, and robust environment for building applications, libraries, and services. We are excited to be working towards this with implementations for WASI-Preview 2. This roadmap reflects changes occurring in standards within the WebAssembly Community Group (CG) and the WASI Subgroup within the W3C.

                                                  WebAssembly: An Updated Roadmap for Developers
                                                • 2023年のWebAssembly と Bytecode Alliance

                                                  TL;DR Bytecode Alliance が毎月配信しているコミュニティミーティングを見て内容のサマリーや関係することについてまとめています。 参照したコミュニティミーティングは、1 月 31 日に実施されたものです。 2023 年に Bytecode Alliance が見据えている次のような WebAssembly の仕様動向について語られています。 ✅ WASI Preview 2 ✅ コンポーネント レジストリ Bytecode Alliance Foundation Bytecode Alliance Foundation は、WebAssembly の仕様の標準化を推進する団体です。 WebAssembly (Wasm) や **WebAssembly System Interface (WASI)**など、W3C 標準に基づくソフトウェア基盤の実装に取り​​組んでいる非

                                                    2023年のWebAssembly と Bytecode Alliance
                                                  • Hello, world! with Wasm Component(ライブラリー編)

                                                    前回までのあらすじ: cargo-componentを使ってWebAssemblyコンポーネント(Wasmコンポーネント)を作りました Wasmtimeで実行しました wasm-toolsを使って作成したコンポーネントのワールドを出力しました 今回の内容: WebAssembly Interface Type(WIT)を使ってWasmコンポーネントのインターフェースを定義します wit-bindgenの力を借りつつ、インターフェースをRustで実装します 実装したWasmコンポーネントをコンポーネントレジストリーに登録します。 用意するもの Rustのツールチェーン cargo-component Wasmtime wasm-tools 前回作成したhello-wasm-cliプロジェクト hello-wasm-cliプロジェクトは次のようなフォルダー構成をしています: . ├── Car

                                                      Hello, world! with Wasm Component(ライブラリー編)
                                                    • Wasm入門(仕様編) - VA Linux エンジニアブログ

                                                      はじめに Wasmの特徴 仮想マシン実行環境 スタック 関数 グローバル変数 メモリ テーブル 命令セット データ型 数値演算 ベクトル演算 変数、メモリ、テーブルアクセス 制御フロー ランタイムとのインタフェース バイナリフォーマット タイプ インポート 関数 テーブル メモリ グローバル エクスポート スタート エレメント データ 終わりに 執筆者 : 小田 逸郎 はじめに WebAssembly(以下、Wasm)というものが世間で話題となっているようです。 元々、Webブラウザで実行されるバイトコードであるという程度の認識で、Java みたいなものか(?)くらいの感想しかなく、あまり関心はなかったのでした。 しかしながら、最近、Kubernetesでコンテナの代わりにWasmアプリケーション を扱えるような記述を見かけるに至り、「は?(なんじゃそりゃ)」と、 にわかに関心が出てきたの

                                                        Wasm入門(仕様編) - VA Linux エンジニアブログ
                                                      • Directly compiling Scheme to WebAssembly: lambdas, recursion, iteration! -- Spritely Institute

                                                        It's been just over three months since we announced the Guile on WebAssembly project (codenamed Hoot). Since then we've brought on two fantastic hackers to develop the project and progress has been quick. We now are at the point where we have things to show: we can now compile various Scheme procedures directly to WebAssembly. Let's clarify that: by compiling directly to WebAssembly, we mean they

                                                          Directly compiling Scheme to WebAssembly: lambdas, recursion, iteration! -- Spritely Institute
                                                        • Onyx言語でHTTPサーバーを実装し、Wasmer Edgeにデプロイする|Wasmer|開発ブログ|株式会社Nextat(ネクスタット)

                                                          こんにちは、ナカエです。 先週末は少し暖かかったかと思えばまた寒くなりましたね。 本日の記事はWasmer Edgeというエッジにアプリケーションをデプロイできるサービスと新しいプログラミング言語である Onyx を合わせて試したという内容です。 まずはそれぞれの簡単な紹介から入ります。 Wasmer Edgeとは Wasmer Edge はエッジロケーションにWebAssemblyのランタイムを展開し、Wasmバイナリをアプリケーションとして安価にスケーラブルに動かせると謳うサービスです。米Wasmer社が提供しています。 個人的にはブラウザ側だけでなくサーバー側であるエッジでまでJavaScript/TypeScriptという選択肢だけになるのはちょっと……という気持ちがあり、エッジでのWasmの実行についても興味を寄せています。 ユーザーに近いロケーションでコンテナを動かす、というこ

                                                          • Kotlin/Wasmが生成するWasmGCコードを眺める

                                                            WebAssembly Advent Calendar 2023 と Swift/Kotlin愛好会 Advent Calendar 2023 21日目の記事です。 (枠が空いてそうだったのでKotlin愛好会の方のカレンダーにも登録してしまった) 以前 WasmGCで導入される型や命令のお勉強 という記事を書いてWasmGC primitivesを学んだので、次はKotlin/Wasmから生成されるWATファイルを眺めて Kotlinのhigh level constructsがWasmGCにどうマッピングされるのかを調べていく(お勉強の過程はこちら)。 Kotlin/Wasm から WAT を生成する kotlin-wasm-example/nodejs-example をいじくって出力を眺めていきます。執筆時のバージョンはKotlin 1.9.20。コンパイラに -Xwasm-gen

                                                              Kotlin/Wasmが生成するWasmGCコードを眺める
                                                            • GitHub - wasmerio/winterjs: Winter is coming... ❄️

                                                              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/winterjs: Winter is coming... ❄️
                                                              • Wasmtime and Cranelift in 2023

                                                                It’s that time of year: time to start winding down for the winter holiday season, time to reflect on the past year, and time to think about what we can accomplish together in 2024. The Wasmtime and Cranelift projects are no exception. This article recounts Wasmtime and Cranelift progress in 2023 and explores what we might do in 2024. Wasmtime is a standalone WebAssembly runtime. It is fast, secure

                                                                  Wasmtime and Cranelift in 2023
                                                                • Scheme in Scheme on Wasm in the browser -- Spritely Institute

                                                                  Hey, folks! Today we want to talk about the wonderful read-eval-print-loop (REPL). Thanks to WebAssembly (Wasm), it's becoming increasingly common for programming language websites to embed a REPL in which passersby can easily evaluate code and get a feel for the language without having to install anything on their computer. We'd like to do the same thing for our language of choice, Guile Scheme,

                                                                    Scheme in Scheme on Wasm in the browser -- Spritely Institute
                                                                  • Research Unix Sixth Edition (WASM)

                                                                    This web page runs a Go port of the Research Unix Sixth Edition kernel, running user-mode code in a simulated PDP11 CPU, all compiled to WebAssembly, executed in your browser. A few accounts are root, dmr, and ken. The password is the username. Have fun poking around. cd is spelled chdir. Erase is #, and line kill is @. As a convenience to 21st century users, typing backspace and ^U generate these

                                                                    • Introducing SpinKube and Fermyon Platform for Kubernetes

                                                                      Radu Matei & Mikkel Mørk Hegnhøj spin wasm kubernetes webassembly Today, we are proud to introduce SpinKube and the Fermyon Platform for Kubernetes. Both projects enable Kubernetes to get first-class support for running Spin WebAssembly (Wasm) applications. SpinKube allows you to run your applications far more efficiently and with higher density across any processing architecture in your Kubernete

                                                                        Introducing SpinKube and Fermyon Platform for Kubernetes
                                                                      • ggml.ai

                                                                        GGML - AI at the edge ggml is a tensor library for machine learning to enable large models and high performance on commodity hardware. It is used by llama.cpp and whisper.cpp Written in C 16-bit float support Integer quantization support (e.g. 4-bit, 5-bit, 8-bit) Automatic differentiation Built-in optimization algorithms (e.g. ADAM, L-BFGS) Optimized for Apple Silicon On x86 architectures utilize

                                                                        • ESP32 で WebAssembly Micro Runtime (WAMR) を動かす

                                                                          WebAssembly Advent Calendar 2023 11 日目の記事です…! WebAssembly Micro Runtime (WAMR) は C言語で実装された WebAssembly ランタイムのひとつで、Bytecode Alliance が開発しています。 https://github.com/bytecodealliance/wasm-micro-runtime WebAssembly Micro Runtime (WAMR) is a lightweight standalone WebAssembly (Wasm) runtime with small footprint, high performance and highly configurable features for applications cross from embedded, IoT,

                                                                            ESP32 で WebAssembly Micro Runtime (WAMR) を動かす
                                                                          • WebAssembly: A promising technology that is quietly being sabotaged

                                                                            WebAssembly is one of these things that sounds too good to be true and yet we are that close to have it reaches mainstream: what if we had an universal executable format that could run anywhere: from web browsers to embedded devices passing by cloud servers and on any CPU

                                                                              WebAssembly: A promising technology that is quietly being sabotaged
                                                                            • Reaction-Diffusion Explorer Tool

                                                                              Interactive web application for creating reaction-diffusion textures and patterns

                                                                                Reaction-Diffusion Explorer Tool
                                                                              • wasi-sdk,wit-bindgenとjcoでWebPに対応した画像diff wasm componentを作成する

                                                                                Visual Regression Test をサポートする reg-actions をリリースしたという記事のTODOとして挙げたのだが、reg-viz/reg-cliのwasm化とwebp対応を進めたいと思っていた。 今回はその第一歩として画像diffライブラリのwebp/wasm化対応と、その際に躓いた内容などを記載する。 TL;DR webpをサポートした画像diffライブラリをRustで書き、wit-bindgenとjcoでnode.js,denoから使用できるようにした webpのサポートにはlibwebpを使用した 当初はwasm32-unknown-emscriptenで進めていたがComponent化で問題が発生した wasi-sdkを利用し、wasm32-wasiにtargetを変えることでimportをwasi_snapshot_preview1に揃えることで上記を回

                                                                                  wasi-sdk,wit-bindgenとjcoでWebPに対応した画像diff wasm componentを作成する
                                                                                • Cranelift

                                                                                  A Bytecode Alliance project Cranelift is a fast, secure, relatively simple and innovative compiler backend. It takes an intermediate representation of a program generated by some frontend and compiles it to executable machine code. Cranelift is meant to be used as a library within an "embedder". It is in successful use by the Wasmtime WebAssembly virtual machine, for just-in-time (JIT) and ahead-o