3 ms·
The fannkuch benchmark is one where Go beats Java, and has a hugely better memory usage. But these benchmarks are highly suspect (they dropped LauJIT recentl de
by justincormack 15y ago
The fannkuch benchmark is one where Go beats Java, and has a hugely better memory usage. But these benchmarks are highly suspect (they dropped LauJIT recentl despite it being the fastest dynamic language).
C does not have a standard threading library, which is why there is no benchmark.
Plan 9 did not have a lot of funding. Java did.
- igouy 15y ago>>beats Java, and has a hugely better memory usage<< Do you understand that's the default JVM memory allocation? >>But these benchmarks are highly suspect...<< But "highly suspect" is just name calling. >>C does not have a standard threading library, which is why there is no benchmark.<< No it is isn't, here's a C program that uses pthread for multi-core http://shootout.alioth.debian.org/u64q/program.php?test=mandelbrot&lang=gcc&id=6 http://shootout.alioth.debian.org/u64q/program.php?test=mand...
- burgerbrain 15y agoPthreads is not part of any of the C standards. Your credibility is sorely hurting.
- igouy 15y agoThank you for your Red Herring. 1) Where did anyone say pthreads was part of the C standards? 2) As I said, "C does not have a standard threading library" is not the reason why there's no C fannkuch-redux program that uses multi core.
- burgerbrain 15y agoC does not have a standard threading library. Pthreads is a threading library for C that happens to be standardized. The difference between these two statements, while perhaps subtle, is quite massive.