Replies: 4 comments
-
I didn't try Zig before, probably it would work with kernels, as its very similar to C. The language can have small effect on the lower kernel parts since we are using unsafe Rust in there. So both would be similar in that place. But, I'm not planning to add Zig anytime soon anyway, its best to stay with 1 compilation tools and easier to maintain |
Beta Was this translation helpful? Give feedback.
-
I read some articles that said that Zig is better for low-level programming where unsafe is common. |
Beta Was this translation helpful? Give feedback.
-
Not sure which is best, since I haven't used Zig personally. In general, Rust is designed to also support embedded systems and low level systems that are running without OS which is what this kernel kinda is, since it's the OS. That's why it's working quite well. Both are good and usable here, there is not only 1 way. |
Beta Was this translation helpful? Give feedback.
-
@Amjad50 Thanks! <3 |
Beta Was this translation helpful? Give feedback.
-
Hello Amjad. You are doing a very wonderful job.
I wonder what you think about the Zig language?
Personally, I think it is the best in your field of interest: kernels and operating systems.
Have you studied or researched this topic?
What were your conclusions?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions