u/AmanCode22

Need some suggestions and answers to few questions for making a kernel in rust

Hello everyone, I am thinking to make a kernel in rust, but cannot decide few things so need some suggestions.

- The first thing I want suggestion is about bootloader to use , I dont wanna create my own, so should i use grub,limine or rust bootloader(as mentioned in https://os.phil-opp.com/).

- Also should i support older BIOS or just keep it UEFI only.

- Also, should i support arm or just keep it x86 only

- Should i keep it microkernel only or Monolithic kernal

It would be great if you suggest me, it would help me a lot.

Actually, I am bit confused of these questions and cannot decide on my own so posted here

Thanks in advance.

reddit.com
u/AmanCode22 — 13 days ago
▲ 0 r/code

Hey I am Aman, a class 9 indian student, I have made a proggraming language ,it's extensions(named traits), it's package manager and registry for trait!

Hey everyone, I am Aman, currently studying in my 9th std and I have created a language by the name Ethos that can be used as a beginner language to teach fundamentals and basics of programming to beginners and mostly school students.

What is Ethos?

Ethos is a programming language with an English‑based syntax. Every statement is a sentence. Every sentence ends with a period. No brackets, no semicolons, no cryptic symbols. It transpiles to Python, so it's quick to get running and easy to extend.

What is Forge?

Forge is the official package manager for Ethos. It installs Soft Traits (Python packages from PyPI) and Hard Traits (compiled native binaries) into your Ethos environment.

Example code:

```ethos

ask "What's your name? " into name.

set greeting to "Hello, ".

say greeting.

say name.

set score to 95.

if score is above 90.

say "That's an A.".

otherwise if score is at least 75.

say "That's a B.".

otherwise.

say "Keep going.".

end.

```

Extensions:

· Soft Traits – Python packages from PyPI or local files

· Hard Traits – Compiled C/C++/Rust binaries loaded via ctypes

Getting Started:

· Windows – Combined installer for both Ethos and Forge (releases page)

· macOS – Combined .pkg installer for Apple Silicon and Intel Macs

· Linux – OBS repos, AUR, and universal tarball (see https://github.com/AmanCode22/ethos-lang/blob/main/LINUX_INSTALL.md)

- Android Via Termux - Install deb or add repo( for more see (https://github.com/AmanCode22/ethos-lang#android-via-termux)

Hard Trait APIs:

- C: https://github.com/AmanCode22/ethos-trait-c-template(Example Trait: https://github.com/AmanCode22/ethos-trait-greetc)

C++: https://github.com/AmanCode22/ethos-trait-cpp-template(Example Trait: https://github.com/AmanCode22/ethos-trait-greetcpp)

Rust: https://github.com/AmanCode22/ethos-trait-rust-template(Example Trait: https://github.com/AmanCode22/ethos-trait-greetr)

Ethos Foundry:

Hard Traits registry for Ethos.

Use Forge to install native C/C++/Rust extensions. Hosted on Cloudflare Pages.

You can add your trait by opening a pr.

Hosted at:

https://foundry-ethos.pages.dev

And

https://amancode22.github.io/ethos-foundry/

What's next?

· Future Rust rewrite for native compilation and performance

Contributions welcome! Especially Hard Trait SDK bindings for Go, Java, Zig, or any language other than C/C++ and Rust.

Links:

· Ethos: https://github.com/AmanCode22/ethos-lang

· Forge: https://github.com/AmanCode22/forge

I would love to hear your feedback and suggestions!

It's currently in beta and would publish stable after its much tested as no more features are planned from my side all bugs are fixed according to me , but still I want some testers! After testing for suggestions/issue please feel free to open issue and also please tell me what you think of it here in reddit.

Edit: If you liked it then please star the repo

u/AmanCode22 — 14 days ago

Hey I am Aman, a class 9 indian student, I have made a proggraming language ,it's extensions(named traits), it's package manager and registry for trait!

Hey everyone, I am Aman, currently studying in my 9th std and I have created a language by the name Ethos that can be used as a beginner language to teach fundamentals and basics of programming to beginners and mostly school students.

What is Ethos?

Ethos is a programming language with an English‑based syntax. Every statement is a sentence. Every sentence ends with a period. No brackets, no semicolons, no cryptic symbols. It transpiles to Python, so it's quick to get running and easy to extend.

What is Forge?

Forge is the official package manager for Ethos. It installs Soft Traits (Python packages from PyPI) and Hard Traits (compiled native binaries) into your Ethos environment.

Example code:

```ethos

ask "What's your name? " into name.

set greeting to "Hello, ".

say greeting.

say name.

set score to 95.

if score is above 90.

say "That's an A.".

otherwise if score is at least 75.

say "That's a B.".

otherwise.

say "Keep going.".

end.

```

Extensions:

· Soft Traits – Python packages from PyPI or local files

· Hard Traits – Compiled C/C++/Rust binaries loaded via ctypes

Getting Started:

· Windows – Combined installer for both Ethos and Forge (releases page)

· macOS – Combined .pkg installer for Apple Silicon and Intel Macs

· Linux – OBS repos, AUR, and universal tarball (see https://github.com/AmanCode22/ethos-lang/blob/main/LINUX_INSTALL.md)

- Android Via Termux - Install deb or add repo( for more see (https://github.com/AmanCode22/ethos-lang#android-via-termux)

Hard Trait APIs:

- C: https://github.com/AmanCode22/ethos-trait-c-template(Example Trait: https://github.com/AmanCode22/ethos-trait-greetc)

C++: https://github.com/AmanCode22/ethos-trait-cpp-template(Example Trait: https://github.com/AmanCode22/ethos-trait-greetcpp)

Rust: https://github.com/AmanCode22/ethos-trait-rust-template(Example Trait: https://github.com/AmanCode22/ethos-trait-greetr)

Ethos Foundry:

Hard Traits registry for Ethos.

Use Forge to install native C/C++/Rust extensions. Hosted on Cloudflare Pages.

You can add your trait by opening a pr.

Hosted at:

https://foundry-ethos.pages.dev

And

https://amancode22.github.io/ethos-foundry/

What's next?

· Future Rust rewrite for native compilation and performance

Contributions welcome! Especially Hard Trait SDK bindings for Go, Java, Zig, or any language other than C/C++ and Rust.

Links:

· Ethos: https://github.com/AmanCode22/ethos-lang

· Forge: https://github.com/AmanCode22/forge

I would love to hear your feedback and suggestions!

It's currently in beta and would publish stable after its much tested as no more features are planned from my side all bugs are fixed according to me , but still I want some testers! After testing for suggestions/issue please feel free to open issue and also please tell me what you think of it here in reddit.

Edit: If you liked it then please star the repo

u/AmanCode22 — 14 days ago