News for hackers. Stuff that matters.
Re:Why Use Nim over C#? by cardanome on Wednesday March 01, 2023 @05:50AM (#34980901)
C# is an excellent language with an great ecosystem and lots of jobs available. Also, if you ever want to go a bit more functional, F# is excellent.

My personal reason for avoiding it is purely political: I don't trust Microsoft. I try to not rely on languages that are controlled by a single monopolistic corporations. Considering the recent case of the golang compiler planning on getting telemetry, I feel validated in that decision.

As for game development, I think the game engine of choice will already dictate what one should learn.

Unity is still king of casual and mobile games, so if that is your niche, learning C# is a no-brainer. Plus Godot has decent C# support now, if you ever need to change horses.

As for more complex 3d games, Unreal 5 is just insanely good. Nanite and Lumen offer tremendous improvements in both development experience and end result. Here learning some C++ is advised but funny enough, there are actually Nim bindings as well. If you don't mind getting into somewhat untested waters, Nim might be a very good choice here.

Re:Why Use Nim over C#? by deafpolygon on Wednesday March 01, 2023 @06:08AM (#34981037)
> Considering the recent case of the golang compiler getting telemetry

Is this for certain? I thought this was still in the discussion phase.

Re:Why Use Nim over C#? by cardanome on Wednesday March 01, 2023 @06:19AM (#34981106)
I should have phrased that as "planning to".

After the significant push-back it seems like are considering doing only opt-in telemetry[1] which would be acceptable.

So not that bad for now but who knows. Once telemetry is in place, they might try to change it to opt-out at a later date when less push-back is expected. Still setting a problematic precedent and shows why corporate control about a programming language might become problematic.

[1] https://research.swtch.com/telemetry-opt-in

Re:Why Use Nim over C#? by pjmlp on Wednesday March 01, 2023 @08:44AM (#34982291)
When those corporations not put the money into the work, even free beer C and C++ compilers suffer, see clang current state of ISO support.
Re:Why Use Nim over C#? by brudgers on Wednesday March 01, 2023 @10:00AM (#34983108)
Not trying to change your politics. People hate Microsoft for many reasons.

C# has an ECMA standard (334).

I.E. it has a public specification.

Some versions also have an ISO Standard.

https://www.ecma-international.org/publications-and-standard...

Re:Why Use Nim over C#? by sebazzz on Wednesday March 01, 2023 @10:14AM (#34983249)
> I try to not rely on languages that are controlled by a single monopolistic corporations

Only languages or frameworks too? Because there aren't many which aren't controlled by a single entity. Sometimes it is just not that obvious.