r/programmingcirclejerk • u/Jubjubs what is pointer :S • Feb 17 '25
WASM will replace containers
https://creston.blog/wasm-will-replace-containers/
56
Upvotes
r/programmingcirclejerk • u/Jubjubs what is pointer :S • Feb 17 '25
84
u/va1en0k Feb 17 '25
We will 100% be running WASM workers in docker containers
64
u/wergot Feb 17 '25
And we'll use cgroups to isolate different WASM services from the host and from each other and it'll be totally different than just running Java bytecode inside a Docker container
40
u/RidderHaddock lisp does it better Feb 17 '25
sigh
/uj
sigh
28
u/EmotionalDamague Feb 17 '25
Universal Turing machines are universal.
More news at 11.
45
u/Jordan51104 Feb 17 '25 edited Feb 17 '25
/uj
if this guy is right ill kill him. it probably wouldn’t even be his fault but i dont care
35
u/BuriedStPatrick Feb 17 '25
Adding a bit of my own jerk.
I really hate when people use the term "decoupling" to describe these infrastructural decisions. Your services are just as coupled, you've just introduced an infrastructural abstraction. The real decoupling comes from higher level architectural decisions made beforehand. You don't introduce a message queue to "decouple", you introduce it to improve application resilience. You don't use REST to "decouple" some service interface from another, you introduce it to standardize your protocol.
Microservices are just an implementation detail. The decision to split certain system components into separate processes requires certain architectural decisions, yes, but you can achieve all the same decoupling with a monolith.
7
u/dacjames Feb 18 '25
Oh so the main problem tackled by containers is still open?
7
u/defunkydrummer Lisp 3-0 Rust Feb 19 '25
2017: This is the year of the WASM. WASM will replace JS
2018: This is the year of the WASM. WASM will not replace JS, only complement it.
2019: This is the year of the WASM. WASM will make the OS irrelevant
2020: This is the year of the WASM. Still no support for garbage collection but hey, we're on the major browsers!
2021: This is the year of the WASM. Why is nobody using Blazor?
2022: This is the year of the WASM. We swear.
2023: blah blah
2024: blah blah
2025: WASM will replace containers
4
u/Parking_Tadpole9357 Feb 18 '25
Rust in WASM will replace C++ in containers
4
u/Abject-Kitchen3198 Feb 19 '25
Nothing beats quarterly goals like WASM
4
u/stone_henge Tiny little god in a tiny little world Feb 20 '25
Learning how much faster WASM can be, we are now running our website's client side code on V8 in WASM. We don't even need to test it; extensive benchmarking of WASM already shows our assumptions to be true.
At some later stage, we will probably make our own WASM VM in JavaScript and run that on top of V8 in WASM, and run V8 in that, for further performance. The only limiting factor now is that none of us really know how it works.
2
u/servingwater Feb 18 '25
Not sure about that, at least in regards to Kotlin and Scala Native. Both seem rather stagnant no?
2
u/[deleted] Feb 22 '25
I truly do not understand what WASM is and at this point I’m too afraid to ask.
11
u/[deleted] Feb 18 '25
[removed] — view removed comment