RE: https://oldbytes.space/@thelastpsion/116345290344668595

And the results are in!

  • Pico C
  • Rust
  • Free Pascal
  • Joint with Pico C++, MicroZig and Yarg.
  • So, what am I going to do? Well, I'm leaning towards porting the existing Arduino C code to the Pico C SDK. I'm currently using one class for encapsulation and abstraction, but I could replace that with structs and static functions. I'm not a great C programmer, but I'm pretty comfortable with it, so it makes sense

    However, before I do that, I see a bigger challenge of getting a good setup without using VS Code. I've been using #NeoVim for a while now, and I'd like to get a comfortable setup using that on #Linux.

    So, I'm going to try to build Blinky projects for at least Pico C, Rust and Free Pascal, using Linux and NeoVim. Hopefully this will give me a better feel for how well these languages actually suit me. I've never done any Rust before, either, so that's going to be quite the learning curve!

    If I have time, I'm going to give Yarg a go, too, because I think the premise is really cool. If I'm on a roll, I'll try #MicroZig too.

    And if I really feel like I have the capacity, I'll port the code to one of these other languages.

    I'm acutely aware of all the other projects I've given myself to do, such as the SIBO SDK and other small Psion-related projects, not to mention $dayjob and $reallife. So we'll see how things go!

    #Pascal #FreePascal #ObjectPascal #RustLang #YargLang #RaspberryPiPico #PiPico #PiPico2 #RP2040 #RP2350

    @thelastpsion for Rust, i can highly recommend doing Rustlings alongsode reading The Rust Programming Language, as its different enough trying to jump in the deep end usually doesn't work out (quickly), even for highly experienced developers. Also, compiler errors are your friend and reading them carefully is worth it. Best of luck with the project!
    Rustlings

    Small exercises to get you used to reading and writing Rust code!