Giter Club home page Giter Club logo

Comments (3)

calebwin avatar calebwin commented on May 23, 2024

I'm working on documentation, tests, examples, a Crates.io release, and yes eventually benchmarks.

But I will say that - Emu is a transparent (not opaque) abstraction over WebGPU. This means that you can always convert between Emu data structures and the underlying WebGPU data structures at zero cost. This is also how Emu enables zero-copy interop between compute and graphics.

from emu.

jon-chuang avatar jon-chuang commented on May 23, 2024

I see. Is there a roadmap/plan for now? If it is as you say, I may be interested in using for a project.

However, what is the planned interoperability with wasm/wgpu for the web?

From what I understand, one now needs to write kernels in glsl? Is there a plan to get rid of this necessity with something like rlsl?

from emu.

calebwin avatar calebwin commented on May 23, 2024

Is there a roadmap/plan for now

I'm hoping to finish some of this (meaning documentation, tests, examples, etc.) by end of weekend (can't promise on actually making complicated benchmarks to compare to WebGPU since I'm not a WebGPU expert) and a Crates.io release as soon as wgpu-rs gets its next release (currently Emu just uses the latest git dependency).

what is the planned interoperability with wasm/wgpu for the web?

I am planning to support WASM compilation and I imagine once support lands in wgpu-rs (which should be soon, they already have working demos on Firefox Nightly) there shouldn't be much to change in Emu.

one now needs to write kernels in glsl? Is there a plan to get rid of this necessity with something like rlsl?

Not really. You need to write kernels in SPIR-V and there is high-level functionality that lets you more easily write stuff using GLSL since that's the most popular compile-to-SPIR-V language out there. Unfortunately, RLSL seems to be mostly dead right now. I was thinking about trying to create some sort of low-level language that compiles to SPIR-V but honestly I don't think GLSL is that bad of an option for now.

from emu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.