Recent

Author Topic: Offical launch of the 1 Billion Row Challenge in Object Pascal  (Read 23068 times)

abouchez

  • Full Member
  • ***
  • Posts: 120
    • Synopse
Re: Offical launch of the 1 Billion Row Challenge in Object Pascal
« Reply #45 on: March 29, 2024, 11:14:35 am »
My guess is that the correct fix is the following:

Code: Pascal  [Select][+][-]
  1.     function RoundExDouble(x: Double): Double;
  2.     begin
  3.       x := x * 10; // in two steps to call the proper Ceil(double) overload
  4.       Result := Ceil(x) / 10;
  5.     end;

A cleaner approach would be to stay away from "currency" here, which is confusing, and works by chance.

Gustavo 'Gus' Carreno

  • Hero Member
  • *****
  • Posts: 1153
  • Professional amateur ;-P
Re: Offical launch of the 1 Billion Row Challenge in Object Pascal
« Reply #46 on: March 30, 2024, 07:32:47 am »
Hey my challenge peeps!!

I've been busy:
  • The automation is now done for both Linux and Windows
  • We are back to the previous output hash: 4256d19d3e134d79cc6f160d428a1d859ce961167bd01ca528daca8705163910
  • I've altered all the entries that were using an internal version of the rounding functions to use the one from the baseline

Today is Saturday, and now that I have the automation completed, I'll run the full shebang and will update the results table once they are done.

Cheers,
Gus
Lazarus 3.99(main) FPC 3.3.1(main) Ubuntu 23.10 64b Dark Theme
Lazarus 3.0.0(stable) FPC 3.2.2(stable) Ubuntu 23.10 64b Dark Theme
http://github.com/gcarreno

Gustavo 'Gus' Carreno

  • Hero Member
  • *****
  • Posts: 1153
  • Professional amateur ;-P
Re: Offical launch of the 1 Billion Row Challenge in Object Pascal
« Reply #47 on: March 30, 2024, 05:13:57 pm »
Hey my challenge peeps!!

The weekly Saturday results are up.
Get'em while they're hot ;)

Cheers,
Gus
« Last Edit: March 30, 2024, 05:17:07 pm by Gustavo 'Gus' Carreno »
Lazarus 3.99(main) FPC 3.3.1(main) Ubuntu 23.10 64b Dark Theme
Lazarus 3.0.0(stable) FPC 3.2.2(stable) Ubuntu 23.10 64b Dark Theme
http://github.com/gcarreno

Gustavo 'Gus' Carreno

  • Hero Member
  • *****
  • Posts: 1153
  • Professional amateur ;-P
Re: Offical launch of the 1 Billion Row Challenge in Object Pascal
« Reply #48 on: April 02, 2024, 05:49:42 pm »
Hey Hartmut,

I know you don't like social media, and you also don't feel comfortable in Discord, so I'm reposting this message I put on the Discord channels:
Quote
My challenge peeps!!
We have a new entry!!!
Why am I making a fuss about it?!? Simples: This entry is from a 66 year old, self processed hobbyist since 1978.
He has no smartphone, and has no social media presence.
He made 2 very impressive efforts to participate in this challenge:
1. He used Discord for the very first time upon my request
2. He used GitHub for the very first time upon me insisting that I would really like to have his entry done officially cuz it's a good entry!!!
This is just bloody awesome and a very nice person all-in-all !!!

Cheers,
Gus
Lazarus 3.99(main) FPC 3.3.1(main) Ubuntu 23.10 64b Dark Theme
Lazarus 3.0.0(stable) FPC 3.2.2(stable) Ubuntu 23.10 64b Dark Theme
http://github.com/gcarreno

Gustavo 'Gus' Carreno

  • Hero Member
  • *****
  • Posts: 1153
  • Professional amateur ;-P
Re: Offical launch of the 1 Billion Row Challenge in Object Pascal
« Reply #49 on: April 04, 2024, 09:59:29 am »
My dear challenge peeps!!

Now that the Blaise Pascal Magazine new edition is out, I can finally talk about this:
  • Ian Barker has written an article that mentions our little challenge.

I would provide a link to this new edition if I could. Their site is a bit sub-par, to put it quite politely.

Cheers,
Gus
Lazarus 3.99(main) FPC 3.3.1(main) Ubuntu 23.10 64b Dark Theme
Lazarus 3.0.0(stable) FPC 3.2.2(stable) Ubuntu 23.10 64b Dark Theme
http://github.com/gcarreno

Gustavo 'Gus' Carreno

  • Hero Member
  • *****
  • Posts: 1153
  • Professional amateur ;-P
Re: Offical launch of the 1 Billion Row Challenge in Object Pascal
« Reply #50 on: April 08, 2024, 04:38:55 am »
Hey my challenge peeps!!

We have new entries.
We have have a new leader.

Weekly Results have been updated.

Cheers,
Gus
Lazarus 3.99(main) FPC 3.3.1(main) Ubuntu 23.10 64b Dark Theme
Lazarus 3.0.0(stable) FPC 3.2.2(stable) Ubuntu 23.10 64b Dark Theme
http://github.com/gcarreno

Gustavo 'Gus' Carreno

  • Hero Member
  • *****
  • Posts: 1153
  • Professional amateur ;-P
Re: Offical launch of the 1 Billion Row Challenge in Object Pascal
« Reply #51 on: April 19, 2024, 12:50:46 am »
Hey my challenge peeps!!

I was given owner access to https://github.com/1brc after asking to be included on the https://1brc.dev site.
Yeah, I know, owner... Still don't understand why, but it's where we're at, LOL!! :D
Now I'm in a bit of a pickle: I don't have an icon that will represent Object Pascal.
There's many for Delphi, and many for Lazarus, but none for Object Pascal in general.
Can anyone help me on this?

Cheers,
Gus
Lazarus 3.99(main) FPC 3.3.1(main) Ubuntu 23.10 64b Dark Theme
Lazarus 3.0.0(stable) FPC 3.2.2(stable) Ubuntu 23.10 64b Dark Theme
http://github.com/gcarreno

Handoko

  • Hero Member
  • *****
  • Posts: 5378
  • My goal: build my own game engine using Lazarus
Re: Offical launch of the 1 Billion Row Challenge in Object Pascal
« Reply #52 on: April 19, 2024, 07:59:07 am »
Did you mean you need an icon picture? I draw them using Inkscape 1.3, the source svg file is included so anyone can make any necessary modifications.

Gustavo 'Gus' Carreno

  • Hero Member
  • *****
  • Posts: 1153
  • Professional amateur ;-P
Re: Offical launch of the 1 Billion Row Challenge in Object Pascal
« Reply #53 on: April 20, 2024, 11:14:40 am »
Hey Y'All,

This is the repo for the logo proposals: https://github.com/gcarreno/UnofficialObjectPascalLogos

@Handoko:
  May I please ask you to split that single file into 3 different ones?
  Now that we have a repo, please drop a PR with the image split and please update the README.md
  And BTW, thank you ever so much for your contribution!!!

Cheers,
Gus
Lazarus 3.99(main) FPC 3.3.1(main) Ubuntu 23.10 64b Dark Theme
Lazarus 3.0.0(stable) FPC 3.2.2(stable) Ubuntu 23.10 64b Dark Theme
http://github.com/gcarreno

Gustavo 'Gus' Carreno

  • Hero Member
  • *****
  • Posts: 1153
  • Professional amateur ;-P
Re: Offical launch of the 1 Billion Row Challenge in Object Pascal
« Reply #54 on: April 21, 2024, 10:11:33 pm »
Hey my challenge peeps!!

I've been thinking about adding an alternative results table in order to compare to the original Java specs of only 400 stations and 8 threads.
This means that some of the assumptions for the current state of things would probably be crippling in that case.
What do you guys think of adding a -4 or --400-stations command line switch to your entries?

Cheers,
Gus
« Last Edit: April 22, 2024, 05:24:47 am by Gustavo 'Gus' Carreno »
Lazarus 3.99(main) FPC 3.3.1(main) Ubuntu 23.10 64b Dark Theme
Lazarus 3.0.0(stable) FPC 3.2.2(stable) Ubuntu 23.10 64b Dark Theme
http://github.com/gcarreno

BeniBela

  • Hero Member
  • *****
  • Posts: 920
    • homepage
Re: Offical launch of the 1 Billion Row Challenge in Object Pascal
« Reply #55 on: April 23, 2024, 12:10:59 am »
My implementation is not affected by the number of stations

Although I would like smaller files for testing. My drive only has 15 gb free space, so I cannot run the billion line generator

Handoko

  • Hero Member
  • *****
  • Posts: 5378
  • My goal: build my own game engine using Lazarus
Re: Offical launch of the 1 Billion Row Challenge in Object Pascal
« Reply #56 on: April 23, 2024, 06:05:11 am »
  May I please ask you to split that single file into 3 different ones?

Sorry for the late reply.
Here they are.

Hartmut

  • Hero Member
  • *****
  • Posts: 855
Re: Offical launch of the 1 Billion Row Challenge in Object Pascal
« Reply #57 on: April 23, 2024, 01:35:11 pm »
Although I would like smaller files for testing. My drive only has 15 gb free space, so I cannot run the billion line generator

Did you see that the generator has a command line switch "-n" to set the amount of generated lines? This way you can create files for testing of any size.

BeniBela

  • Hero Member
  • *****
  • Posts: 920
    • homepage
Re: Offical launch of the 1 Billion Row Challenge in Object Pascal
« Reply #58 on: April 23, 2024, 03:52:05 pm »
Although I would like smaller files for testing. My drive only has 15 gb free space, so I cannot run the billion line generator

Did you see that the generator has a command line switch "-n" to set the amount of generated lines? This way you can create files for testing of any size.

but then I do not have an official hash to compare it with

Hartmut

  • Hero Member
  • *****
  • Posts: 855
Re: Offical launch of the 1 Billion Row Challenge in Object Pascal
« Reply #59 on: April 23, 2024, 04:49:29 pm »
but then I do not have an official hash to compare it with

yes, that would not be possible. But you could use the official baseline program in https://github.com/gcarreno/1brc-ObjectPascal/tree/main/baseline to compute the hash for any given input file and then compare these results with yours.

 

TinyPortal © 2005-2018