1 billion row challenge in Rust using Apache Arrow

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ก.พ. 2025

ความคิดเห็น • 18

  • @porlando12
    @porlando12 10 หลายเดือนก่อน +19

    R dev here trying to broaden my horizons and wow I'm blown away with the performance! Keep making these!

  • @azmebengraine1437
    @azmebengraine1437 7 หลายเดือนก่อน +4

    great videos, very informative, just subbed.
    ps: increase the editor font size.

  • @mitchbet
    @mitchbet 8 หลายเดือนก่อน +4

    I'm curious how this works. Is it loading the whole file into memory before doing the aggregation? Or the query planner smart enough that it knows it only needs to load 1 line at a time (and then handles keeps track of the required aggregations accordingly)

    • @LtdJorge
      @LtdJorge 7 หลายเดือนก่อน +1

      He run it multiple times, so the OS has cached the file in memory already.

  • @blaisepascal3905
    @blaisepascal3905 10 หลายเดือนก่อน +4

    Thank you for this nice video!
    What plugin do you use in VS Code to have the option of running/debugging just above the main function?

    • @josiahparry
      @josiahparry  10 หลายเดือนก่อน +5

      It's just the rust-analyzer! I have it mapped to shift+cmd+enter my keybindings.json file though
      {
      "key": "shift+cmd+enter",
      "command": "rust-analyzer.run"
      }

    • @blaisepascal3905
      @blaisepascal3905 10 หลายเดือนก่อน

      @@josiahparry Thanks!

  • @abdulharis5634
    @abdulharis5634 3 หลายเดือนก่อน

    Hi. How many cores and rams that you have in your machine that ran this code?

  • @richardbennett4365
    @richardbennett4365 10 หลายเดือนก่อน +4

    Nice video, and this man has an accent similar to Will of SpaceRex.
    I like the presentation. The only thing i caught at the end was again a young man in the field of computer science, the third one (and one is from the UK so its not just North American English), who doesn't use the past participle form with have. He said "I've ran" instead of "I've run."
    It seems to be a phenomenon among younger folks, and I wonder if this grammatical form is just not taught in schools anymore, or is it how people, like his parents or friends are speaking in this region of the world. But, i have noticed Elliott Minns of another TH-cam channel (@Dreams Of Code) also using the past tense form of the verb with an auxiliary and not the past participle form of the verb.
    But, it's the message and content that matters. Good job.

  • @joshstat8114
    @joshstat8114 9 หลายเดือนก่อน +1

    I was wondering if there is a linear algebra library in extendr (Rust), like RcppArmadillo

    • @josiahparry
      @josiahparry  9 หลายเดือนก่อน +2

      check out faer! faer-rs.github.io/

  • @richardbennett4365
    @richardbennett4365 10 หลายเดือนก่อน

    Nice brief code, but on my machine I'm getting an error with the pretty: implementation Display statement.

    • @richardbennett4365
      @richardbennett4365 10 หลายเดือนก่อน +1

      I got the code debugged. I just have a Code issue where the buffer for the lines of the Terminal needs increasing, and I think I would also like to `tee` the output to file as well as STDOUT.

    • @josiahparry
      @josiahparry  10 หลายเดือนก่อน +1

      ah so this was an editor issue?

  • @dextrowim
    @dextrowim 7 หลายเดือนก่อน +2

    You do know that the java dudes ended this challenge with less than 2 seconds ? :-) But fair is fair, your code is at least understandable...

    • @Gramini
      @Gramini 6 หลายเดือนก่อน +1

      And the duration highly depends on the machine. The server for the official challenge has 32 cores IIRC.

  • @DougLopes
    @DougLopes 6 หลายเดือนก่อน +1

    Impossible to read a single word of this in smartphone

  • @kamertonaudiophileplayer847
    @kamertonaudiophileplayer847 8 หลายเดือนก่อน

    It isn't fair.