Obviously, C is on a steep decline in the OSS world, while Go (you
may switch off the C line to see it better) is gaining ground
steadily, and doing so faster than Rust.
Not that I think these account for much, but sort of fun to point at:(Short summary - now with Go 1.7, Go is faster for most benchmarks.)
I looked at that this morning and sped it up a little.
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I looked at that this morning and sped it up a little.
I would have expected that aside from informing about general performance, one of the purposes for benchmarks would have been to create pressure for improvement of key features of the laguage, this seems to circumvent this, im not dure what they are trying to achive. Perhaps restrictions on only using the language as distributed and its standard lib would be a healthy constraint to evangelise for.
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
Some language implementations have hash tables built-in; some provide a hash table as part of a collections library; some use a third-party hash table library. (For example, use either khash or CK_HT for C language k-nucleotide programs.) The hash table algorithm implemented is likely to be different in different libraries.
The work:
The work is to use the built-in or library hash table [emphasis mine] implementation to accumulate count values - lookup the count for a key and update the count in the hash table.
The regex-dna benchmark is even more strange. Neither the measured Go nor the
Java implementation use the standard regexp libs. The Go program imports
bindings to PCRE, the Java program uses TclRE.
And, as this very benchmarking site is far too often abused to talk down on languages, just because they have some bad test results, we as the Go community should try to get the fastest results there - most other programs are not very idiomatic or reasonable even.
I would have expected that aside from informing about general performance, one of the purposes for benchmarks would have been to create pressure for improvement of key features of the laguage, this seems to circumvent this, im not dure what they are trying to achive. Perhaps restrictions on only using the language as distributed and its standard lib would be a healthy constraint to evangelise for.
> I hope you submit your code... I would be great to be on par with java all
> around! here's the instructions --
>
> http://benchmarksgame.alioth.debian.org/play.html
I will try. Currently my Go version is ~10% faster than the Java one.
Maybe. For the shootout I prefer the embedded variant to
to demonstrate it is do-able without resorting to 3rd party libs.
If this does not count the Benchmark game follows a skewed defintion of a library.
Can you eleborate please, what a library is?
On Wednesday, September 7, 2016 at 8:15:09 AM UTC-7, sascha.l....@googlemail.com wrote:
If this does not count the Benchmark game follows a skewed defintion of a library.I'm sorry that you don't seem to understand what is expected.
Can you eleborate please, what a library is?
Examples were given in the description:
http://attractivechaos.github.io/klib/#About
http://concurrencykit.org/index.html
Apparently, you can only use approved libraries that produce the ranking he wants.
Observe that the java benchmark continues to be allowed to use an accelerated hash table library.
Hallöchen!
'Eric Johnson' via golang-nuts writes:
> Not that I think these account for much, but sort of fun to point at:
>
> https://benchmarksgame.alioth.debian.org/u64q/go.html
> (Short summary - now with Go 1.7, Go is faster for most benchmarks.)
>
> And then, for language adoption, the TIOBE language index for August of
> 2016:
> http://www.tiobe.com/tiobe-index/
I don't think TIOBE is useful beyond position 10 or so. Anyway ...
https://www.openhub.net/languages/compare?utf8=%E2%9C%93&measure=commits&language_name%5B%5D=c&language_name%5B%5D=golang&language_name%5B%5D=java&language_name%5B%5D=rust&language_name%5B%5D=-1&commit=Update
is limited to open source, but covers a big corpus. Besides,
"monthly commits" is a very expressive, clearly defined indicator.
Obviously, C is on a steep decline in the OSS world, while Go (you
may switch off the C line to see it better) is gaining ground
steadily, and doing so faster than Rust.
Can you explain the rationale behind the classification of libraries as
libraries or not libraries? It seems pretty arbitrary.
(I'm interested from a sociological perspective, but not enough to
bother to go to the benchmarks game discussion forum).
import it.unimi.dsi.fastutil.longs.Long2IntOpenHashMap;
No one seems to have needed to discuss what was meant by library, likesascha they seem to think they understood what was expected.