Originally posted by mdedetrich
View Post
Announcement
Collapse
No announcement yet.
Rust For The Linux Kernel Sent Out For Review A Fourth Time
Collapse
X
-
Originally posted by CommunityMember View Post
Actually, the most successful OSs (and their predecessors) were written in System 360/370/ESA/Z assembly language and (in some cases) PL/X. z/OS, z/VM, z/TPF, z/VSE are the current variants. While you may never have heard of those OS's, they do run a significant part of the underlying infrastructure and would be considered advanced and successful.
Comment
-
Originally posted by pabloski View PostRust makes the same thing to the programming problem. The restrictions imposed by the ownership rules, make it possible for the compiler to track the lifecycle of a program object from the start to the end. This is why Rust's compiler can catch a lot of bugs at compile time.
- Likes 1
Comment
-
Originally posted by Volta View Post
To be honest I'm not against Rust. The only language I considered worth to learn was C (and assembler, but it was long ago), but Rust may be the next one. I need a programming language for micro-controllers and I hate C++. I even prefer to write my own functions in C instead of using scanf() or stupid fgets().
- Likes 1
Comment
-
Originally posted by jacob View PostUsing gets() should be a criminal offense
but other than that C is in many cases (unfortunately) still the go-to language for microcontrollers. The reason is binary size. In Rust virtually everything uses generic types (even in libcore) which need monomorphising. The resulting binary is often significantly larger than if it was written in C. For many applications it's the price worth paying for Rust's advantages (and honestly whether an executable is 20kb or 500kb absolutely doesn't matter on a PC), but with a 16-bit address space it's a problem.
- Likes 1
Comment
-
Rust support can be merged if it supports at least half of those architectures: Alpha, ARC, ARM, C6x, C-Sky, H8/300, Hexagon, IA-64, m68k, Microblaze, MIPS, NDS32, Nios II, OpenRISC, PA-RISC, PowerPC, RISC-V, s390, SuperH, SPARC, Unicore32, x86, Xtensa
And at least both GCC and LLVM.
To compile rust on anything then x86_64 and Aarch64 is pure pain, if that does not change, there is no future for that.
Comment
-
Originally posted by Alexmitter View PostRust support can be merged if it supports at least half of those architectures: Alpha, ARC, ARM, C6x, C-Sky, H8/300, Hexagon, IA-64, m68k, Microblaze, MIPS, NDS32, Nios II, OpenRISC, PA-RISC, PowerPC, RISC-V, s390, SuperH, SPARC, Unicore32, x86, Xtensa
Originally posted by Alexmitter View PostAnd at least both GCC and LLVM.
- Likes 3
Comment
-
Originally posted by rogerx View PostI'm not a fan of rust, whether iron oxide based or language.
Look at rust's history of support.
Litterly took a crap on older CPU's lacking SSE2 CPU optimization while supporters kept the bugs or lack of support extremely quiet, all awhile furthering it's own agenda in-filtering top coding projects in order to enrich it's own fame. Reminds me of Ubuntu and SystemF.
On the flip, rust will likely have a very successful time of further deleting all of the older (and slower) CPU code from the kernel, making the kernel smaller and faster!
- Likes 1
Comment
-
Originally posted by AmericanLocomotive View PostThe last x86 CPU that didn't support SSE2 came out in ~2002. So you won't be able to run the latest software on 20 year old x86 CPUs. I think we'll survive.
From that presentation slide, they are still introducing new x86 CPU in 2018. However, according to the news writing their whole series aren't even fully i686 ready.
Comment
-
Originally posted by jacob View PostIn Rust virtually everything uses generic types (even in libcore) which need monomorphising.
Comment
Comment