Replies: 3 comments
-
|
C# being slower than python? Let me doubt about that. |
Beta Was this translation helpful? Give feedback.
-
Are you really asking for saving 7 keystrokes? Furthermore, you add ambiguity with this. There are so many classes that have "Write" method and family (streams, writers, pipes...) You have to remember that you can write a single (executable by a simple console/bash Java is dreaming about it, right now, in 2025. And this is the closer they can reach: class HelloWorld {
void main() {
System.out.println("Hello, world!");
}
} //look what they need to mimic a fraction of our power!Excuse me, but right now, writing c# simple apps is easier than ever, and is (in my opinion) easier than scripting in python. At least, here we have PS.: this should be in discussions. |
Beta Was this translation helpful? Give feedback.
-
|
C# and .NET have evolved quickly in recent years. It's really not sufficient to discuss C# without more knowledge.
This is a misunderstanding that I don't understand why people are continuously posting. Go is not new (2011), nor system-level (requires GC), nor fast.
No, GC won't always consume more memory. It would only consume more if the strategy were set to maximize performance, but it can also consume less because of the ability to move objects and compact the memory between them.
This has been happening for every release. We are always attentive about startup performance. The .NET 10 SDK introduces single-file mode without project file, and a gradual upgrade path to full project.
This has already been enabled in C# 6 (2015), with
Blazor Hybrid is complex by its nature - the "hybrid" in its name means combination with browser and native contents. Rocket in Rust is a pure backend server. It should be compared with ASP.NET.
Each domain has its specific requirement and community. There's nothing much to do in the base runtime and common libraries, and up to each environment to provide optimization.
This is an unrelated topic. Q# is not a native CLR language. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I’m still a beginner in C#, so please take this as a friendly discussion rather than criticism.
There are a few thoughts I’ve been reflecting on, and I’d love to hear your opinions:
C# is often described as a high-level language that’s relatively slower compared to newer system-level languages like Rust or Go.
However, with modern technologies like .NET JIT, AOT, and NativeAOT, performance has improved dramatically — though it still consumes more memory due to the Garbage Collector.
That said, I wonder if C# could evolve further by:
Optimizing core APIs and frameworks for lightweight execution, and
Simplifying syntax (e.g., allowing Write() instead of Console.Write() in simple contexts).
It’s more about improving developer flow without losing clarity.
Frameworks like Blazor Hybrid are powerful but come with steep learning curves and significant setup requirements.
While this complexity makes sense given its full-stack nature, it sometimes feels less practical compared to frameworks in other ecosystems — like Rocket in Rust, which prioritizes speed and simplicity.
Maybe the C# ecosystem could benefit from lighter, modular frameworks that lower the entry barrier while maintaining performance and productivity.
Personally, I think it would be exciting if C# evolved into more domain-focused “flavors,” for example:
C# Hardware (Arduino, IoT, embedded modules)
C# Web (full-stack, cloud-native)
C# Quantum (Q#, simulation, Azure Quantum)
C# Game (Unity, Unreal, high-performance rendering)
C# App (WF, WPF, cross-platform UI)
C# Network (socket-level, distributed computing)
Each could be an optimized environment with specific libraries and templates preconfigured, helping developers dive directly into their domain.
Why was QDK support removed from Visual Studio?
It used to be an interesting gateway to quantum programming. I hope it returns.
Beta Was this translation helpful? Give feedback.
All reactions