5 ms·
I think, Go is just not suited for web. It is mostly system level platform, and now it is very young, so sure, most forces are at system direction. For example
by simne 5y ago
I think, Go is just not suited for web. It is mostly system level platform, and now it is very young, so sure, most forces are at system direction.
For example, I have hear many times, about large investments (millions) into C++ web frameworks, or even made some really large backends in C++ (evernote).
And they mostly have not much success, because exists much more suited platforms for web.
You sure could argue that Go is fast, and i will absolutely agree - Go is very good in its main niches, but in real life web dev, speed of language usually is not MOST limiting factor - mostly limiting db, file access, system calls.
Imagine, how large should be project (or how special), to include db, fs, sc inside Go, to avoid those slow things so much, so speed of lang itself will matter.
BTW, for slow dynamic languages, people have success running Python Django on Cython, which is compiled to native code via C, and it is very fast, and basically, Cython is just compiled Python, most code work without significant changes.
So sorry for many words. To be constructive, if I will be in place, where have to find Golang web framework, I will try to find viable C++ web framework, and make bindings, so in beginning will replace some modules with Go modules, and in long time perspective, rewrite all C++ code to Go.
All other solutions, I could imagine, are too stranger for Go.
- KSPAtlas 5y agoGo isn't good for systems, as it include many high level things like a garbage collector.
- simne 5y agoTry https://en.wikipedia.org/wiki/Perl_Data_Language https://en.wikipedia.org/wiki/Perl_Data_Language It considered by many people as best language to manipulate mathematics data and structures, and it is really very convenient at those niches. Also exists other Domain Specific Languages, best suited for their niches. What I talked about, C-like languages have their powerful sides, and in some niches they shine like brilliant, but in others they are unhandy. And unfortunately, it is really hard, near impossible, to make tool suitable everywhere. Because of this, in real life exists many languages, nothing become ubertool for everything.