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
[-] Cpo@lemm.ee 0 points 1 year ago

while C has to fiddle with void* and function pointer to get similar flexibility, which are much harder to optimize, as none of the type information is there.

I thought we were discussing speed, not ease of use?

[-] lloram239@feddit.de 0 points 1 year ago

If you manually hand optimize every line of code, C and C++ are identical. That's a worthless discussion to have. The point is that you can write in C++ high level code that would require substantial code duplication to match the speed in C, as C just doesn't offer the tools for that level of abstraction.

[-] Cpo@lemm.ee 0 points 1 year ago

...so now we are discussing not speed again but ease of use.

Not everything with an R in it is faster than C. Read up about it. Everyone says so.

I'm out.

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

Linux

48058 readers
771 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