3 ms·
If C# didn't exist, we would certainly be a Java shop. Not only because of the ecosystem & tooling, but also because it is a language that has historically prov
by bob1029 6y ago
If C# didn't exist, we would certainly be a Java shop. Not only because of the ecosystem & tooling, but also because it is a language that has historically proven its ability to model incredibly complex business domains as well as support mission critical workloads without falling over on itself.
- azth 6y agoHow's your experience with C#/.NET been? Does it have an analogous offering to Java's JFR[0] for always-on profiling? [0] https://blogs.oracle.com/javamagazine/java-flight-recorder-and-jfr-event-streaming-in-java-14 https://blogs.oracle.com/javamagazine/java-flight-recorder-a...
- bpicolo 6y agoSeems like EventPipe is the C# equivalent? https://docs.microsoft.com/en-us/dotnet/core/diagnostics/eventpipe https://docs.microsoft.com/en-us/dotnet/core/diagnostics/eve...
- azth 6y agoIt seems somewhat similar, but I don't see mention of method traces (similar to a profile view in figure 7 in the blog post I listed).
- bpicolo 6y agoThere are tools built on top of it to that effect (eventpipe -> dotnet-trace -> tools built on top of trace) https://www.hanselman.com/blog/dotnettrace-for-net-core-tracing-in-perfview-speedscope-chromium-event-trace-profiling-flame-graphs-and-more https://www.hanselman.com/blog/dotnettrace-for-net-core-trac...
- bob1029 6y agoI am not familiar with the scope of JFR, but there have been some very recent movements around profiling in C#/.NET: https://devblogs.microsoft.com/dotnet/introducing-dotnet-monitor/ https://devblogs.microsoft.com/dotnet/introducing-dotnet-mon... https://devblogs.microsoft.com/dotnet/whats-new-in-dotnet-monitor/ https://devblogs.microsoft.com/dotnet/whats-new-in-dotnet-mo... My experience overall with the C# ecosystem has been fantastic. We started out on .NET Framework 4.x back in 2014-2015, and today are now talking about moving to .NET 6 and rewriting our native apps to use MAUI as November grows closer. A lot of the same code we had back in 2015 is still running today with zero modifications.
- switch007 6y ago“historically proven its ability to model incredibly complex business domains” You surely can’t be talking about its type system?
- bob1029 6y agoI certainly prefer the type system of C# over Java, but the latest things I've seen come out of the Java camp give me confidence that I could port most of the same ideas across the way without too much friction if need be.
- switch007 6y agoYou said historically, by which I assumed you meant older Java versions, not later ones.