this post was submitted on 18 May 2022
29 points (96.8% liked)

Linux

48133 readers
1048 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
top 10 comments
sorted by: hot top controversial new old
[–] Amicchan@lemmy.ml 11 points 2 years ago

I hope it's copyleft.

[–] ravermeister@lemmy.rimkus.it 10 points 2 years ago (2 children)

maybe they are afraid of redox :) I'm looking forward to test a Unix like OS with a Kernel written completely from scratch in Rust

[–] Ephera@lemmy.ml 9 points 2 years ago (1 children)

I think, they're simply aware that few young devs learn C these days. The former Lingua Franca is declining in popularity and if they still want to have devs in twenty years, they need to start making a move now. Porting the whole kernel to a different language is going to take a long time...

[–] ravermeister@lemmy.rimkus.it 2 points 2 years ago (1 children)

Hmm, but I hear from many students that they at least had a contact with C. In my opinion the problem with C is, that you have to take care of too many things, e.g memory and pointer management, which can fast turn into really difficult to understand code, especially when you're dealing with many libraries. Having a language which helps in memory management is a very big help and lead's to more stable code

[–] Ephera@lemmy.ml 1 points 2 years ago

I've had contact with C in a course in university, too, but I never felt anywhere close to as productive as with e.g. Java. Learning C felt more like a historic exhibition than like learning a tool I would actually use.

And yeah, there's this saying/quote, which goes something like "code is low-level when it concerns itself with uninteresting details". And C definitely feels like that to me.

Rust has kind of broken that saying, because it allows low-level machine access, but actually offers rather high-level abstractions.
I mean, you do notice that Rust doesn't use garbage collection, so that is one detail which I largely deem uninteresting as a human that just wants to make things go beep-boop, but yeah, it is still an enormous improvement in the uninteresting details department.

[–] angarabebesi@lemmy.ml 3 points 2 years ago

Does it run on any modern hardware?

[–] Tiuku@sopuli.xyz 2 points 2 years ago

How great is Rust without an operating system? I mean that hosted C++ implementations are great with their algorithms and whatnot, but freestanding implementations don't actually add too much to plain C.

[–] obbeel@lemmy.ml 1 points 2 years ago (2 children)

Firefox trusts Rust, I distrust Rust. It's as simple as that.

[–] ravermeister@lemmy.rimkus.it 1 points 2 years ago

In the end you can't trust any high level programming language. Nobody looks into the generated assembler code, or reads and understands all the vm's/interpreter...

[–] Amicchan@lemmy.ml 1 points 2 years ago

Well I distrust Mozilla; so I'm neutral on this opinion.