package js_of_ocaml-webgpu

  1. Overview
  2. Docs
Js_of_ocaml bindings for webgpu

Install

Dune Dependency

Authors

Maintainers

Sources

js_of_ocaml-webgpu-0.1.tbz
sha256=194d9b5aaa28d99a9549807dce68c2563497f2dd96e4e3801f4ad0f1ca9680bb
sha512=0e30ede2ce71c05bf06e10df91a50f1cf3ffc1660a5116b665cc1d98d80877c763dc9460c5854bf51e0f2bcb54d1285ecb5108d9e2d26af9caa281742efdae89

Description

Js_of_ocaml bindings for webgpu

Published: 30 Jul 2020

README

README.md

Contains two opam packages:

js_of_ocaml-webidl

A tool to generate js-of-ocaml bindings from WebIDL. Incomplete, but sufficient to translate the WebGPU standard, see js_of_ocaml-webgpu.

Includes a copy of the webidl package due to https://github.com/0zat/webidl/issues/3

js_of_ocaml-webgpu

Js_of_ocaml bindings for WebGPU (https://gpuweb.github.io/gpuweb/)

The example is the rewrite in ocaml of https://hello-webgpu-compute.glitch.me/hello-compute-chromium.html. As of June 2020 you need firefox-nightly with dom.webgpu.enabled=true to run the example. You'll also need to install Vulkan if running on Linux.

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.