view the rest of the comments
Ask Lemmy
A Fediverse community for open-ended, thought provoking questions
Rules: (interactive)
1) Be nice and; have fun
Doxxing, trolling, sealioning, racism, toxicity and dog-whistling are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them
2) All posts must end with a '?'
This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?
3) No spam
Please do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.
4) NSFW is okay, within reason
Just remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com.
NSFW comments should be restricted to posts tagged [NSFW].
5) This is not a support community.
It is not a place for 'how do I?', type questions.
If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.
6) No US Politics.
Please don't post about current US Politics. If you need to do this, try !politicaldiscussion@lemmy.world or !uspolitics@lemmy.world
7) No Hit-and-Run questions.
Please don't delete your post for no apparent reason. If you plan on deleting a question later, say so in the post, or if you feel that you have a good reason to remove it, message a mod beforehand. It's not fair to the ones who took their time to answer, and it's not in the spirit of the community.
8) No Bots.
Posts or comments from bots, LLM's, AIs, Neural Networks, Transformers, or Marvin the Paranoid Android are not welcome in AskLemmy. Real humans only please.
Reminder: The terms of service apply here too.
Partnered Communities:
Logo design credit goes to: tubbadu
Most modern games are written in C++. If you need speed using a high-level language, there is only C++ (or maybe optimized C#).
Most modern games are built on engines written in C++ but game development is usually done in languages like C# on top of those engines, no? Unless you're doing engine development you probably won't be touching C++
I could be wrong since I'm in software and not games but that seems to be the way
If you're building a game from start to finish in a game engine written in c++, you'll probably end up having to touch some c++ eventually. Better to learn that, than only ever learning a scripting language.
It depends on the engine. Unity is based on C# so it isn't as performant as Unreal Engine 4 and 5, which use C. Unreal Engine uses UnrealScript, which is an intermediary language based on Java, which is similar to C#. The Source/id/Quake engine also uses C.
Godot has GScript which looks a bit like Python and you can also write C++.
No. C# runs inside of the .NET common language runtime, which is Microsoft's version of the Java Virtual Machine. It's basically the layer that handles garbage collection and all the other conveniences people expect from modern languages. Because of the overhead associated with all that, C# will never have performance comparable to C or C++.
Mhmm, but to start out i feel its best to focus in one programming language only, if under those parameters python/c (whatever c variant) are better than javascript, while it might be better in theory to use the right tool for the job, that takes way more time than doing everything with a less optimal more generalized tool (i think)
If focusing on one language, learn one that is good because you’ll have to work in other languages eventually and a well structured language will make that a lot easier than a less well structured one.
I’m not a swe but I learned fundamentals in C++ (probably wouldn’t recommend that), work frequently in PowerShell, have played in C# a bit, and I’ve worked in Python a bit as well. Python seems like a really good place to start, today.
Another note - front end and back end isn’t usually the same skill set even if it is the same language.
Do you want do make web sites: TypeScript. Do you want anything else: Python.
Honestly just build. Dont worry about doing it right. Then try it a different way.
As a newbie the quick visual feedback of building stuff on web is nice to have, but maybe I should do python instead with some kind of ui thing? I do want to end up working in tech I'd say asap but its not the "starving and i mean money right now" asap, but like, not wasting unnecessary time.
https://openpython.org/articles/how-to-build-a-web-app-with-python