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

Linux

45530 readers
982 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
 

Will there be performance and security improvements?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 23 points 10 months ago (11 children)

C++ is only as fast as C if you use only the parts of C++ that are identical to C. In other words, C is faster than C++

[–] [email protected] 11 points 10 months ago (4 children)

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

[–] [email protected] -5 points 10 months ago (2 children)
[–] [email protected] 8 points 10 months 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.

load more comments (1 replies)
load more comments (2 replies)
load more comments (8 replies)