AntonioBerna / AntonioBerna/roma

Possible change of programming language 🚀

未关闭
#5 1 条评论 0 个 reaction 已指派 1 人 已被 @AntonioBerna 认领 在 GitHub 查看
enhancement good first issue
主要语言
Rust
星标
2
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

The `Python` programming language is simple, powerful, and full of useful libraries. However, in the implementation of the `roma` software I had to "fight" with `pyinstaller` and the `install.sh` installation script (shell language) to be able to add the final executable to the `PATH`.

All of this causes a problem in code distribution. For this reason I thought it would be very useful to rewrite the `roma` tool in another programming language.

It should be remembered that the `roma` tool is developed solely on a single file, because `Python` is interpreted and not compiled, that it does not use external libraries downloadable with `pip` and is therefore very streamlined and versatile.

Therefore, thinking about it carefully, possible alternatives to the `Python` language could be:

- **Rust:** this language, thanks to the `cargo` package manager, and in particular to the `cargo install --path .` command, would allow me to use a single "all-in-one" language, definitively eliminating the script `install.sh`. As far as various system tasks are concerned, `Rust` is a very valid alternative.

- **Zig:** I've never written `Zig` code (is it time to do so?) so I don't know this language well. By doing a little research I saw that (like `Rust`) it was created to replace the bugs that we carry with us from `C` and `C++` by having a very simple language available just like `C`. This would certainly speed up the transition from `Python` compared to `Rust` which in general is much more complex as a language.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。