From Python to Rust. Part 1

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024

Комментарии • 27

  • @quentinz6291
    @quentinz6291 4 года назад +8

    I like this kind of side-by-side coding comparisons. Nice video!

  • @johnwilliams7999
    @johnwilliams7999 3 года назад +1

    Rust is a good language. It really grows on you and it isn’t as hard as ppl make it out to be.

  • @swaystar1235
    @swaystar1235 3 года назад +2

    Thank you for this! Easier to transition from python to rust

  • @VictorCaldo
    @VictorCaldo 2 года назад +1

    I loved this video! Thank you very much.

  • @luzyoz143
    @luzyoz143 3 года назад +4

    Your code has much nicer colours than mine, for both rust and python, am I missing some extension or something else? using vscode instead of vscodium. thanks!

  • @alpaslaneldemir6904
    @alpaslaneldemir6904 3 года назад +1

    This is gold !

  • @bhargav8232
    @bhargav8232 4 года назад +3

    Waiting for part 2.

  • @patatasdelpapa
    @patatasdelpapa 4 года назад +4

    Would you consider using Rust Analiser in the next part? Also nice work

    • @rebelScience
      @rebelScience  4 года назад

      Not in upcoming videos. This is just intro stuff. Introducing extra layers will not help newbies.

  • @CHROMIUMHEROmusic
    @CHROMIUMHEROmusic Год назад +1

    If you dont mind me asking, what colour theme is this? it looks great :) thank you

    • @rebelScience
      @rebelScience  Год назад

      Hey! Sorry for the late reply. My VSCode(ium) setup has changed since. I now use the default dark theme.

  • @mrmagnetic927
    @mrmagnetic927 4 года назад +3

    LOL, I misinterpreted the title thinking this video would show how to import a Python module into Rust. But since we're talking about, Make it so. How to import python module into rust or vice versa.

    • @cardboardpow8979
      @cardboardpow8979 4 года назад

      Ive been wanting to import files from compiled languages into python, not sure its possible but I want to

    • @rumplstiltztinkerstein
      @rumplstiltztinkerstein 3 года назад

      Pyo3 crate got you covered. Import Rust libraries from Python. Run Python code from Rust.

    • @mikefdorst
      @mikefdorst 3 года назад +1

      Same. I thought this was gonna be a video about how to use PyO3. I guess this is targeted at beginners so that's not a topic he's likely to cover.

    • @rumplstiltztinkerstein
      @rumplstiltztinkerstein 3 года назад

      @@mikefdorst I was searching for that as well. Now I'm just getting lazy and wanting to simply code everything in rust instead of python.

  • @daydreamerforex3720
    @daydreamerforex3720 4 года назад +1

    awsome tut !

  • @whatdoyouthink2738
    @whatdoyouthink2738 3 года назад

    Can we work with it, with Python AI libraries?

  • @thomassteele6072
    @thomassteele6072 2 года назад

    Awesome video absolutely excellent and what I need.
    My only issue is for the life of me I cannot get code runner to work the way you do. The default works in the sense that It runs but it doesnt rebuild it after a change.
    I pasted your code verbatim and it simply says ‘$(basename was unexpected at this time’
    I have absolutely no idea what the issue is I cannot find anything on the internet that is the same issue I’m totally lost.

    • @rebelScience
      @rebelScience  2 года назад

      Are you on Windows by any chance?

  • @lagseeing8341
    @lagseeing8341 4 года назад +1

    I don't see a link for the rust community thing

    • @rebelScience
      @rebelScience  4 года назад

      You are right. It is Matrix network. You can install a client for it, called Riot and search for the Rust room or try accessing it through the browser here: matrix.to/#/!zXfJBqSUvXySmsZMtB:jki.re

  • @MikeJans
    @MikeJans 4 года назад +1

    thank you soooooooo much this video is amazing, please more videos....

    • @rebelScience
      @rebelScience  4 года назад

      Hey! Thanks. More to come for sure. I am just getting started. May I ask If you intended to do what you did yesterday? If there is a mistake, please let me know, and we can 'fix' it.

    • @MikeJans
      @MikeJans 4 года назад +1

      @@rebelScience Yes i intended to do it ;=) small donation for the python --> rust videos. Again thanks a lot

    • @rebelScience
      @rebelScience  4 года назад

      Thank you very very much. I really appreciate that, "small" donation.