87
submitted 1 year ago by BearPear@lemmy.world to c/linux@lemmy.ml

Will there be performance and security improvements?

you are viewing a single comment's thread
view the rest of the comments
[-] Haugerud@discuss.tchncs.de 11 points 1 year ago

You can use compile time polymorphism in C++ without any runtime performance cost.

[-] PuppyOSAndCoffee@lemmy.ml 0 points 1 year ago

Compile time has got to be part of the convo esp when it comes to the kernel. The Linux kernel is one of the few bits where end-users are actively encouraged to compile from source. It is a feature!

Adding C++ compilitis is pain for what gain, from a kernel pov.

I am not a big fan of c++ overall however that is because other languages have emerged that are sweeter than C that gate some of the people issues with C++.

Anyone who has ever had a thing that was like a thing but not exactly the thing, in C, knows C ain’t great at that.

[-] anti_antidote@lemmy.zip -5 points 1 year ago
[-] cmeerw@programming.dev 8 points 1 year ago

The description says:

In this video, we'll do a deep dive on what C++ Polymorphism is, what "virtual" does under the hood, and ultimately why it is SUCH a performance hit compared to languages like C and Rust.

This is not about compile-time polymorphism.

[-] PipedLinkBot@feddit.rocks -1 points 1 year ago

Here is an alternative Piped link(s): https://piped.video/watch?v=aq365yzrTVE

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source, check me out at GitHub.

this post was submitted on 18 Aug 2023
87 points (97.8% liked)

Linux

48648 readers
1191 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS