Re:Java's records, Lombok's data, and Kotlin's data classes
by bob1029 on Friday May 07, 2021 @02:35PM
(#27079245)
I 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-mon...
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.
Re:Java's records, Lombok's data, and Kotlin's data classes
by bpicolo on Friday May 07, 2021 @02:12PM
(#27078921)
Seems like EventPipe is the C# equivalent? https://docs.microsoft.com/en-us/dotnet/core/diagnostics/eve...
Re:Java's records, Lombok's data, and Kotlin's data classes
by azth on Friday May 07, 2021 @02:17PM
(#27079001)
It 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).
Re:Java's records, Lombok's data, and Kotlin's data classes
by bpicolo on Friday May 07, 2021 @02:21PM
(#27079045)
There 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-trac...
[0] https://blogs.oracle.com/javamagazine/java-flight-recorder-a...