I mean by useless is it’s so slow you can’t make games or even big projects for GUI, only you can do is AI/ML, Data Science, and basic stuff. I think Rust is better because of its speed and language capabilities?

  • brucethemoose@lemmy.world
    link
    fedilink
    arrow-up
    10
    ·
    edit-2
    1 day ago

    …Have you tried ML projects in Rust?

    I mean, ML/data science devs use Python because the bajillion underlying libraries and implementations are already there.

    It’s not perfect. But that’s fine, because it’s a pretty good prototyping language for researchers, and anything performance sensitive is done in libraries anyway.


    If you want a real world example, see: Mistral.rs vs vllm.

    • socsa@piefed.social
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 day ago

      PyTorch in particular is literally just a dispatching front end for CUDA anyway. It’s actually an incredibly powerful tool for GPGPU development, and you will struggle to make faster GPU DSP by hand.

      People making these arguments are just incredibly out of date. You can basically use python to trace super optimized GPU compute kernels and then drop them into whatever language you want via torchscript, onnx, trt, whatever.