GithubHelp home page GithubHelp logo

[Feature Request] Move-compiler needs to support Callback/Interact function, which is convenient for platform expansion without FS. about move HOT 7 CLOSED

move-language avatar move-language commented on July 21, 2024
[Feature Request] Move-compiler needs to support Callback/Interact function, which is convenient for platform expansion without FS.

from move.

Comments (7)

awelc avatar awelc commented on July 21, 2024 3

@awelc this could be interesting when also looking at the way VS Code integration interacts with virtual files

Indeed! I think this is the first optimization I would like to focus on, particularly once I am done with current functionality extension for the language server.

What is the PR of this virtual file system, I want to learn about it?

I don't think there is one at this point. I can start looking at this as, again, I am interested in supporting this, but likely not until next week.

from move.

yubing744 avatar yubing744 commented on July 21, 2024 2

@awelc I wrote an example of how to compile a move module in the browser using wasmer-js, maybe this is the best solution.

from move.

tnowacki avatar tnowacki commented on July 21, 2024

@awelc this could be interesting when also looking at the way VS Code integration interacts with virtual files

FWIW having a better sort of different filesystem/virtual file system support would be a great boon to tests too (we wouldn't have to create temp files)

from move.

yubing744 avatar yubing744 commented on July 21, 2024

@tnowacki It would be great if virtual filesystems could be supported. What is the PR of this virtual file system, I want to learn about it?

from move.

yubing744 avatar yubing744 commented on July 21, 2024

@awelc this could be interesting when also looking at the way VS Code integration interacts with virtual files

Indeed! I think this is the first optimization I would like to focus on, particularly once I am done with current functionality extension for the language server.

What is the PR of this virtual file system, I want to learn about it?

I don't think there is one at this point. I can start looking at this as, again, I am interested in supporting this, but likely not until next week.

I found a new solution, using this wasmer-js library, and I'm verifying the feasibility.

from move.

awelc avatar awelc commented on July 21, 2024

from move.

yubing744 avatar yubing744 commented on July 21, 2024

@tnowacki @awelc I implemented a new library move-js based on wasmer-js, which can compile move code in the browser. Now it has been applied in Starcoin DApp tools.

from move.

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.