▲ 223 ▼ White House urges developers to dump C and C++ (www.infoworld.com) submitted 2 years ago by L4s@lemmy.world [M, B] to c/technology@lemmy.world 79 comments fedilink hide all child comments White House urges developers to dump C and C++::Biden administration calls for developers to embrace memory-safe programing languages and move away from those that cause buffer overflows and other memory access vulnerabilities.
[–] Jakeroxs@sh.itjust.works 3 points 2 years ago (2 children) C# permalink fedilink source parent hideshow 4 child comments replies: [–] scharf_2x40@lemmy.world 7 points 2 years ago* (1 child) Isn't that only microsoft exclusive and closed source? Also does compiling it really yield the same speed as C, it is garbage collected isn't it? permalink fedilink source parent hideshow 2 child comments replies: [–] lemann@lemmy.dbzer0.com 9 points 2 years ago (1 child) Was always possible to compile+run C# on Linux using the Mono project. Until Microsoft "bought them out" and created .NET Core, a cross platform version of .NET that MS now encourages people to use instead... Microsoft's new linux compile tools rub me the wrong way slightly, with the telemetry that's opt-in by default. Mono is still extremely valuable for older .NET Framework apps under WINE though, way easier to setup compared to the official installers from what i've experienced. No idea how compiled C# compares to C... permalink fedilink source parent hideshow 2 child comments replies: [–] sunbeam60@lemmy.one 9 points 2 years ago (1 child) Compiled C# is about half the speed of C/C++ https://benchmarksgame-team.pages.debian.net/benchmarksgame/box-plot-summary-charts.html permalink fedilink source parent hideshow 2 child comments replies: [–] Jakeroxs@sh.itjust.works 1 point 2 years ago (1 child) But it also doesn't have memory leaks lol permalink fedilink source parent hideshow 2 child comments replies: [–] sunbeam60@lemmy.one 2 points 2 years ago (1 child) Definitely. I’ve worked professionally in both. They both have a time and place. I’d be fine with moving all the low level stuff to Rust, but transitions don’t happen by decree so C/C++ will be around for the next 100 years too. permalink fedilink source parent hideshow 2 child comments replies: [–] Jakeroxs@sh.itjust.works 1 point 2 years ago True that, I'm only at the beginning of my programming journey, so I have a very rough understanding of the differences, pros/cons, and best use cases for various languages. permalink fedilink source parent [–] Asifall@lemmy.world 3 points 2 years ago *proceeds to wrap everything in unsafe {} permalink fedilink source parent
[–] scharf_2x40@lemmy.world 7 points 2 years ago* (1 child) Isn't that only microsoft exclusive and closed source? Also does compiling it really yield the same speed as C, it is garbage collected isn't it? permalink fedilink source parent hideshow 2 child comments replies: [–] lemann@lemmy.dbzer0.com 9 points 2 years ago (1 child) Was always possible to compile+run C# on Linux using the Mono project. Until Microsoft "bought them out" and created .NET Core, a cross platform version of .NET that MS now encourages people to use instead... Microsoft's new linux compile tools rub me the wrong way slightly, with the telemetry that's opt-in by default. Mono is still extremely valuable for older .NET Framework apps under WINE though, way easier to setup compared to the official installers from what i've experienced. No idea how compiled C# compares to C... permalink fedilink source parent hideshow 2 child comments replies: [–] sunbeam60@lemmy.one 9 points 2 years ago (1 child) Compiled C# is about half the speed of C/C++ https://benchmarksgame-team.pages.debian.net/benchmarksgame/box-plot-summary-charts.html permalink fedilink source parent hideshow 2 child comments replies: [–] Jakeroxs@sh.itjust.works 1 point 2 years ago (1 child) But it also doesn't have memory leaks lol permalink fedilink source parent hideshow 2 child comments replies: [–] sunbeam60@lemmy.one 2 points 2 years ago (1 child) Definitely. I’ve worked professionally in both. They both have a time and place. I’d be fine with moving all the low level stuff to Rust, but transitions don’t happen by decree so C/C++ will be around for the next 100 years too. permalink fedilink source parent hideshow 2 child comments replies: [–] Jakeroxs@sh.itjust.works 1 point 2 years ago True that, I'm only at the beginning of my programming journey, so I have a very rough understanding of the differences, pros/cons, and best use cases for various languages. permalink fedilink source parent
[–] lemann@lemmy.dbzer0.com 9 points 2 years ago (1 child) Was always possible to compile+run C# on Linux using the Mono project. Until Microsoft "bought them out" and created .NET Core, a cross platform version of .NET that MS now encourages people to use instead... Microsoft's new linux compile tools rub me the wrong way slightly, with the telemetry that's opt-in by default. Mono is still extremely valuable for older .NET Framework apps under WINE though, way easier to setup compared to the official installers from what i've experienced. No idea how compiled C# compares to C... permalink fedilink source parent hideshow 2 child comments replies: [–] sunbeam60@lemmy.one 9 points 2 years ago (1 child) Compiled C# is about half the speed of C/C++ https://benchmarksgame-team.pages.debian.net/benchmarksgame/box-plot-summary-charts.html permalink fedilink source parent hideshow 2 child comments replies: [–] Jakeroxs@sh.itjust.works 1 point 2 years ago (1 child) But it also doesn't have memory leaks lol permalink fedilink source parent hideshow 2 child comments replies: [–] sunbeam60@lemmy.one 2 points 2 years ago (1 child) Definitely. I’ve worked professionally in both. They both have a time and place. I’d be fine with moving all the low level stuff to Rust, but transitions don’t happen by decree so C/C++ will be around for the next 100 years too. permalink fedilink source parent hideshow 2 child comments replies: [–] Jakeroxs@sh.itjust.works 1 point 2 years ago True that, I'm only at the beginning of my programming journey, so I have a very rough understanding of the differences, pros/cons, and best use cases for various languages. permalink fedilink source parent
[–] sunbeam60@lemmy.one 9 points 2 years ago (1 child) Compiled C# is about half the speed of C/C++ https://benchmarksgame-team.pages.debian.net/benchmarksgame/box-plot-summary-charts.html permalink fedilink source parent hideshow 2 child comments replies: [–] Jakeroxs@sh.itjust.works 1 point 2 years ago (1 child) But it also doesn't have memory leaks lol permalink fedilink source parent hideshow 2 child comments replies: [–] sunbeam60@lemmy.one 2 points 2 years ago (1 child) Definitely. I’ve worked professionally in both. They both have a time and place. I’d be fine with moving all the low level stuff to Rust, but transitions don’t happen by decree so C/C++ will be around for the next 100 years too. permalink fedilink source parent hideshow 2 child comments replies: [–] Jakeroxs@sh.itjust.works 1 point 2 years ago True that, I'm only at the beginning of my programming journey, so I have a very rough understanding of the differences, pros/cons, and best use cases for various languages. permalink fedilink source parent
[–] Jakeroxs@sh.itjust.works 1 point 2 years ago (1 child) But it also doesn't have memory leaks lol permalink fedilink source parent hideshow 2 child comments replies: [–] sunbeam60@lemmy.one 2 points 2 years ago (1 child) Definitely. I’ve worked professionally in both. They both have a time and place. I’d be fine with moving all the low level stuff to Rust, but transitions don’t happen by decree so C/C++ will be around for the next 100 years too. permalink fedilink source parent hideshow 2 child comments replies: [–] Jakeroxs@sh.itjust.works 1 point 2 years ago True that, I'm only at the beginning of my programming journey, so I have a very rough understanding of the differences, pros/cons, and best use cases for various languages. permalink fedilink source parent
[–] sunbeam60@lemmy.one 2 points 2 years ago (1 child) Definitely. I’ve worked professionally in both. They both have a time and place. I’d be fine with moving all the low level stuff to Rust, but transitions don’t happen by decree so C/C++ will be around for the next 100 years too. permalink fedilink source parent hideshow 2 child comments replies: [–] Jakeroxs@sh.itjust.works 1 point 2 years ago True that, I'm only at the beginning of my programming journey, so I have a very rough understanding of the differences, pros/cons, and best use cases for various languages. permalink fedilink source parent
[–] Jakeroxs@sh.itjust.works 1 point 2 years ago True that, I'm only at the beginning of my programming journey, so I have a very rough understanding of the differences, pros/cons, and best use cases for various languages. permalink fedilink source parent
[–] Asifall@lemmy.world 3 points 2 years ago *proceeds to wrap everything in unsafe {} permalink fedilink source parent