News for hackers. Stuff that matters.
Re:Why Use Nim over C#? by waldarbeiter on Wednesday March 01, 2023 @05:14AM (#34980681)
Conclusion: Don't trust people who highly discourage you to learn C++.
Re:Why Use Nim over C#? by p0nce on Wednesday March 01, 2023 @05:42AM (#34980850)
Unfortunately the cost of learning C++ has increased.
Re:Why Use Nim over C#? by waldarbeiter on Wednesday March 01, 2023 @05:53AM (#34980938)
Totally agree, my comment certainly was provocative but OP mentioned that he "still want to learn it anyway because so much stuff is built with c++ and also because i just want to" after he got discouraged to learn C++. And I think with that in mind he should just start learning C++ and make his own experience with the language.
Re:Why Use Nim over C#? by jb1991 on Wednesday March 01, 2023 @05:20AM (#34980730)
That’s a silly conclusion to draw. Plenty of high profile, well-known, expert C++ developers have made similar recommendations in recent years and are even working on alternate languages.
Re:Why Use Nim over C#? by hardware2win on Wednesday March 01, 2023 @05:16AM (#34980704)
Be honest with yourself

CPP ecosystem is far from being sane in compare to e.g Rust.

Re:Why Use Nim over C#? by saidinesh5 on Wednesday March 01, 2023 @05:32AM (#34980790)
In my experience, there's no such thing as cpp ecosystem... What there are, are many little ecosystems that revolve around various subsets of the giant language called C++. And they tend to range from quite fun to use to living nightmares/walking zombies...

For eg, if you just stick to Qt/C++/QML ecosystem for making GUI/Embedded apps, the libraries are quite good, the developer tooling is quite nice, you never even leave your IDE. Infact it is nicer than what Rust has to offer for GUI today. However, if you want to make webapps/services with C++, my experience has been death by thousand cuts. I have heard similar stories from developers coming from Windows/VC++. For a lot of them, cross platform portability isn't a thing to worry about. A lot of them just store compiled dlls and header files of their dependencies in their repos etc...

Re:Why Use Nim over C#? by pjmlp on Wednesday March 01, 2023 @05:25AM (#34980766)
While it has lots of warts, and no matter what it won't ever be Rust like safe, Rust still has 40 years of libraries, IDEs and tooling to catch up to.

And until it gets bootstrapped, it will have a dependency on C++ compiler infrastructure.

Re:Why Use Nim over C#? by bilekas on Wednesday March 01, 2023 @05:20AM (#34980732)
Care to elaborate further on that ? Not sure what you mean about CPP 'ecosystem' being far from sane.
Re:Why Use Nim over C#? by hardware2win on Wednesday March 01, 2023 @06:50AM (#34981307)
Bilion build systems, package managers, compilers, test frameworks, etc etc

You change company and you have to relearn all boring tools

Re:Why Use Nim over C#? by pictur on Wednesday March 01, 2023 @05:18AM (#34980722)
are you serious with this comment or is it a joke?
Re:Why Use Nim over C#? by hardware2win on Wednesday March 01, 2023 @06:51AM (#34981322)
Very serious
Re:Why Use Nim over C#? by mlatu on Wednesday March 01, 2023 @05:49AM (#34980896)
I agree, being discouraged from using a more powerful tool should be reason to pause.. too bad OP didnt elaborate on that bit

allthough... i can see reasons to avoid c++ in favour of other (systems) plangs but ultimately you will use whatever the team uses :D

Re:Why Use Nim over C#? by cardanome on Wednesday March 01, 2023 @06:10AM (#34981047)
As a young lisp-weenie I have done my fair share of C++ bashing that I now regret so maybe it is just the arrogance of youth but still I kind of feel sad about the toxic attitudes in certain system programming languages communities (looking at you Rust) against the "competition".

If nothing else, C++ is worth a look for its excellent libraries that will not be replaced anytime soon.

It is great to see that the Nim community is more pragmatic and level-headed.