Git Product home page Git Product logo

Comments (5)

Guyutongxue avatar Guyutongxue commented on July 28, 2024 1

Seems that you need to create the directory /workspace inside the Emscripten FS before writing files. The API might be FS.mkdir, you can find more info here.

By the way, I'm using /home/web_user as the workspace folder and I need not to create it manually -- Emscripten created it already by default.

from clangd-in-browser.

Mw3y avatar Mw3y commented on July 28, 2024

Works like a charm! Thank you!

I didn't understand why it worked in your case 🤦🏻. I'll document myself on Emscripten!

Once again, thank you very much. Have a nice day!

from clangd-in-browser.

Mw3y avatar Mw3y commented on July 28, 2024

Just wanted to ask another question: I'm trying to compile a java language server into wasm (it's a similar project to yours).
Do you know where I could start from/some good resources?

from clangd-in-browser.

Guyutongxue avatar Guyutongxue commented on July 28, 2024

Just wanted to ask another question: I'm trying to compile a java language server into wasm (it's a similar project to yours).

Do you know where I could start from/some good resources?

Hmm... I've found that many Java language servers were written in Java (listed here). So you need to found a proper way to "convert from Java to WASM". StackOverflow suggests that teavm is a tool for transpiling Java bytecodes to WASM; you can have a try on that to compile a Java language Server into WebAssembly.

from clangd-in-browser.

Mw3y avatar Mw3y commented on July 28, 2024

Thanks! Have a nice day!

from clangd-in-browser.

Related Issues (3)

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.