Re:Nim partners with Status.im
by ilovecaching on Tuesday August 07, 2018 @08:10PM
(#17712102)
This is literally Go, save the fact that it compiles to WA instead of JS.
[ Parent
| on HN ]
Re:Nim partners with Status.im
by kevin_thibedeau on Tuesday August 07, 2018 @08:56PM
(#17712326)
> 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.
Re:Nim partners with Status.im
by ilovecaching on Thursday August 09, 2018 @03:35PM
(#17727699)
I was responding to the comment... the things they mentioned are available in Go. You're taking my comment out of context.
Go 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.
Nim 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.
Yes, 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.
Go is nowhere near as expressive/high-level as Nim or Python.
The learning curve is significantly steeper.
It is literally un-go. Great support for meta programming and generics, and actual non-foot gun error handling
It's way nicer than Go (features and syntax) tooling and libs are not as developed obviously.
Re:Nim partners with Status.im
by Fukkaudeku on Tuesday August 07, 2018 @08:35PM
(#17712221)
Except Nim doesn't make you copy/paste constantly.