Did someone already try to do this in dlang?
I guess it will be very hard to beat the java solutions running with graalvm!
https://news.ycombinator.com/item?id=38851337
Kind regards,
Christian
Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
January 11, 2024 The One Billion Row Challenge | ||||
---|---|---|---|---|
| ||||
Did someone already try to do this in dlang? https://news.ycombinator.com/item?id=38851337 Kind regards, |
January 11, 2024 Re: The One Billion Row Challenge | ||||
---|---|---|---|---|
| ||||
Posted in reply to Christian Köstlin | On Thursday, 11 January 2024 at 08:57:43 UTC, Christian Köstlin wrote: >Did someone already try to do this in dlang? https://news.ycombinator.com/item?id=38851337 Kind regards, I think C++ people already beated Java's performance https://github.com/buybackoff/1brc?tab=readme-ov-file#native |
January 11, 2024 Re: The One Billion Row Challenge | ||||
---|---|---|---|---|
| ||||
Posted in reply to Christian Köstlin | On Thursday, 11 January 2024 at 08:57:43 UTC, Christian Köstlin wrote: >Did someone already try to do this in dlang? https://news.ycombinator.com/item?id=38851337 Kind regards, The problem with this challenge can be seen in the initial comments. Writing the fastest possible program for a specific dataset is not the same thing as writing the fastest program for an arbitrary dataset of that size. And, indeed, the fastest program is the one that does nothing but print the answer. Speed on this task doesn't tell you anything about performance with different types/sizes of data or constraints on programmer time needed to produce a correct implementation and maintain it over time. |
January 13, 2024 Re: The One Billion Row Challenge | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sergey | On Thursday, 11 January 2024 at 11:21:39 UTC, Sergey wrote: >On Thursday, 11 January 2024 at 08:57:43 UTC, Christian Köstlin wrote: >Did someone already try to do this in dlang? https://news.ycombinator.com/item?id=38851337 Kind regards, I think C++ people already beated Java's performance https://github.com/buybackoff/1brc?tab=readme-ov-file#native I feel we could beat c++ if they didn't radix sort |
January 14 Re: The One Billion Row Challenge | ||||
---|---|---|---|---|
| ||||
Posted in reply to monkyyy | On Saturday, 13 January 2024 at 23:25:07 UTC, monkyyy wrote: >On Thursday, 11 January 2024 at 11:21:39 UTC, Sergey wrote: >On Thursday, 11 January 2024 at 08:57:43 UTC, Christian Köstlin wrote: >Did someone already try to do this in dlang? https://news.ycombinator.com/item?id=38851337 Kind regards, I think C++ people already beated Java's performance https://github.com/buybackoff/1brc?tab=readme-ov-file#native I feel we could beat c++ if they didn't radix sort The project is very hard. Many optimizations and tricks were applied by others. |