GreenTea2@lemmy.org to Programming@programming.dev · 2 months agoWhere should a programmer use C++ instead of C#?message-squaremessage-square16linkfedilinkarrow-up16arrow-down15
arrow-up11arrow-down1message-squareWhere should a programmer use C++ instead of C#?GreenTea2@lemmy.org to Programming@programming.dev · 2 months agomessage-square16linkfedilink
minus-squaree8d79@discuss.tchncs.delinkfedilinkarrow-up2·2 months 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 months agoOh wow! Since when is this possible? I looked it up, it even works with Linux (and bunch of other OSes).
minus-squareKissaki@programming.devlinkfedilinkEnglisharrow-up2·2 months 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.
minus-squaree8d79@discuss.tchncs.delinkfedilinkarrow-up1·2 months agoI think they added AOT with .NET 6 and they are supporting Linux ever since the .Net Framework, .NET Core split.
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).
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.
I think they added AOT with .NET 6 and they are supporting Linux ever since the .Net Framework, .NET Core split.