Closed Xe closed 6 years ago
Interesting project with some nice approaches to Microservices.
Wondering if Wagon golang project removes the need for Otto ? I have not tried. Wagon with Life yet though but just wanted to check if you have tried Wagon
Update: Seems we can't pull in any of the standard library. I'm gonna fork Go and make my own "OS" that doesn't pull in any of the syscall/js stuff. This is going to result in a lot of very interesting low-level knowledge about the Go runtime.
i think gopherjs might be doing something similar using tags that you can piggy back on.
see: https://github.com/gopherjs/gopherjs/issues/833
Its not the same as what you want, which is to run WASM server side. But they are facing the same challenge in a way and take a similar route.
The other thing might be to liase with the golang team first too, so that what you do an be pushed upstream into golang proper later too.
On Wed, 5 Sep 2018 at 15:07 Christine Dodrill notifications@github.com wrote:
Update: Seems we can't pull in any of the standard library. I'm gonna fork Go and make my own "OS" that doesn't pull in any of the syscall/js stuff. This is going to result in a lot of very interesting low-level knowledge about the Go runtime.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Xe/olin/issues/5#issuecomment-418723491, or mute the thread https://github.com/notifications/unsubscribe-auth/ATuCwuE4c2Kzh5OowzNydMaCgEpHsMitks5uX8x0gaJpZM4WWbxx .
Putting this on hold for now. Rust works.
Maybe time to check out the WASI support for this?
In https://github.com/Xe/olin/commit/3daf7b85e0c39c56637df8c6680894742c06821b, work was started to interoperate Go webassembly binaries with Dagger to get a basic example of reading from the printer facts API online. Unfortunately, a dependency on syscall/js was somehow introduced by compiling the package
github.com/Xe/olin/dagger
in webassembly mode.github.com/Xe/olin/dagger
pulls insyscall/js
syscall/js
github.com/Xe/olin/dagger
open
read
write
close
sync
http.RoundTripper
instance using dagger'shttp://
andhttps://
file schemes