Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Lawrence Lagerlof
    @llagerlof
    Hi guys. This is an amazing project.
    Is there some instructions on how to deploy it on web server?
    Alessandro Pignotti
    @alexp-sssup
    There are no specific instructions, but the only requirement is being able to use SharedArrayBuffer. You need https + cross origin isolation headers
    Lawrence Lagerlof
    @llagerlof
    Thank you.
    Maxim Tsoy
    @muodov
    just came here to say that I find this research very inspiring! I especially liked the neat idea of how you handle the filesystem, it's like docker for jamstack, pretty cool :D
    keep pushing the limits guys! 👍🏼
    Alessandro Pignotti
    @alexp-sssup
    @muodov Thanks, appreciated
    Maxim Tsoy
    @muodov
    @alexp-sssup oh, I see you guys are based in Amsterdam. We're running a meetup focused on the web platform here: https://webcore.group/. Would some of you guys be willing to give a talk on our next event (I hope it's gonna be offline)? Would be great to have a talk about wasm from a competent engineer ;)
    Alessandro Pignotti
    @alexp-sssup
    @muodov We can organize that, but we'd much rather have it in person when it's somewhat safer. Our previous experiences with presenting on-line were not great.
    Maxim Tsoy
    @muodov

    yeah, absolutely. In-person meetups is a much richer experience. I'm planning to host the next event somewhere in spring, hopefully they will allow offline events again.
    Usually we are looking for one talk about some web platform technology, and one talk oriented on web developers. Since you guys are so much into the wasm compilers, would be cool to hear some insights from your experience. Please feel free to reach out to me or just fill the form on our website 🙏🏻

    On a side note, it seems like there might be some interesting opportunities with my current employer Surfly. We're sort of also doing virtualization, but on the higher level (HTTP/JS sandbox): 1 and 2. We don't virtualize WASM modules yet, but it could be interesting to explore together ;)

    Vinicius Brito
    @vini-brito

    Hello! I am really digging this, as I really have an emphasis in my work environment to develop and run things on the browser and I find so many limitations. For example audio and video processing, image processing, compile apps from source, none of this can be properly done on the browser.
    So, well, as a web developer (JS and serverless Node), could I then compile a program from source in the browser using the debian vm product?
    I mean, can I input something to it from my normal JS browser environment, run things, like image processing, and then grab that output back into my normal JS browser flow?

    It would be great because even in serverless Node environments I cannot do all that would benefit from doing due to base OS restriction, memory restriction, timeout restriction etc.

    Alessandro Pignotti
    @alexp-sssup
    @vini-brito WebVM is based on CheerpX, which exposed an API (called simply run) that starts a process in the VM. In the case of WebVM this process is the bash shell, but it could be anything. Take a look at the page repo to better see how this is used in practice.
    Vinicius Brito
    @vini-brito

    Got it, I looked again in the code now looking for what you said, hmm, in the future if I get space for it, I will see if I can tinker with it and run other commands as well, for example to compile an app from source. It definitely requires some learning time (:

    Glad to know it can run virtually anything! Sounds super promising!

    Achim Schneider
    @achimcc
    Hello! I've a question regarding CheerpX: would it also be possible to compile Rust programs in the Browser with it?
    Alessandro Pignotti
    @alexp-sssup
    We have not tested the rust compiler ourselves, but it should be possible
    Achim Schneider
    @achimcc
    Is it possible for me to build my own webVM which comes with an installed Rust compiler and supports it?
    Alessandro Pignotti
    @alexp-sssup
    We currently do not support this scenario. In particular the disk storage backend is based on some non-standard configuration and we will need to improve that before supporting custom disk images
    We might consider releasing the raw configurations for the backend, but (again) we would not be able to offer any support
    Alessandro Pignotti
    @alexp-sssup
    In case you'd like such functionality for a commercial project, we are happy to discuss info@leaningtech.com
    hello-smile6
    @hello-smile6
    ping doesn't work, you could look at https://github.com/copy/v86 for ideas on how to implement ICMP packet sending.
    Alessandro Pignotti
    @alexp-sssup
    @hello-smile6 Networking (including TCP and UDP) cannot work out-of-the-box due to browser limitations. Please note that WebSockets are not sockets, the name is confusing for many people. We have some ideas on how to extend the level of support, but there is no obvious solution to the problem.
    hello-smile6
    @hello-smile6
    @alexp-sssup DID YOU EVEN LOOK AT HOW IT WORKS? IT LITERALLY SENDS ETHERNET PACKETS OVER A WEBSOCKET!
    That for webassembly will be awesome with cheerpx
    Alessandro Pignotti
    @alexp-sssup
    We do plan to support GUIs eventually, by running the whole XOrg server. We don't have a timeline currently though.
    1 reply
    hello-smile6
    @hello-smile6
    @alexp-sssup Could you share a demo with what you have currently?