Seems weird to choose just one of { C++, Go, Java, Javascript }. None of these languages is really a substitute for any of the others, except perhaps for Go and Java. Go certainly cannot cover all C++ uses, nor Javascript/Node.
Choosing Go at American Express
11–16 of 16 posts
Re: Choosing Go at American Express
#12>As such, we launched an effort to evaluate different languages.
I feel the purpose of a payment network is performance, concurrency, resiliency, and availability, and somewhere, wayyy towards the bottom of the list, at 2px font size, modernity and extensibility are there.
Re: Choosing Go at American Express
#13>Go achieved the second-best performance at 140,000 requests per second. This number wasn’t far off from the top performer, which clocked in at 167,000 requests per second. I wonder what the top performer was... I bet it was C. If you're doing just binary to string conversion there's no need for a features-language like Java or Node. C probably would've been a better option.
Re: Choosing Go at American Express
#14Re: Choosing Go at American Express
#15>Go achieved the second-best performance at 140,000 requests per second. This number wasn’t far off from the top performer, which clocked in at 167,000 requests per second. I wonder what the top performer was... I bet it was C. If you're doing just binary to string conversion there's no need for a features-language like Java or Node. C probably would've been a better option.
C/C++ are never better options because of the number and sheer variety of undefined behaviors, manual memory management and ways to shoot onself on the foot. It's something to use when there's no other choice (legacy code base, embedded systems - though this is also moving to higher level languages).
Re: Choosing Go at American Express
#16Earlier quoted context omitted.
C/C++ are never better options because of the number and sheer variety of undefined behaviors, manual memory management and ways to shoot onself on the foot. It's something to use when there's no other choice (legacy code base, embedded systems - though this is also moving to higher level languages).
I promise you they are. There's a reason why over 90% of the programs you invoke or interact with on a daily basis are written in C.
If you're building anything new it's very hard to make a valid case for coding in C. You're almost always better off working in Rust, Java, Swift or Go