hi all

im relatively new to programming, mainly out of an interest in game 
development. i've only been learning since about a year plus, and started with 
c#, and have also recently picked up c++, even though it has been highly 
discouraged to do so. i still want to learn it anyway because so much stuff is 
built with c++ and also because i just want to. i like both languages and i 
think im somewhat aware of the controversy around these languages.

so im pretty much a newbie but from what i've been reading, nim sounds like a 
pretty nice language to pick up as well. i read a lot of good things about it 
and ive gone over a few tutorials. im going to start the exercism course on it 
soon i think.

ive a bit of an obsession with performance and cleanliness. especially the type 
of software im interested in working is performance-critical. i have a interest 
in writing low level stuff. nim seems ideal. but i wonder how c# stacks up to 
nim. maybe i should do more tests. but some test programs ive recently written, 
particularly string heavy ones, c# seems faster than nim by quite a bit. for 
example it seems string manipulation (like concatenation) is a lot faster in c# 
than in nim, and even way faster in c++

also this benchmarks website (admittedly i dont know a whole lot about 
benchmarks and how much i can understand from them) seems to place c# quite a 
bit ahead of nim in more tests than i would've believed based on what i've 
heard about nim's performance:

<https://programming-language-benchmarks.vercel.app/nim-vs-csharp>

but i do like how nim programs consistently have few lines of code than the 
same program in really most other languages which seems like a good thing

i dont know what timeout means in this context. does it mean the program failed 
to complete at all?

anyway long story short i was wondering why should a c# programmer, with all 
the recent performance improvements that come with .net 7, consider more 
seriously committing to nim?

Reply via email to