Anyone have experience using Nim? The TLDR that I am seeing is compiled portable python/js replacement in a way.

I was thinking about trying to write a webserver with it and was wondering if anyone had any previous experience with it.

  • DumbAceDragon@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    In my experience, Nim is a language that you either fall in love with immediately or just try for a bit before going back to Rust or Python. My experience is the former, I absolutely love this language and I feel most people are missing out on it.

    Honestly I don’t really have anything to say about it other than it’s just a lot of fun to use. It’s got a great macro system, and the compile-time evaluation is the best, imo even better than Zig. It’s also got a large and comprehensive standard library, so for smaller projects you don’t really even need to use Nimble.

    But other than that, my love for this language is mostly just “I like how you write stuff and how that stuff works.” It’s a great language if you need to develop fast like Python, but run fast like C. It’s a language you can spend years learning the intricacies of, but pick up in a day. Nim was where a lot of programming concepts just clicked for me. It’s more than just a compiled Python, and I recommend playing around with it for a bit.

    • Gnubyte@lemdit.comOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Thank you so much for posting. It’s really nice to hear from someone with experience first hand.