Wasp: WASM Programming Language
github.com
github.com
fibonacci it - 1 + fibonacci it - 2
I'm only hoping to understand what we have here because I already know what Fibonacci is. fibonacci (it) - 1 + fibonacci (it) - 2
fibonacci (it - 1) + fibonacci (it - 2)
fibonacci (it - 1 + fibonacci (it - 2)) (fibonacci it) - 1 + (fibonacci it) - 2
But I guess it isn't the case here, because that code doesn't make sense. fibonacci(number - 1) + fibonacci it - 2But isn't that why everyone moved over to React, Angular, and Vue? It's nice that this is in WASM but honestly, I think I prefer React components written in TypeScript, and you can probably get that compiling to WASM with AssemblyScript.
My two cents: this is a super neat hobby project! Probably won't ever make it to production anywhere though.
AssemblyScript is awesome, but right now it's more similar to C (with TS syntax) - it's not a TypeScript runtime on Wasm, it's a lowlevel language that looks nearly the same, that hopes to integrate Wasm GC etc when it comes (not yet).
Looks like all the examples of wasp are just declarative objects and/or html, so not sure what wasp can do just from looking at those.
Using indentation instead of XML-like opening and closing tags is way more concise, and encodes exactly the same information.
I don't know the right solution, but it's clear that what we have right now doesn't suit our needs and make web development far costlier than it otherwise could be.