GreenTea2@lemmy.org to Programming@programming.dev · 7 days agoWhere should a programmer use C++ instead of C#?message-squaremessage-square16fedilinkarrow-up16arrow-down16
arrow-up10arrow-down1message-squareWhere should a programmer use C++ instead of C#?GreenTea2@lemmy.org to Programming@programming.dev · 7 days agomessage-square16fedilink
minus-squaree8d79@discuss.tchncs.delinkfedilinkarrow-up2·edit-27 days ago When you don’t want to depend on .NET runtime. There is an option for that in .NET.
minus-squarethingsiplay@lemmy.mllinkfedilinkarrow-up2·7 days 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·7 days 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·7 days 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.