GithubHelp home page GithubHelp logo

Comments (6)

skirodev avatar skirodev commented on June 20, 2024 1

The problem is that the working of the WasmEdge Rust SDK depends on the installation of WasmEdge, and it's not practical to install the WasmEdge on every user's computer because its install script keeps failing due to some weird network issues.

Is it feasible that I want to migrate the the async networking API implementation of WasmEdge to wasmer?

from wasmedge-quickjs.

juntao avatar juntao commented on June 20, 2024

The wasmedge_quickjs runtime depends on the async networking API provided by WasmEdge. It would not work on other Wasm implementations.

Can you use the WasmEdge Rust SDK to embed it? It is quite similar to Rust SDKs provided by the other two runtimes. Thanks.

from wasmedge-quickjs.

juntao avatar juntao commented on June 20, 2024

Hmm, what are the networking issues you are encountering? I think our installer files are hosted on GitHub. But we can also mirror it somewhere else.

You are welcome to port the wasmedge socket impl to wasmer or wasmtime, but it is likely to be a big task since those are written in different languages.

from wasmedge-quickjs.

skirodev avatar skirodev commented on June 20, 2024

Running command with VPN:

skiro@MacBook-Pro ~ % sudo curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install.sh | bash -s -- -p /usr/local
Password: ********
Using Python: /usr/local/bin/python3
curl: (56) LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 60

Running command without VPN:

skiro@MacBook-Pro ~ % sudo curl -sSf https://raw.githubusercontent.com/WasmEdge/WasmEdge/master/utils/install.sh | bash -s -- -p /usr/local
Using Python: /usr/local/bin/python3
Compatible with current configuration
Running Uninstaller
CRITICAL- Error opening file: /usr/local/env error: Permission denied
ERROR   - Not able to write to env file
WARNING - SHELL variable not found. Using zsh as SHELL
shell configuration updated
Downloading WasmEdge
|===============================                             | 53.05 %Traceback (most recent call last):
  File "<stdin>", line 1524, in <module>
  File "<stdin>", line 1309, in main
  File "/usr/local/Cellar/[email protected]/3.9.12/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 278, in urlretrieve
    raise ContentTooShortError(
urllib.error.ContentTooShortError: <urlopen error retrieval incomplete: got only 13205504 out of 24892048 bytes>

I have run the above command on MacOS Big Sur 11.7 in China.

Might be useful info is that when I ran the installation scripts of Wasmer and Wasmtime, it was very smooth and completed within 5 seconds. Also worth noting that not every user is willing to install Python for WasmEdge.

from wasmedge-quickjs.

alabulei1 avatar alabulei1 commented on June 20, 2024

Hi @skirodev

Sorry for the inconvenience. Because the installation of WasmEdge depends on rawgithubcontents.com, which doesn't work well in China. I think https://ghproxy.com/ can help solve this problem. Let me know if this works. Thanks.

BTW, we're also looking for more advanced solutions. Do you have any suggestions?

from wasmedge-quickjs.

guest271314 avatar guest271314 commented on June 20, 2024

You are welcome to port the wasmedge socket impl to wasmer or wasmtime, but it is likely to be a big task since those are written in different languages.

What are the source files?

from wasmedge-quickjs.

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.