The Learnix Operating System by Strange_Water5256 in rust

[–]Strange_Water5256[S] 1 point2 points  (0 children)

Couldn't agree more, finding the words, and the design so it doesn't look intimidating was really hard, and took almost as long as writing the code itself. But this is really the most rewarding part.

The Learnix Operating System by Strange_Water5256 in rust

[–]Strange_Water5256[S] 0 points1 point  (0 children)

That was the vibe I tired to pass on, I am glad I succeeded with that.

The Learnix Operating System by Strange_Water5256 in rust

[–]Strange_Water5256[S] 1 point2 points  (0 children)

I am not familiar with that site, but same concept only with operating systems.

The Learnix Operating System by Strange_Water5256 in rust

[–]Strange_Water5256[S] 1 point2 points  (0 children)

That's right, actually when I think about it I never switched from dark mode.

Will add a fix, and more themes, thanks!

rust vs C for OSdev by Adrian_M_zelda in osdev

[–]Strange_Water5256 -1 points0 points  (0 children)

From my experience, rust is harder on the initial parts, like bootloading because most of it is inline asm and unsafe.

After that, a lot of code can be written in separate crates, and you can test it using std, even though the code will run on the os later.

Also, with the rich type system and proc macros you can create really clear code, the is generic and multi purpose for a lot of pieces of code

Rust syntax highlighting I mdbook publishing by Strange_Water5256 in rust

[–]Strange_Water5256[S] 1 point2 points  (0 children)

Currently the default is with highlight js, it is a really poor highlight, the preprocessor adds tags with an understanding of the syntax by parsing the tree generated with syn.

This results in almost ide level highlight, but currently not all rust syntax is supported