4 ms·
I expected a section about testing and benchmarking since it comes out of the box with Go. Are there other popular languages offering it?
by ggregoire 7y ago
I expected a section about testing and benchmarking since it comes out of the box with Go. Are there other popular languages offering it?
- maccam94 7y agoRust's cargo CLI includes subcommands for testing and benchmarking.
- steve_adams_86 7y agoPython has the unittest module which works well for basic unit testing, and it's inspired by others (JUnit and the smalltalk testing framework respectively as I recall). I'm not sure about benchmarks, though.
- apta 7y agoBoth the JVM and .NET have benchmarking suites. Java's JMH is arguably much more advanced and holistic than what is included with golang.
- mhh__ 7y agoD has unittests and potentially benchmarking if I can be bothered to implement it and write the proposal (and it gets accepted etc.) I have written a library solution using ranges at compile time to measure asymptotic performance but I'm talking about a language feature.
- yxhuvud 7y agoAre there any languages except C and C++ that doesn't?