並び順

ブックマーク数

期間指定

  • から
  • まで

241 - 280 件 / 469件

新着順 人気順

wasiの検索結果241 - 280 件 / 469件

  • World Wide Web Consortium (W3C) brings a new language to the Web as WebAssembly becomes a W3C Recommendation

    Following HTML, CSS and JavaScript, WebAssembly becomes the fourth language for the Web which allows code to run in the browser Read testimonials from W3C Members https://www.w3.org/ — 5 December 2019 — The World Wide Web Consortium (W3C) announced today that the WebAssembly Core Specification is now an official web standard, launching a powerful new language for the Web. WebAssembly is a safe, po

      World Wide Web Consortium (W3C) brings a new language to the Web as WebAssembly becomes a W3C Recommendation
    • Node.js — Node v14.2.0 (Current)

      Contributed by ConorDavenport - #31982. Console groupIndentation option The Console constructor (require('console').Console) now supports different group indentations. This is useful in case you want different grouping width than 2 spaces. const { Console } = require('console'); const customConsole = new Console({ stdout: process.stdout, stderr: process.stderr, groupIndentation: 10, }); customCons

        Node.js — Node v14.2.0 (Current)
      • WASIのフルスペルを「WebAssembly System Interface」から「WebAssembly Standard Interface」へ変更しようという提案は延期に

        WASIのフルスペルを「WebAssembly System Interface」から「WebAssembly Standard Interface」へ変更しようという提案は延期に WebAssemblyはもともとWebブラウザ上で高速に実行可能なバイナリフォーマットとして登場しました。高い実行性能やCPUアーキテクチャに依存しないポータビリティ、高度なセキュリティなどの利点を持ちます。 この優れた利点を持つWebAssemblyをWebブラウザ上だけではなく、サーバやデスクトップ環境でも実行可能にしようと2019年4月に登場したのがWASI(WebAssembly System Interface)と呼ばれる技術です。 参考:WebAssemblyをWebブラウザ以外の実行環境へ。システムインターフェイスへのアクセスを可能にする「WASI」の策定開始。Mozillaが呼びかけNode.j

          WASIのフルスペルを「WebAssembly System Interface」から「WebAssembly Standard Interface」へ変更しようという提案は延期に
        • 0.10.0 Release Notes ⚡ The Zig Programming Language

          Tier 4 Support § Support for these targets is entirely experimental. If this target is provided by LLVM, LLVM may have the target as an experimental target, which means that you need to use Zig-provided binaries for the target to be available, or build LLVM from source with special configure flags. zig targets will display the target if it is available. This target may be considered deprecated by

          • Deno標準モジュール解説[後編] ~モジュール解説(FS~Wasi)と、Deno標準モジュールの今後の展望 | gihyo.jp

            Deno標準モジュール解説[後編] ~モジュール解説(FS~Wasi)と、Deno標準モジュールの今後の展望 Deno標準モジュールを、前編と後編の2回に分けて解説します。本記事は後編です(前編はこちら⁠)⁠。 モジュール解説 前編に続き、以下ではDeno標準モジュールの中の各モジュールについて解説していきます。 11. FS FSではファイル操作用のユーティリティが実装されています。具体的には以下のような機能が提供されています。 copy:ファイルもしくはディレクトリをコピーする detect:ファイルの内容を受け取ってファイルの改行形式を判定する emptyDir:ディレクトリを空にする(ディレクトリ自体は消されない) ensureDir:ディレクトリがなければ作成する ensureFile:ファイルがなければ作成する ensureLink:ハードリンクがなければ作成する ensure

              Deno標準モジュール解説[後編] ~モジュール解説(FS~Wasi)と、Deno標準モジュールの今後の展望 | gihyo.jp
            • Ruby 3.2.0 RC 1 リリース

              Posted by naruse on 6 Dec 2022 Ruby 3.2.0 Release Candidate 1 が公開されました。Ruby 3.2では多くの機能を追加しています。 WASIベースのWebAssemblyサポート WASIベースのWebAssemblyへのコンパイルがサポートされました。これにより、ブラウザやサーバーレスエッジ環境、その他のWebAssembly/WASI環境でCRubyのバイナリが利用できるようになります。現在この移植版はThread API以外のbasic testとbootstrap testをパスしています。 Background もともとWebAssembly (Wasm)が導入されたのは、プログラムをブラウザの上で安全かつ高速に実行するためでした。しかし、様々な環境で安全かつ効率的にプログラムを実行するという目的は、Webだけでなく一般

              • Wasmtime

                It looks like you’re running macOS or Linux. To download and install Wasmtime, run the following in your terminal, then follow the on-screen instructions. curl https://wasmtime.dev/install.sh -sSf | bash You can also download binaries directly from the GitHub Releases page. It looks like you’re running Windows. To install Wasmtime, download and run the following, and then follow the onscreen instr

                • The State of WebAssembly 2022

                  The State of WebAssembly 2022 survey has closed, the results are in … and they are fascinating! WebAssembly has gone through quite a transformation this last year, while the wasm language landscape is slowly shifting, the more notable change is in what people are using WebAssembly for. The use of wasm for serverless, containerisation and as a plug-in technology has leapt considerably, with WebAsse

                    The State of WebAssembly 2022
                  • JavaScriptとWeb開発 InfoQ トレンドレポート 2020

                    Web Development 2018 Q4 Graph JavaScriptとWebエコシステムがどれほど成長したかを考えると、1つのグラフにすべての領域を表示することはもはや現実的ではありません。その結果、分析を11の主要分野に分割しました。 Web開発 言語 / 標準 / パターン Web開発 クライアントサイドフレームワーク / ライブラリ Webエンジニアのためのサーバサイドプラットフォーム / フレームワーク / データ / API Webエンジニアのためのクラウド パッケージ管理 / バンドル / 最適化 Web開発のテストと自動化 Webエンジニアのためのモバイル / デスクトップ環境とフレームワーク WebエンジニアのためのIoT / ブロックチェーン / 機械学習 WebエンジニアのためのVisualization / XR CSS Web開発 コードエディタとIDE

                      JavaScriptとWeb開発 InfoQ トレンドレポート 2020
                    • GitHub - stealthrocket/net: Go package implementing WASI socket extensions

                      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 - stealthrocket/net: Go package implementing WASI socket extensions
                      • Node.js — Node v18.8.0 (Current)

                        To restore application state from snapshot.blob, with index.js as the entry point script for the deserialized application: Contributed by Joyee Cheung in #38905 Other notable changes crypto: (SEMVER-MINOR) allow zero-length IKM in HKDF and in webcrypto PBKDF2 (Filip Skokan) #44201 (SEMVER-MINOR) allow zero-length secret KeyObject (Filip Skokan) #44201 deps: upgrade npm to 8.18.0 (npm team) #44263

                          Node.js — Node v18.8.0 (Current)
                        • Understanding TypeScript's Popularity

                          Understanding TypeScript's PopularityTypeScript is an overwhelmingly popular extension to the JavaScript programming language, which focuses on adding a type layer on top of existing JavaScript syntax which can be erased without runtime changes to the original JavaScript. People think of TypeScript as "just the compiler", but it's a better mental model to think of TypeScript as two separate entiti

                            Understanding TypeScript's Popularity
                          • An mruby for WebAssembly

                            Previous slideNext slideToggle fullscreenOpen presenter view An mruby for WebAssembly Presentation by Uchio Kondo self.introduce! Uchio Kondo from Fukuoka.rb Infra Engineer @ Mirrativ, Inc. livestreaming & "live" gaming Translator of "Learning eBPF" Ruby and WebAssembly Code sample background rule: Ruby.has :red, :background (window.JavaScript || TypeScript).then("yellow"); Rust::<BackGround>::pur

                              An mruby for WebAssembly
                            • 汎用プラグインとしての WASM (WebAssembly) の可能性の模索 with LuaJIT 対決

                              ロングもみあげガール推進部 @kb10uy そもそもどうしてこんなことをやろうと思ったかというと、割と前から ShortStoryServer の Playground では WASM が利用されていて、Web 以外でも用途が広がるんじゃないかと思ったからでして 2020-11-14 13:04:06 ロングもみあげガール推進部 @kb10uy で、調べて初めて知ったんですけどそういう目的で使うために WASI (WebAssembly System Interface) ってのがあるんですね。まあ今回は WASI はあんまり関係なくて、どちらかというとそのランタイムであるところの wasmtime を見つけたことのほうがでかい 2020-11-14 13:05:44

                                汎用プラグインとしての WASM (WebAssembly) の可能性の模索 with LuaJIT 対決
                              • GitHub - saghul/wasi-lab: Some WASI experiments 🧪☣️☠️

                                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 - saghul/wasi-lab: Some WASI experiments 🧪☣️☠️
                                • #jsconfjp 2019 で Migration from React Native to PWA という発表をした - valid,invalid

                                  JSConf2019 記念すべき第一回の*1のJSConf Japanで『Migration from React Native to PWA』というタイトルの発表をしてきた。 登壇に関して 資料 発表では触れなかった余談は泣く泣く削ったトピックなので参照されると嬉しい。 今回は発表資料を作ったり練習する中で気をつけたことがあり、それは「負債や失敗といった否定的で強い言葉を使わない」ということだった。資料中でも発表でもReact Native単体での技術の良し悪しは述べていないし、2年前のReact Nativeを選んだという技術選定自体にも肯定的な態度をとっている。 当時の技術選定に携わりReact Nativeアプリの土台を作ってくれた開発者がいなければ今のビジネスも存在しない。彼/彼女らへの感謝の念は尽きないということ、運用中途での状況の変化によってチームに合わなくなったのでmigr

                                    #jsconfjp 2019 で Migration from React Native to PWA という発表をした - valid,invalid
                                  • WasmバイナリをrunwasiとPodman/crun/WasmEdgeから実行してみた | DevelopersIO

                                    DockerやKubernetesで利用されているコンテナランタイム containerd からは、shim を通じてruncやAWS Fargateで利用されているFirecrackerなど様々なコンテナ実行方法をサポートします。 数年前にDocker社のプレスリリースで話題になったのように、WebAssembly(Wasm)アプリも実行することができ、Wasm向けshimから runwasi を呼び出すほか、runc 向け shimから Wasm対応した crun を 呼び出す事もできます。 ※ 図はIntroducing the Docker+Wasm Technical Preview | Docker から 本記事では、両ケースに対応する containerd をインストールしたあと、runwasi 方式とPodman&crun のそれぞれで実行します。 検証環境 Ubuntu

                                      WasmバイナリをrunwasiとPodman/crun/WasmEdgeから実行してみた | DevelopersIO
                                    • Experimenting with WebAssembly in a Serverless context

                                      IntroductionWebAssembly (WASM) is a binary instruction format for a stack-based virtual machine. Though initially designed for the web browser [see 1], it can be used in applications outside the web. One particular use case which is of interest to us is the use of wasm in a serverless context, the advantage of this being is the ability of WASM to support different languages and compile down to a l

                                        Experimenting with WebAssembly in a Serverless context
                                      • 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

                                        • Introducing the new Wasmer JS SDK · Blog · Wasmer

                                          Back to articlesIntroducing the new Wasmer JS SDKToday we are incredibly excited to present `@wasmer/sdk`, a new library that allows running WASI(X) applications easily on the browser Dive into a world where running any WASI and WASIX package in your browser is a breeze. Whether it's Python, Bash, FFmpeg, or any package published in the registry, Wasmer Javascript SDK makes it all seamlessly possi

                                            Introducing the new Wasmer JS SDK · Blog · Wasmer
                                          • Node.js — Node v13.3.0 (Current)

                                            Notable Changes fs: Reworked experimental recursive rmdir() (cjihrig) #30644 The maxBusyTries option is renamed to maxRetries, and its default is set to 0. The emfileWait option has been removed, and EMFILE errors use the same retry logic as other errors. The retryDelay option is now supported. ENFILE errors are now retried. http: Make maximum header size configurable per-stream or per-server (Ann

                                              Node.js — Node v13.3.0 (Current)
                                            • 2020-02-18のJS: Firefox 73、Node.js 12.16.0(13.xからのバックポート)

                                              JSer.info #475 - Firefox 73がリリースされました。 Firefox 73 is upon us - Mozilla Hacks - the Web developer blog Firefox 73.0, See All New Features, Updates and Fixes Firefox 73 for developers - Mozilla | MDN Firefox 73 Site Compatibility | Firefox Site Compatibility Formのvalidationを行ってからsubmitするHTMLFormElement.requestSubmit()をフラグ付きでサポート、CSSのoverscroll-behavior-blockとoverscroll-behavior-inlineをサポート。 開発者ツールのコ

                                                2020-02-18のJS: Firefox 73、Node.js 12.16.0(13.xからのバックポート)
                                              • A practical guide to WebAssembly memory

                                                WebAssembly memoryPassing arrays to Rust WebAssembly modulesdealloc or free, and a basic way of checking for memory leaksPassing arrays to AssemblyScript modulesPassing arrays to modules using WasmtimeExchanging strings between modules and runtimesMemory in WebAssembly is one of the topics that creates confusion for newcomers, particularly for those with experience in languages with memory managem

                                                  A practical guide to WebAssembly memory
                                                • Microsoft、「VS Code for the Web」でPythonコードやWebシェルを実行できる拡張機能をプレビュー公開

                                                  Microsoft、「VS Code for the Web」でPythonコードやWebシェルを実行できる拡張機能をプレビュー公開:WebAssembly、WASIでインタープリタを実装 Microsoftは、Pythonコードを「VS Code for the Web」で実行できるようにする拡張機能と、Webシェル実行を可能にする拡張機能をプレビュー公開した。 Microsoftは2023年6月5日、C/C++で書かれたPythonインタープリタを使い、Pythonコードを「WebAssembly」(以下、Wasm)にコンパイルして「VS Code for the Web」で実行できるようにする拡張機能と、Webシェル実行を可能にする拡張機能をプレビュー公開した。 Pythonコード実行拡張機能 Visual Studio Code(以下、VS Code)を、ローカルにインストールせず

                                                    Microsoft、「VS Code for the Web」でPythonコードやWebシェルを実行できる拡張機能をプレビュー公開
                                                  • 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の更なる促進に期待
                                                    • 便利そうな Rust の crate メモ - Qiita

                                                      逐次編集 開発ツール tier 1 よく使うもの https://github.com/dtolnay/cargo-expand - マクロを展開して確認 https://github.com/rust-lang/rustfmt - コードフォーマッタ https://github.com/rust-lang/rust-clippytest - linter https://github.com/rust-lang/rustfix - コード書き換え https://github.com/passcod/cargo-watch - file watcher https://github.com/kbknapp/cargo-outdated - 古い依存の確認 https://github.com/RustSec/cargo-audit - 脆弱性の確認 https://github.com

                                                        便利そうな Rust の crate メモ - Qiita
                                                      • Home

                                                        Welcome! SpiderMonkey is Mozilla’s JavaScript and WebAssembly Engine, used in Firefox, Servo and various other projects. It is written in C++, Rust and JavaScript. You can embed it into C++ and Rust projects, and it can be run as a stand-alone shell. It can also be compiled to WASI; see our online demo. What's New Read more in the SpiderMonkey Blog SpiderMonkey Internals Understanding the engine O

                                                          Home
                                                        • WASI resources.md

                                                          WASI resources.md WebAssembly System Interface (WASI) Project site Quick introduction High-level goals Initial announcement Tutorial: explaining how to compile C/Rust code into WASI WASIの話 Specfication Principles: security & portability WASI Core API WASI Application ABI WASI ranonale (Possible) applications Edge computing : Terrarium from Fastly Secure & portable FFI / native module runtime: wasm

                                                            WASI resources.md
                                                          • Announcing Rust 1.66.0 | Rust Blog

                                                            The Rust team is happy to announce a new version of Rust, 1.66.0. Rust is a programming language empowering everyone to build reliable and efficient software. If you have a previous version of Rust installed via rustup, you can get 1.66.0 with: $ rustup update stable If you don't have it already, you can get rustup from the appropriate page on our website, and check out the detailed release notes

                                                              Announcing Rust 1.66.0 | Rust Blog
                                                            • WASMコンテナはこれまでのコンテナを置き換えるのか - エニグモ開発者ブログ

                                                              こんにちは、22新卒で入社したエンジニアのhashinoです。 この記事は Enigmo Advent Calendar 2022 の9日目の記事です。 背景 皆さん、普段コンテナを利用していますか? エニグモでは、Kubernetesを活用していて、開発環境でもDockerを活用しています。 しかし、最近はWebAssemblyがコンテナを完全に置き換えるかもしれないという噂も耳にします。 既にKubernetesでは、kubelet API互換のKrustletが注目を集めています。kubeletは、ご存知の通りOCI準拠のコンテナを実行しますが、Krustletは、WebAssembly System InterfaceランタイムのWebAssemblyを実行するものです。Kubernetes上でPodの代わりにWebAssemblyを動作させることが可能になっています。 また、Fe

                                                                WASMコンテナはこれまでのコンテナを置き換えるのか - エニグモ開発者ブログ
                                                              • Node.jsでつくるNode.js-WASMコンパイラ - もくじ - Qiita

                                                                はじめに 「RubyでつくるRuby ゼロから学びなおすプログラミング言語入門」(ラムダノート, Amazon) という本に感銘を受けて、自分でもNode.jsで小さなプログラミング言語を作ってみるシリーズをやってみました。「ミニインタープリター」「ミニコンパイラー」ときて、三部作(?)の最後はミニNode.jsからWASMを生成する小さなコンパイラーに取り組んでいます。 前提環境 今回は私の環境である macOS 10.14 Mojave を前提にしています。また Node.js v10.13 で動作を確認しています。 Node.js-WASM コンパイラー目次 WASM コンパイラー - 01:WASMで定数戻り値を返す ... シンプルに整数値を返す実装と、WASMをNode.jsから実行 WASM コンパイラー - 02:四則演算を実装する ... 四則演算と、余りを実装 WASM

                                                                  Node.jsでつくるNode.js-WASMコンパイラ - もくじ - Qiita
                                                                • Multi-Value All The Wasm! – Mozilla Hacks - the Web developer blog

                                                                  This article is cross-posted on the Bytecode Alliance web site. Multi-value is a proposed extension to core WebAssembly that enables functions to return many values, among other things. It is also a pre-requisite for Wasm interface types. I’ve been adding multi-value support all over the place recently: I added multi-value support to all the various crates in the Rust and WebAssembly toolchain, so

                                                                  • eBPFとWASMに思いを馳せる2022 ~TechFeed Conference 2022講演より | gihyo.jp

                                                                    本記事は、2022年5月に開催されたTechFeed Conference 2022のセッション書き起こし記事「eBPFとWASMに思いを馳せる2022(Masaya Aoyama⁠)⁠ — TechFeed Conference 2022講演より」を転載したものです。オリジナルはTechFeedをご覧ください。 本日は「eBPFとWASMに思いを馳せる2022」というテーマで、CyberAgentの青山が発表させていただきます。 ふだんはKubernetes基盤のプロダクトオーナーとして勤めるほか、いくつかの会社で技術顧問やカンファレンスのCo-chairなどを務めています。また著書としては『Kubernetes 完全ガイド』(⁠インプレス)があります。 本日は、WASMとeBPF関連のプロダクトの紹介を行っていきたいと思います。 WASMのおさらい WASMのおさらいですが、WASMで

                                                                      eBPFとWASMに思いを馳せる2022 ~TechFeed Conference 2022講演より | gihyo.jp
                                                                    • Announcing WCGI: WebAssembly + CGI · Blog · Wasmer

                                                                      Back to articlesAnnouncing WCGI: WebAssembly + CGIWCGI - Revolutionizing Server Development with WebAssembly and CGI Welcome to the future of server-side development with WebAssembly! Today we are introducing WCGI, a technology that marries the power of WebAssembly with the versatility and simplicity of CGI. Here are some of WCGI's highlights: You can reuse your existing CGI applications by compil

                                                                        Announcing WCGI: WebAssembly + CGI · Blog · Wasmer
                                                                      • Node.js — Node v22.3.0 (Current)

                                                                        2024-06-11, Version 22.3.0 (Current), @RafaelGSS Notable Changes [5a41bcf9ca] - (SEMVER-MINOR) src: traverse parent folders while running --run (Yagiz Nizipli) #53154 [1d5934524b] - (SEMVER-MINOR) buffer: add .bytes() method to Blob (Matthew Aitken) #53221 [75e5612fae] - (SEMVER-MINOR) src,permission: --allow-wasi & prevent WASI exec (Rafael Gonzaga) #53124 [b5c30e2f5e] - (SEMVER-MINOR) module: pr

                                                                          Node.js — Node v22.3.0 (Current)
                                                                        • mod_wasm: run WebAssembly with Apache

                                                                          Apache httpd is a modular web server that powers 31% of all websites you access every day. One of its most compelling features is the ability to extend it with new modules. Developers can choose among different modules to add or remove features like CGI, TLS, PHP, and many others. Today, we announce a new Apache module to run WebAssembly modules: mod_wasm. This module opens a new set of possibilit

                                                                            mod_wasm: run WebAssembly with Apache
                                                                          • Ruby 3.2.0 Preview 1 リリース

                                                                            Posted by naruse on 3 Apr 2022 Ruby 3.2系最初のプレビューリリースである、Ruby 3.2.0 Preview 1 が公開されました。Ruby 3.2では多くの機能を追加しています。 WASIベースのWebAssemblyサポート WASIベースのWebAssemblyへのコンパイルがサポートされました。これにより、ブラウザやサーバーレスエッジ環境、その他のWebAssembly/WASI環境でCRubyのバイナリが利用できるようになります。現在この移植版はThread API以外のbasic testとbootstrap testをパスしています。 Background もともとWebAssembly (Wasm)が導入されたのは、プログラムをブラウザの上で安全かつ高速に実行するためでした。しかし、様々な環境で安全かつ効率的にプログラムを実行するとい

                                                                            • Vim Online Editor - Vim Editor In Browser

                                                                              Vim Online Editor (beta) Hey! This is still in beta, which means LOTS of exciting new features are being developed! And yes, it's OPEN SOURCED! You can check it out on Github: programmerhat/vim-online-editor Got a feature request? I'd love to hear it! I'm on Twitter @programmerhat. I will occasionally do product decisions via polling on Twitter! You can also send an email to hello@programmerhat.co

                                                                              • C/C++でWebAssembly――「Emscripten」を体験する

                                                                                C/C++とWebAssembly 連載第2回ではAssemblyScriptによるTypeScript言語、連載第3回ではBlazor WebAssemblyによるC#言語、それぞれの開発事例を紹介しました。スクリプト言語であるTypeScriptでの取り回しの容易さ、フレームワークBlazorによる充実した機能の利用のしやすさをお伝えできたのではないかと思います。 今回は、スクリプト言語やフレームワークはいったん脇に置き、WebAssembly開発の本命の一翼とされるC/C++による開発を紹介します。これには、C/C++においては最も一般的とされる、Emscriptenというコンパイル環境を利用します。Emscriptenによる開発では、標準ライブラリを含めたC/C++の言語仕様を十分に生かしたWebAssemblyプログラムが作成可能です。 C/C++はネイティブコードをターゲットに

                                                                                  C/C++でWebAssembly――「Emscripten」を体験する
                                                                                • ruby.wasmでrequire_relativeを使えるようにしたい - Qiita

                                                                                  背景 ruby.wasmというRubyのランタイムをWebAsssemblyにコンパイルした実行環境があります。 これを使うとブラウザでRubyスクリプトを実行出来ます。 実際にいくつかのアプリケーションが作られ、次のページで公開されています。 具体的にブラウザでRubyスクリプトを動かすには、たとえば、次のようにscriptタグにインラインでRubyスクリプトを記述します。 <html> <script src="https://cdn.jsdelivr.net/npm/ruby-head-wasm-wasi@0.5.0/dist/browser.script.iife.js"></script> <script type="text/ruby"> puts "Hello, world!" </script> </html>

                                                                                    ruby.wasmでrequire_relativeを使えるようにしたい - Qiita