Comments (6)
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.
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.
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.
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.
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.
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)
- [Question] Http support HOT 3
- Can I use this lib to embed JS code into C++ app? HOT 7
- A new release on crates.io HOT 5
- [Bug] - Not able to run the React SSR Example HOT 2
- README example does not work HOT 4
- How to embed wasmedge-quickjs in a Node.js app? HOT 2
- Execute the add.js example HOT 1
- HTTPS support HOT 1
- Error running `react_ssr_stream` example HOT 2
- How to import a third-party nodejs library HOT 1
- README example run failed
- What is the quickjs source code? HOT 3
- Support for TLS-Less Builds? HOT 7
- process.argv undefined HOT 2
- Build without SIMD HOT 9
- The symbol "Stats" has already been declared HOT 9
- QuickJS license compliance HOT 2
- How to progress promises HOT 3
- Update QuickJS to latest, major bugs HOT 3
- Error stack traces HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wasmedge-quickjs.