4 ms·
Unless you are doing latency sensitive high frequency trading, why would you use C++? Wouldn’t Go or Java suffice?
by whywhywhydude 4y ago
Unless you are doing latency sensitive high frequency trading, why would you use C++? Wouldn’t Go or Java suffice?
- layer8 4y agoMost demand for C++ developers is for existing codebases, presumably. The kind that you can’t just rewrite.
- speedgoose 4y agoAnd if you are doing latency sensitive high trading, please stop now and find a better job. Take a look there if you are looking for a useful role in the society: https://sdgs.un.org/goals https://sdgs.un.org/goals
- neatze 4y agoWhy stop there, any one who spends money on internement is unproductive human being, it is immoral to pay for Netflix instead of helping kid in Africa, right ?
- speedgoose 4y agoThe entertainment industry is useful to keep people entertained, which is good for their overall well-being. I think you don't have to feel bad about your Netflix subscription. And the sustainable development goals are not only about helping kids in Africa.
- neatze 4y agoLooking forward for explanation why HFT is useless in relation to entertainment to a such substantial degree that people should stop working there.
- speedgoose 4y agoSimple. List of benefits of high frequency treading: .
- kova12 4y agoIf I was picking language for a new project, I would take c++ over golang or Java hands down. Many people don't realize it, but modern c++ is actually very good.
- dehrmann 4y agoJava's gotten a lot better with latency with new GCs. Some codebases use statically-allocated memory in Java and do it very carefully. Sometimes shops will just shut off the GC. Graal also gives you AOT options now. One thing I read is that memory allocation can be faster in Java because malloc can result in system calls. Deallocation is what's slower.
- sudosysgen 4y agoYou can also use your own allocator in C++ to reduce system calls.