I’ve been getting back into programming, lately.

Doing some very basic Python scripting, just for fun. Also tried out some more Rust, but holy shit is that rough!

Still, it’s fun to try and solve these problems.

  • insomniac_lemon@lemmy.cafe
    link
    fedilink
    English
    arrow-up
    2
    ·
    20 days ago

    If you haven’t looked into it, you might have better luck with Nim-lang (also you can use it with Python via Nimpy). Though there are also other similar languages that you might prefer depending on syntax.

    • gon [he]@lemm.eeOPM
      link
      fedilink
      English
      arrow-up
      2
      ·
      20 days ago

      Oh, I’ve heard of Nim before, but never ended up checking it out.

      Thanks for the rec!

      • insomniac_lemon@lemmy.cafe
        link
        fedilink
        English
        arrow-up
        2
        ·
        20 days ago

        Yeah, for me it strikes the perfect balance of ease and speed/power*. Not sure if you’re interested in Godot, but there are Nim bindings for it (gdext-nim). I contributed an example (but it’s just a number converter, like I did for the 3.X version of the bindings… I haven’t made anything game-like yet).

        Also there’s NimForUE, though I haven’t used it. I have used it a bit with Raylib (Naylib). Seen stuff like Nico or WASM-4, though I’m not really interested in pixel workflow/aesthetic.

        * though I have not assessed no-GIL/JIT Python, so it may-or-may-not undermine the performance argument for other newer languages

        • gon [he]@lemm.eeOPM
          link
          fedilink
          English
          arrow-up
          2
          ·
          20 days ago

          I’m not interested in Godot yet, but it’s good to know there’s good bindings for it and for UE.

          That being said, it looks really cool. I mean, it looks like Python, I should say. I’ll definitely be trying this out.