News for hackers. Stuff that matters.
Re:Wasmer 2.2 by fimdomeio on Monday February 28, 2022 @07:12PM (#30507163)
Can someone explain me what's the connection between wasmer, web3 and blockchain?
Re:Wasmer 2.2 by eatonphil on Monday February 28, 2022 @07:32PM (#30507374)
I was confused what you could possibly mean by that but then I read the opening paragraph:

> The Wasmer 2.2 release features significant advancements shaping up to impact our Web3 and blockchain community in a big way. Wasmer is reintroducing Aarch64 compatibility for our Singlepass compiler. With the newly overhauled Singlepass, Web3 and blockchain developers can efficiently run Wasmer Runtime with Singepass on Windows, Linux, and macOS. The new release also fully supports the much anticipated Apple M1 processor.

And since the rest of the post doesn't mention anything more, I share your curiosity.

Re:Wasmer 2.2 by maxmcd on Monday February 28, 2022 @07:46PM (#30507534)
Looks like some wasmer users (sponsors?) are crypto companies taking advantage of the isolation/sandboxing properties of wasm/wasmer.

https://github.com/search?q=org%3Aspacemeshos+wasmer&type=co...

https://github.com/search?q=org%3Acosmos+wasmer&type=code

Re:Wasmer 2.2 by panick21_ on Monday February 28, 2022 @07:37PM (#30507439)
WASM is a technology that has good security and isolation. So some people try to use it as underlying technology for smart contracts.

So the reality is, its just and WASM and lots of people trying to build stuff on WASM.

Re:Wasmer 2.2 by WatchDog on Monday February 28, 2022 @10:19PM (#30508969)
It seems like the whole point of the "singlepass" compiler is to avoid "JIT bombs", which in the context of compiling WASM in a smart-contract blockchain solution, could be a vector for a DOS attack.

If you aren't compiling maliciously crafted WASM programs, then the runtime performance of the cranelift or LLVM compilers would appear to be generally more desirable.

Re:Wasmer 2.2 by jadbox on Monday February 28, 2022 @07:48PM (#30507558)
Several blockchains like NEAR are using WASM, but I could only find these resources about blockchains using Wasmer: https://wasmer.io/case-studies/confio https://cosmwasm.com/ "CosmWasm is supporting fourteen different Cosmos projects, including Terra, Regen Network, and Crypto.com"
Re:Wasmer 2.2 by FL33TW00D on Tuesday March 01, 2022 @04:00AM (#30511482)
NEAR has Matklad of rust-analyzer fame onboard as the lead: https://matklad.github.io/resume/ which is quite interesting.
Re:Wasmer 2.2 by capableweb on Monday February 28, 2022 @08:45PM (#30508148)
Here's how they are connected: https://wasmer.io/posts/wasmer-supercharges-blockchain

And a case study: https://wasmer.io/case-studies/confio

> Confio's smart contracts allow blockchain developers to add new functionality to their blockchain at runtime. The engineering team at Confio quickly realized that some containerization and sandboxing technology were required to ensure the host machine's safety. WebAssembly was a natural choice since one of its core features is default sandboxing. WebAssembly applications require explicit permission and interfaces to access host machine data and resources.

Re:Wasmer 2.2 by miohtama on Monday February 28, 2022 @08:57PM (#30508276)
Note that Wasmer’s WebAssembly blockchain ideas are not unique. EOS was the first blockchain to use WebAssembly backend, in 2018 (4 years ago).
Re:Wasmer 2.2 by syrusakbary on Monday February 28, 2022 @09:10PM (#30508384)
I'd like to reinforce this.

Wasmer has not invented the wheel here nor we were the first ones to create a Wasm runtime for the server-side (WAVM should probably have an honorific mention somewhere!).

All our work has been based in some way or another on the shoulders of previous projects from great developers and ecosystems, and for that we will be eternally grateful <3 (examples of this are WAVM, cervous, nebulet, perlin's life and many more!)