Thank you! :)
Cool. Played around with it. I have always wanted to create language myself. I
found out that if Im gonna be skilled enough in the future I will make a
translator to python. That way I can use python libraries, yet write in my own
style.
Holy smoke, that is the most elegant and beautiful code I have ever seen. So
neat and tidy, I don't only care about functional code, code to me is also
aesthetics and art. I would really love to try out your interpreter. Is there a
beginners crash course for this language? Combining Ruby style w
Visual Basic, those were the times! I remember as a teen I made multiple
malicious "applications" that were extremely easy to tweak to add to startup in
windows and go completely undetected by the major antivirus programs. Once
program shut the computer down after like 10 seconds with an annoyin
I wanted to learn Seed7, but guess what... There is no "domain website" like
nim-lang. Almost no intuitive documentation, no youtube videos, tutorials,
books, "marketing", non-existent community, probably no businesses that use it.
Considering it is so much work creating a language/translator/co
Im working on a brain exercise program based on several different techniques.
1. World scrambling for instance: orldW cSarbmling
2. Relationships: Lisa is older than Tom. Tom is older than Martin.
Is Martin older than Lisa?(These statements are going to be scrambled)
3\. N-back(A little bi
This is the biggest problem IMO with lesser known languages. There is far to
little documentation that is understandable for those who are not already
advanced programmers. This I believe is also the reason why popular languages
continue to be popular and less popular languages stays niche. Ther
Truth as it's told! Wise post indeed. I hear people talking about speed of the
implementation rather than the language? I always heard people separating
between CPython the implementation and the Python language. If one had a super
powerful AI optimizer I would assume that all languages would be
Cool project.
Thank you!!! Perfect!!
Hi I have tried several times to create Getter and Setter methods in my project
but failed.
The code is this:
type
Human = ref object of RootObj
age: int job: string height: int weight: int
var Frank : Human
proc getAge(a: Human, age: int): int =
return a.age
Frank = Human(age:
I am pretty sure you are right on all these things. It is a no-brainer for me,
Nim is the obvious choice for me. Since Nim can compile to C, C++, js and
Obj-c, the sky is the limit. But we need that Qt Studio integration, or at
least more helpful manual/tutorials to get the Nim beginners like me
That is true. Even though most programmers can easily migrate to Nim, the path
of least resistance is to use something that is already popular.
What about embedded systems and micro controllers? I could really see this as a
place where Nim might be able to compete with the big boys.
Delphi has now the ability to run its code and GUI's on multiple platforms. In
a study Delphi had 70% of the speed of Microsoft visual c++ compiler. But
Delphi's compiler is lightning fast, it is almost like python in that sense.
Delphi also has an amazing RAD development package and is easy to
I find that it is more readable when you declare what data type it is. You
don't have to comment as much, so it is more orderly IMHO. I think Python have
the extreme edge on most language with all these libraries. It seem neural
networks and AI in general is leaning towards python, and AI is the
This makes perfect sense, now I have more arguments when recommending Nim to
advanced programmers. Thank you for your answers. I am planning to make a tiny
toy language(I have a lot of reading and practise to do). Is nimly the way to
go? Are there any manuals available? Thank you for all answers
I have a question that I have been thinking about since I discovered Nim. How
does Nim compare to other languages like C/C++, python,Java as far as
productivity and terseness? How compact are Nim applications? Can one write a
Nim equivalent to a C++ program in dramatically fewer lines of code? A
Wow, thanks was exactly what I was looking for. The only thing I need now is
some tutorials on GUI creation in Nim.
Dont fix it if it aint broken IMO. I think they are great!
Can't wait to see it. As a beginner I really want to read this.
I I like it just they way it is. But as a recording enthuisiast, the easiest
way to get rid of the typing and backround noise is to buy a cheap lavalier mic
and put it close to your mouth and maybe use a compressor and maybe a noise
gate. But as I said, I think your videos are excellent they way
The chess game looks awesome. Impressive stuff for such a small amount of code.
Is it just me or do Nim create really compact code? I would imagine C++ with
the libraries might require more.
When that is said, the chess game is a little too advanced for me at this
moment. But I might try it a l
I tried that game but it gives me error. It says newGame is not declared. I
don't see any myself. I did "import ui" on top of project.
proc gui*() =
var mainwin = newWindow("tictactoe", 400, 500, true)
# game object to contain the state, the players, the difficulty,... var g =
newGame(aiP
Hi I need some help with tips to write some beginner level programs in Nim. I
wonder if you have examples of some simple projects I can do to improve my
coding skills? I am very interested in things like Tic Tac Toe game, Snake game
or any kind of cool, interesting or rewarding projects that is
These videos are amazing. The number one thing for me when choosing what
languages to learn is the amount and quality of teaching material, and how
helpful the community of the language has. These videos are so well paced and
well explained that almost anyone can learn it. In my experience with
A tutorial would be awesome! What language do you speak? It could be translated
with google translate, and then another member could improve the english if it
needs to.
Im trying to compile the Tic Tac Toe UI game on xmonader.github.io But I get
this error saying: cc1plus.exe: fatal error:
C:Userstorar.nimblepkgsui-0.9.4uilibuiwindowsalloc.cpp: Permission denied
compilation terminated.
I tried running CMD in Admin mode, and I tried setting cc1plus.exe to
admi
Im trying to compile the Tic Tac Toe UI game on xmonader.github.io But I get
this error saying: cc1plus.exe: fatal error:
C:Userstorar.nimblepkgsui-0.9.4uilibuiwindowsalloc.cpp: Permission denied
compilation terminated.
I tried running CMD in Admin mode, and I tried setting cc1plus.exe to
admi
Yes, it didn't work. However the graphics on the picture was really nice,
almost like the standard chess board just nicer looking. And 1400 lines for a
fully functional chess game is really cool.
Please let us know if you upload the chess game :D . How many lines of code did
it take if I may ask?
This assert == stuff keep popping up constantly in the code examples. Can I
just remove them?
var collection: set[int16] assert collection == {}
is it the same as: if collection == {} and if it is false it gives conpiler
error?
Thank you. That was helpful. Thanks for the links also. Can't wait to be
skilled enough to make the Brainfuck compiler ;-D
Hi I was hoping it was ok for me to make a thread like this since I found no
other thread when using search. I am reading and writing all the examples in
the Nim in Action book which is extremely helpful. But there are some things
not explained. I was hoping beginners could post questions here t
+1 Yes please, please continue with these. They are extremely helpful for
someone like me trying to learn the basics. Coming from a Python background I
found Nim to be just perfect. I won't be needing Python anymore unless I have
to use it for AI ect.
34 matches
Mail list logo