3 ms·
Go has certain things out of the box that I think attributed to it's success: Built-In libraries out of the box for web and other things which are useful. The
by giancarlostoro 8y ago
Go has certain things out of the box that I think attributed to it's success:
Built-In libraries out of the box for web and other things which are useful. The out of the box web server isn't Django, but it works, and it's clear what it's doing under the hood. Also all the code is documented as well. I think if Nim could have a usable web server in the std lib (same with Rust and D) it would be a game changer. It doesn't have to be ultra fast, just good enough to be production ready (SSL and other secure things, and make setting up a static directory easy, numerous static directories).
The first thing I test when I try any language is the web frameworks, it tells me how expressive / powerful the language can be. This is why I always loved CherryPy from Python, because I can mentally map classes, objects, and methods to http routes without too much mental overhead. If I need to get crazier I can pull in a routing library as well.
- dom96 8y ago> Go has certain things out of the box that I think attributed to it's success: Yes, Google's backing. :) > I think if Nim could have a usable web server in the std lib (same with Rust and D) it would be a game changer. Nim does have an HTTP server in its stdlib[1], but I wouldn't go as far as to say that this is a game changer. > The first thing I test when I try any language is the web frameworks You should give my web framework, Jester[2], a try :) 1 - https://nim-lang.org/docs/asynchttpserver.html https://nim-lang.org/docs/asynchttpserver.html 2 - https://github.com/dom96/jester https://github.com/dom96/jester
- giancarlostoro 8y agoI may have to, now that I'm at a new job where I only do Java, I feel like I can experiment with other languages more since I dont have to keep juggling between front-end and back-end code. Does it handle sessions and such? Also not familiar with database driver support for Nim.