Rustlang vs Vlang #30
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Research for programming language selection
Declaration
Superior lang == Programming language that can manage available system resources in relation to time better then the alternative without sacrificing the security with methods to make development easier being preffered.
Variables
Verona
Verona (https://github.com/microsoft/verona) might influence the development of both languages
RUSTLANG
+ Cargo
+ Crates
+ free book with references which allows contribution
+ Rustbridge - program that is focused on teaching new devs
+ Potential to be the most efficient language
VLANG
? More efficient then rustlang?
- libraries are not as evolved as rustlang crates (2701200147)
+ Contributable free documentation for usage of the lang
- Still in development (2701200147)
- Runtime is comparable to C lang or slower/same (?)
- Doesn't have sufficient profiling (?)
- Leaks memory(?)
Current decision
Vlang is still in development and may be unreliable to rely on compared to rustlang, but project has been adapted to allow multi-language where the language performance will be monitored through project alike https://github.com/Kreyren/benchmarks based on which the code will be adapted and project will have an option to choose alternative code base.
Why not go with a polyglot approach and use both?
That's what i meant by
alternative code basein case someone wants to use C lang, python, etc.. instead of rustlang on this project, but my main focus is currently on rustlang assuming that i can adapt the project for this workflow to be maintainable.Currently i've separated the subcommands in file hierarchy that i'm experimenting with:

hoping that the code can be adapted with multiple files in different languages and managed through
fixmessince this is going to be a rolling-release with option for version control.For example files for crowd-sourcing translate can be in conf/toml/yaml syntax and adapt the code to read from it instead of using language-specific variable declaration.
And we can use language translators like C2Rust (https://c2rust.com/) as stub and option in configuration.
I'm open for discussion if you can provide any relevant info to this implementation as said currently experimenting with it to see what may be possible to do where i want to avoid separating these in invidual language-specific branches.
Also i'm not quite sure how to handle language specific functions.. to provide simplifies example arrays in bash compared to arrays in POSIX shell that are mostly variables with space separation and then string manipulated:
Generally i write POSIX shell in bash for backwards compatibility which is sometimes limiting and uncomfortable to code.
It was decided to use rustlang as a primary language for now, but project has been adapted to support all programming languages, see https://github.com/RXT0112/Zernit/issues/70 for implementation and adapted file hierarchy of the project