← concepts · the commons
Nim
5 moment(s) that assert this concept — showing 1–5 of 5
single sourceRests on a single channel — treat as a lead, verify independently
↣ how this spread over time →Nimward · youtube · en
1Nim is a statically typed, compiled language that offers high performance and productivity, which the speaker finds appealing compared to Python.
“Nim is the same way but advantage here of nim is that uh it is extremely uh fast and uh it's uh statically typed and compiled”
spoken · 58s · 2023-10-08
Nimward · youtube · en
2The Run prompt in Nim operates in an endless loop, printing a character prompt and reading input lines until a null line is entered, at which point it breaks and processes the input.
“basically just in an endless loop it prints this little character which is like you know the prompt basically that you'll see there it then reads a line if you just press enter and pass nothing right that's where the line will be null then it breaks out of the loop um it breaks and then uh will um otherwise it it actually runs the line right so the reppel just continues so long as you feed at these lines”
spoken · 437s · 2023-10-08
Nimward · youtube · en
3Nim simplifies input handling compared to Java, which requires complex hierarchies of stream readers and buffered readers, whereas Nim provides direct, lightweight methods for reading from standard input or command line parameters.
“I think jav was sort of Infamous for having this whole crazy um objectoriented kind of class hierarchy for the input stream readers and buffered readers and so you know like here for example you're uh you want to read from system in you have to put that into an input stream reader put the input stream reader into a buffered reader whatever I'm sure there are good reasons for that maybe not who knows um we're going to see that uh you know I was sort of not really surprised that when translating this over to Nim which is going to be the part of this how learning Nim things are a lot simpler there's kind of convenience methods for doing all this stuff you don't need to wrap this into that and do all this kind of crazy thing there you know it's the these sort of interfaces um as far as I know right now and I don't really know a lot they don't really exist in uh Nim at least not in the same way as far as I can tell right they certainly don't exist in the same way they do with Java”
spoken · 477s · 2023-10-08
Nimward · youtube · en
4Nim achieves performance comparable to compiled languages like C or C++ while maintaining a high-level, readable syntax with minimal ceremony.
“the performance you get here from Nim is kind of insane that's sort of what excites me at the language is like getting like close to or like much closer to se level performance in this kind of higher level language that is like a statically typed compiled language that's just what excites me about Nim as the Lang”
spoken · 556s · 2023-10-08
Nimward · youtube · en
5Nim code has a lightweight syntax that is visually similar to Python, despite being a statically typed, compiled language with advanced features.
“you will see that it is uh you could really mistake it for python obviously if you squinted even a little bit closer you'd see like VAR and the let de uh statement and all that kind of stuff but the point is like it's pretty light on syntax which is really nice you know so like even though it's it's a more advanced language and it has static types and all of that it's not you know we're not we're not looking at rust here or Scala or even cotlin or something like it is it does have a much more kind of down toe light sort of vibe to it the lack of a better way of putting it it's obviously not very precise but”
spoken · 599s · 2023-10-08