News for hackers. Stuff that matters.
Re:Motoko, a programming language for building directly on t... by M0T0K0 on Tuesday August 25, 2020 @10:53AM (#24271924)
Perhaps I should learn this? ;)

Idk web assembly yet though, scanning to figure out how this could be useful for an amateur web-dev.

Re:Motoko, a programming language for building directly on t... by lukevp on Thursday August 27, 2020 @01:54PM (#24296465)
Don’t learn this or web assembly, learn TypeScript and then Rust. TS will teach you a lot about type systems, classes, modules, interfaces, async/await, etc. Rust will teach you about memory management, filter expressions, futures, (im)mutability, etc. They are both mature languages that are usable in your web dev context and that you’ll be able to find resources to learn. No one is writing WebAssembly manually, it’s even lower level than regular assembly. It would be super painful to write directly, it’s meant as a virtual architecture that can be efficiently executed.