Re:The ups of downs of porting 50k lines of C++ to Go
by logicchains on Saturday March 07, 2015 @07:27PM
(#9163810)
I didn't personally make the decision. We don't have any teams using Java, we do have a team using Go. Ergo, Go was chosen.
[ Parent
| on HN ]
Re:The ups of downs of porting 50k lines of C++ to Go
by pron on Saturday March 07, 2015 @08:13PM
(#9163969)
Ah, OK, then. It's as good a reason as any, I guess. You should know though, that Java is now quite popular in HFT circles, especially in the UK, with high-performance libraries and monitoring tools[1] specifically tailored to that industry. In spite of a difference in marketing, you'll find that Java can get you much close to C++ than Go can. You have better control over execution and a runtime of higher quality overall.
Even though Go's runtime is statically linked while Java's isn't, Java is very much a C++ replacement in many circumstances, while Go makes for a terrific Python replacement if you need fast scripts and command line tools (which is why you mostly see Python->Go and C++->Java transitions). Not that Go is always more appropriate than Python or Java is always better suited than C++, but at least those are the common alternatives, and the ones that make the most sense considering the design decisions of those languages.
For you particular needs, I have no doubt you'll find Java to be the more appropriate choice.
[1]: Like this: http://openhft.net/