Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webassembly module #10

Open
ksmoore17 opened this issue Feb 23, 2021 · 0 comments
Open

webassembly module #10

ksmoore17 opened this issue Feb 23, 2021 · 0 comments

Comments

@ksmoore17
Copy link
Collaborator

It would be good to have a webassembly module be part of this repository. In relation, the GitHub pages could have (alongside docs that are currently there) a simple interface for inserting a file, passing instructions, and cooking in browser (using this wasm).

To start, it could be as simple as taking a command line string like would be provided to a chef order like "sort; quantize -n 16;" and using the read_recipe method on CustomOrder to parse into a DishDescription.

All of the webassembly module would be in rust calling into python using pyo3; similar flow to the cli that will be implemented in rust (#9 first bullet).

I'm curious to see if web assembly in browser can handle cooking at least as well (memory/speed) as the 0.2.0 cli or if it will have to be done 50 frames at a time, for example, or if it's just totally chalked.

A next step would be to have a cli command that launches this wasm locally with a simple editor. Anything much further than that is beyond the scope of this repository (see https://github.com/pierogis/pierogis-live).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant