4 ms·
This is literally Go, save the fact that it compiles to WA instead of JS.
by ilovecaching 8y ago
This is literally Go, save the fact that it compiles to WA instead of JS.
- jensvdh 8y agoGo is nowhere near as expressive/high-level as Nim or Python. The learning curve is significantly steeper.
- Fukkaudeku 8y agoExcept Nim doesn't make you copy/paste constantly.
- k__ 8y agoOr write code gens, haha
- kevin_thibedeau 8y ago> This is literally Go, save the fact that it compiles to WA instead of JS. Except Nim compiles to C and JS, no official WASM yet (though you can Emscriptenize the C output). Nim has macros, generics, inheritance, exceptions, deterministic GC, and more. Otherwise, yeah, exactly the same.
- ilovecaching 8y agoI was responding to the comment... the things they mentioned are available in Go. You're taking my comment out of context.
- TylerE 8y agoIt is literally un-go. Great support for meta programming and generics, and actual non-foot gun error handling
- qaq 8y agoIt's way nicer than Go (features and syntax) tooling and libs are not as developed obviously.
- klibertp 8y agoGo and Nim are as different as it gets in programming language design. Nim is kitchen-sink type language, while Go builds on a small set of well-defined features. It's the difference between Scheme and Common Lisp, or JavaScript and Python - the look&feel of programming in Nim is unlike Go in almost all respects, aside from perhaps quick compilation.
- dom96 8y agoNim isn't a kitchen sink language. It is a language that has been designed to be small at its core but extremely extensible through macros.
- klibertp 8y agoYes, and from what I see it worked, so the number of useful extensions became large over the years. I don't mean "kitchen-sink" in any pejorative sense, maybe "batteries included" would be the better word here.