3 ms·
I spend a fair amount of time in C# and don’t think about performance a lot unless it’s obvious, O(N^2) type of stuff. I’m always trying to level up so I would
by elamje 7y ago
I spend a fair amount of time in C# and don’t think about performance a lot unless it’s obvious, O(N^2) type of stuff. I’m always trying to level up so I would appreciate some tips.
What tooling are you referring to that will make C# really fast?
Also, what are you referring to with non-devirtualized interfaces vs heap classes with LINQ?
- DeathArrow 7y agoHe talks mainly about stack vs heap allocation. Stackalloc, pointers and such.
- will_pseudonym 7y agoWhat's the best way to get started becoming a C# developer? What kinds of C# programmers are there? I know fullstack web stuff and some Python, but no idea where to start with more proper languages.
- jiggawatts 7y agoThere's a crazy amount of high quality guidance out there, a mere Google away. It's a popular language! Step one: Visual Studio Community Edition is free. Go install it. Don't waste time with Visual Studio Code, it's a toy compared to the proper VS. When I learn a language, I like to start with the basic primitives: functions, loops, variables, etc... Then, explore the types and the standard library. Note that the .NET Framework has a fantastically huge base library, way bigger than other languages with the exception of Java. It's already a bit of a task just to flip through the list of available classes let alone functions! Do programming challenges like Advent of Code. Start poking away at Real Problems. Go from there...
- softfalcon 7y agoC# does these things out of the box: - Desktop application development (Windows and macOS) - Web Development (API's with .NET Core, traditional Rails-style stacks with ASP.Net) - Game development (Unity) If you want to get into C#, traditionally, these are the 3 things you can pick up and find lots of resources on. Keywords to search on: - Desktop Apps: WPF, XAML, Xamarin - Web Dev: ASP.Net, .NET Core, Blazor - Game Dev: Unity Game Engine Good luck and happy learning/hunting!