Replies: 3 comments 5 replies
-
In this discussion, I would make a distinction between Installer can stay in Python as performance isn't important and python give us pluggability and ease of development. For Ash itself, I'd like to envision AshOS in C, and that's proper C not OOP C++. |
Beta Was this translation helpful? Give feedback.
-
@ochibani In your experience, what has been the pain point(s) with converting ashos to Rust so far? |
Beta Was this translation helpful? Give feedback.
-
Is there a serious problem with this? Statically compiling Rust is not a big problem, however, Rust binaries that are compiled this way are usually bigger than other language's because they bundle everything, not just the necessary symbols. C, C++, Go, Zig, etc, simply bundle the symbols needed, not everything. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
With AshOS further maturing I think it's a good time to reconsider our language choice.
When the project originally started I chose Python as the implementation language - simply because it's good for quick prototypes and has a lot of features built-in. But now the scope of the project is much bigger than first expected, so it's a good time to ask if Python is the right language for this project.
One of the disadvantages of Python is it's reliance on a language runtime - if the Python installation is somehow messed up, the entire system falls apart. For that reason a compiled language might be better suited.
Here's a small list of the pros and cons of different approaches:
Approach one - compiled language (C, C++ or similar)
Cons
Pros
Approach two - shell scripts
Cons
Pros
Approach three - keep using python
Cons
Pros
I'd like to discuss the merits of these approaches, and choose whichever one works best for the project. Personally I think approaches 1 and 3 are the more interesting ones.
I'll be waiting for any input from our community!
Beta Was this translation helpful? Give feedback.
All reactions