(no title)
joncfoo | 2 years ago
Replace Wasmer with the a JVM-based app server and WASM assemblies with JVM-bytecode. The big difference is the source language doesn't matter as long as it's able to be run/replaced by WASM bytecode.
We're heading in circles in a lot of ways
syrusakbary|2 years ago
* Completely tied to an ecosystem, and incompatible with another (you could not run C programs in the JVM)
* Proprietary (vs based on an open standard)
* They couldn't run in the browser seamlessly
0xbadcafebee|2 years ago
I can't even come up with a metaphor for it. We're choosing to be stuck with shitty antiquated technology because it's easier than making something better. It's depressing. Like a world that never got past the horse and buggy. Large engines powered by steam would require additional investment in refining of steel and making giant cast or forged parts... easier to just stick with the horse.
ThePhysicist|2 years ago
tubs|2 years ago
You can compile c to wasm and run that.
In the same way one could compile c to java byte code, write a wrapper program to allocate the "heap", disable the gc and execute it in close to the same way it executes in a wasm runtime.
mdellavo|2 years ago
https://docs.oracle.com/javase/specs/jvms/se8/html/
pitaj|2 years ago
pookeh|2 years ago
michaelmior|2 years ago
Not entirely true, but of course there has never been any official support. http://nestedvm.ibex.org/
yazzku|2 years ago
unknown|2 years ago
[deleted]
pjmlp|2 years ago
moonchrome|2 years ago
Comparing WASM and JVM is like comparing a truck and a bus because they are relatively the same size, move at the same speed etc.
I mean sure you can load people in trucks and cargo into buses - and both have been done with JVM (eg. people built C compilers) and WASM (people are building GCed runtimes on top of it despite lack of GC support from platform).
Almost 30 years later nobody sane is running C on JVM and there were many attempts posted here over the years.
dianeb|2 years ago
Software development always goes in cycles. "Apps" were great now maybe not so much so...
In the late 80s/early 90s, the CEO of ETA Systems (a supercomputer company) had a vision that by 2000, the world would be split between supercomputers and workstations. I have seen some evidence that people are considerng that once again... The Circle of Dumb is always with us in software land.
nu11ptr|2 years ago
miohtama|2 years ago
icedchai|2 years ago
mc_woods|2 years ago
You mean in a OCI image, a bit like this? - https://docs.docker.com/desktop/wasm/
and then deployed using Kubernetes? - a bit like this - https://learn.microsoft.com/en-us/azure/aks/use-wasi-node-po...
herdcall|2 years ago
gabereiser|2 years ago
benatkin|2 years ago
https://www.fermyon.com/spin
https://www.fermyon.com/blog/bindle-what-is-it
syrusakbary|2 years ago
No wonder they are ditching it in favor of OCI...
tiffanyh|2 years ago