GreenTea2@lemmy.org to Programming@programming.dev · 9 hours agoWhere should a programmer use C++ instead of C#?message-squaremessage-square11fedilinkarrow-up16
arrow-up16message-squareWhere should a programmer use C++ instead of C#?GreenTea2@lemmy.org to Programming@programming.dev · 9 hours agomessage-square11fedilink
minus-squaree8d79@discuss.tchncs.delinkfedilinkarrow-up2·edit-22 hours ago When you don’t want to depend on .NET runtime. There is an option for that in .NET.
minus-squarethingsiplay@lemmy.mllinkfedilinkarrow-up2·2 hours agoOh wow! Since when is this possible? I looked it up, it even works with Linux (and bunch of other OSes).
minus-squaree8d79@discuss.tchncs.delinkfedilinkarrow-up2·1 hour agoI think they added AOT with .NET 6 and they are supporting Linux ever since the .Net Framework, .NET Core split.
minus-squareKissaki@programming.devlinkfedilinkEnglisharrow-up2·1 hour agoMicrosoft has been working on AOT a lot for a few years now, for the last few dotnet versions. More and more became trimmable and compilable.
There is an option for that in .NET.
Oh wow! Since when is this possible? I looked it up, it even works with Linux (and bunch of other OSes).
I think they added AOT with .NET 6 and they are supporting Linux ever since the .Net Framework, .NET Core split.
Microsoft has been working on AOT a lot for a few years now, for the last few dotnet versions. More and more became trimmable and compilable.