Tiny Core Base > TCB Q&A Forum

Linux fork in the road

(1/2) > >>

cyberdaddy:
Seems rust is being pushed upon the firmware world much like how javascript has been for software.

Imo, its a very bad decision, Linux should remain pure C for longevity.

I wanted to gain the perspective from members of this community about this topic.

core-user:
From what I have read, 'rust' is a safer programming language.

If they reprogram everything in rust, I wouldn't object, but I do dislike having lots of different languages to contend with....if only everything was programmed in assembler....

cyberdaddy:
What they dont tell you about "Rust" is the fact that youll have to maintain C, C++, and "Rust" even if it was a decent language.

Haha everything programmed in "assembler", thats quite a problem for the millennium....

gadget42:
https://stackoverflow.com/questions/72694268/can-you-make-an-os-only-using-assembly-language

https://en.wikipedia.org/wiki/BareMetal

https://github.com/ReturnInfinity/BareMetal-OS

https://en.wikipedia.org/wiki/KolibriOS

https://www.kolibrios.org/en/index.htm

CNK:
For Tiny Core I think the most relevent question is whether Rust will make the kernel (and its drivers) grow bigger or get smaller. Not the code size, which the developers worry most about, but the size of the compiled binaries. Some existing Rust projects are discouraging in that regard (eg. librsvg), but maybe they're just written poorly?

Taking librsvg as an example, with Tiny Core x86_64 extensions:
Last pre-Rust librsvg extension = 112KB
First Rust librsvg extension = 3.8MB
Current librsvg extension = 6.7MB

Firefox uses Rust too, and it's really huge, but it has to keep adding support for new web standards too so it's hard to compare fairly with older versions.

Navigation

[0] Message Index

[#] Next page

Go to full version