Earlier quoted context omitted.
Basically yes: if you get value out of Docker for container apps today, we think you’ll get value out of Docker for Wasm apps tomorrow.
Seems promising. I think, based on what I read in this, that most folks don't know how challenging working with WASM is.
The Docker+WASM Technical Preview
121–130 of 178 posts
Re: The Docker+WASM Technical Preview
#122Earlier quoted context omitted.
Depends on which "this" you're referring to. We (Docker) are trying to make it easier for developers to use the tools and capabilities they know and love to build, share, and run Wasm applications. As far as Wasm itself, it's designed to provide a fast, lightweight, secure, and portable binary format. While it was originally designed to help bring native code to the browser, it's quickly spreading to the server side.…
I didn't get anything from that. My question was not about WASM but Docker+WASM project. Why problem does it solve?
Re: The Docker+WASM Technical Preview
#123Re: The Docker+WASM Technical Preview
#124Re: The Docker+WASM Technical Preview
#125Earlier quoted context omitted.
> I'm just sincerely confused at what problem this technical preview is intended to solve. This is all good feedback, and we’ll definitely try to explain the added value better in the future. The main advantages we see in this technical preview are: 1. Easy, reproducible dev environment to quickly & reliably develop cloud/edge apps that target Wasm, or code frontend apps that target a Wasm backend (for example, as pa…
I think you are falling into a “deeply-technical explainer” trap. You’ve been so deeply engrossed in the use-cases of this novel technical combo that they are all assumed understood from your POV. And, this tech is so general that there’s a second trap of “What can it do? It can do anything! Sure, but what can it do??” Again, because I’m your head “anything” is pre-supposed to a narrow set of goals that this tech ful…
Re: The Docker+WASM Technical Preview
#126Earlier quoted context omitted.
Wasm "solves" running your application in a shared environment. i.e not your machine but say a cloudflare machine, that has to run dozens of applications like yours. Without wasm, the unit of containerization for them is operating system process. Each process spins up a jvm that runs your app/backend API. With wasm, the unit of containerization is the exact functions of your backend API. So they can fit more "contain…
Wow. So moving "containerization" up the stack? It is to containers what containers were to VMs? If so, they need diagrams making that argument same way we all saw for containers vs VMs.
Re: The Docker+WASM Technical Preview
#127Earlier quoted context omitted.
"Docker+Wasm" is just a shorthand for the Technical Preview build, which allows you to build both traditional container apps, as well as Wasm apps. Behind the scenes, we try to let Wasm apps be developed largely without interference from any container technology — just giving you a good local environment you can use to code against. That said, if you want, we do offer the ability to run Wasm apps within a Docker Comp…
Hi Tim from Docker How about getting docker running in WASM so I can run containers in the browser?
Re: The Docker+WASM Technical Preview
#128Earlier quoted context omitted.
One benefit of using wasm is architecture-agnostic binary. Right now you can't run x86 binary on ARM or vice-versa. So basically you need to build your containers twice if you have macbook people and x86 servers. And technically those are different images, so there's chance that you'll hit some non-trivial difference. With wasm everything could be simpler.
Docker Desktop can build and run x86 on ARM/OSX and that's how most people use it.
Re: The Docker+WASM Technical Preview
#129Earlier quoted context omitted.
What compromises does WASM have relative to plain old native code?
Wasm = just a bunch of bytecode executing in a VM / a sandbox. Even with JIT, it will still be slower than the native code. And since it is a sandbox.. either you, or your friendly wasm interpreter (via. wasi etc...) needs to provide the system access APIs for various things like storage/filesystem access, hardware acceleration via. GPU, TPU etc.. And some of the standard APIs we take for granted.
Re: The Docker+WASM Technical Preview
#130Earlier quoted context omitted.
"Docker+Wasm" is just a shorthand for the Technical Preview build, which allows you to build both traditional container apps, as well as Wasm apps. Behind the scenes, we try to let Wasm apps be developed largely without interference from any container technology — just giving you a good local environment you can use to code against. That said, if you want, we do offer the ability to run Wasm apps within a Docker Comp…
It might be easier if you simplify it to, "We're trying not to be just the app you choose to run containers with. You can now use non-container runtimes like WASM."