Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Taking code from Redox: ReLibC(Rust port of std C) #545

Closed
xplshn opened this issue Nov 19, 2023 · 1 comment
Closed

Taking code from Redox: ReLibC(Rust port of std C) #545

xplshn opened this issue Nov 19, 2023 · 1 comment

Comments

@xplshn
Copy link

xplshn commented Nov 19, 2023

relibc is a portable POSIX C standard library written in Rust. It is under heavy development, and currently supports Redox(Entirely rust written OS) and Linux.

I think we could take some code from relibc for the LibC implementation of MOROS, there are some other things in their repo I think would be great additions to MOROS, also, their bootloader seems mature enough, though I think Limine also suits for the job pretty well.
Code is at: https://gitlab.redox-os.org/redox-os/relibc
Some awesome code also here: https://gitlab.redox-os.org/redox-os/binutils

@vinc
Copy link
Owner

vinc commented Nov 19, 2023

For the bootloader I use the 0.9 version of this one: https://github.com/rust-osdev/bootloader/

But I currently have an issue with it because I need to move my kernel to the higher half address space and more recent versions of it improved that but I'd have to give up the VGA Text Mode I'm using to keep thing simple as explained in #229 (comment)

I've looked into Limine in the past but one long term goal for MOROS is to progressively reduce the number of dependencies to zero while keeping the complexity of the OS manageable to fit in one standard human brain. So I've been thinking recently about writing my own bootloader instead.

For (re)libc I have to think about it. I'm not super interested about the whole Unix ecosystem of tools because there's so many good systems for that already. Instead I'm exploring what I can do in userspace with MOROS Lisp and I've been thinking recently about writing a simple assembler with it.

@vinc vinc closed this as completed Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants