nim-lang.org

samus7070, to programming in [Discussion] Nim Programming language - thoughts?

I’ve never been a big fan of transpiled languages. I’ve looked at Nim a few times over the years and while it looks nice, I’ve never found it more compelling than other languages. Chances are there is at least one more not quite mainstream language that does something cool that will fit your usecase more and not be transpiled.

FriendOfFalcons,

Nim is not transpiled. Transpilation means translation between equal levels of abstraction. The C code generated by Nim is not something most people would do anything with.

samus7070,

IMO going from one programming language to another is the same level of abstraction regardless whether the target language is closer to the metal or not. If Nim compiled to assembly or some byte code, that is a lower level. I can’t say that I’ve ever wanted to do anything with the output of a transpiler aside from just send it on to the next stage. I’ve never seen any machine generated source code fit for human consumption. Even typescript produces a lot of boiler plate that would not be pleasant to try and maintain.

janAkali, to programming in Zen of Nim
@janAkali@lemmy.one avatar

Good resources about Nim, I’ve collected for past month while learning and falling in love with it:
Nim-Lang.org - Tutorials on the official website is one of the best ways to learn syntax.

Nim is one of supported languages on Exercism - free and open source platform for coding exercises.
A brief introduction to Nim by Exercism
Nim in 100 seconds by Fireship

Computer Programming with the Nim Programming Language - One of 3 books about Nim and the only free one.
Summary of Nim features and resources. Warning! AI-generated, so don’t rely on it too much.
Nim by Example. - Useful for quick syntax overview
Official Curated List of useful packages
Example of making a real program in Nim (brainfuck interpreter)
How to build and deploy static binaries with musl
Nim is not a transpiler

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • KamenRider
  • Ask_kbincafe
  • TheResearchGuardian
  • KbinCafe
  • Socialism
  • oklahoma
  • SuperSentai
  • feritale
  • All magazines