Code Monkey home page Code Monkey logo

Comments (3)

ktock avatar ktock commented on August 26, 2024

@taylorh140

the plugin

Could you elaborate this? You mean the plugin running on the container?
We already use that for WASI image for pre-booting the VM. However, configuring the network interface and starting runc aren't included in the initialization phase so they are done everytime you start the container on the runtime. Maybe we can move more logic to the initialization phase so that they are pre-initialized by wizer.

from container2wasm.

taylorh140 avatar taylorh140 commented on August 26, 2024

I didn't know that happened. I assumed it was a virtual reboot every time.

the demo says:
"It can take some time to load and start the container."

It made me assume that it didn't have this step as I would consider that loading up into the run state.

I'm now thinking most of the time is just downloading the wasm file, and initializing memory. (This is very cool)

I'll go ahead and close this issue with this in mind.

I was looking into the feasibility of getting Mermaid.js compiled to a single wasm file for a plugin but it has too many dependencies on the browser. So this looks like a fun workaround. In my case, it would have no access to any WASI stuff. it would just be a string feed into the wasm file and I would expect an SVG out. (a lot of work for that right?).

So yeah it wouldn't need to configure any network unless I wanted to feed data in and out through that. (it would probably be pretty quick for a local file).

from container2wasm.

taylorh140 avatar taylorh140 commented on August 26, 2024

forgot to close :)

from container2wasm.

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.