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
[-] PuppyOSAndCoffee@lemmy.ml 0 points 1 year ago

Makes for a nice call out on a slide but in reality? Are we sure? Why not both?

[-] JulianRR@lemmy.world 2 points 1 year ago

I think at some level you can't really get both. The rust compiler is constantly being sped up, but the amount of checking it does simply takes time.

It's the age old adage "The fastest code is the one that doesn't exist". The fastest compilation checks are the ones you don't do.

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

Situation is everything.

speed matters when it comes to systems-level logic/code. Zig strikes that balance very nicely.

Industry cares at the systems level. If a "safe" kernel is 4x slower (compilation, run-time) and there is an "unsafe" option that is just as secure, outside of a cadre of philosopher kings/queens (more power to 'em), practical teams will hit that ~~unsafe~~ performance boosting switch every time.

C is as safe as the situation & the code dictates. Zig makes it easier to be safe in most situations and excels at promoting systems-level safety.

App level, or app API? Where there is more of an x-factor? rust has a great use case. In "user-land", availability matters almost as much as performance.. An app that always crashes is not as valuable as a slower app that never crashes...

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