-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Suggestion: Move to Rust or Go for more advanced features #54
Comments
😂 At last someone opened an issue about it. The mindset for this CLI is to have lesser or no dependencies at all. This way it is lightweight, no need to be compiled etc.(yes we can package binaries, but I don't think I gained enough trust yet.) However, it is true that we need to migrate to a lower level for optimization plus more capabilities. Especially if planning to use some toolkit for GUI, Daemon and excessive text manipulation. I am planning to make a submodule for this CLI, It should be 'Hyde-shell' , initially a welcome app, but it's in CPP. My experience for cpp is barely enough for robotics and automation, and I suck! Therefore, I'm planning to try a fresh start of rust soon if some features are needed. So for the CLI, would it be fair if we stick to Shell for now? It's lightweight and easier to deal with. At the time, I'm planning to find/write a parser that we can use for hyprland configuration, it would be useful in the long run. Issues are Hyprlang do not have bindings yet for other languages. We can read the active hyprland vars though. Sorry for the long reply 😁 |
no problem! would rather have a long reply than a lgtm lmao |
I believe Go/Python would be the best lang for the job. Rust/C++ would be a bit overkill.
Python also yields as fast of a development cycle as bash would anyway, so I do not think the shift over would be that hard. We could make another branch, where we tried to port every script over gradually, and see where it goes? Would love to help. |
I agree on the branch part. However, I only know/comfortable with Go and willing to learn Rust. Python doesn't really make sense for a CLI/TUI program. (also handling python fucking blows) |
Shell scripts just work in most unix systems without needing to add anything extra. Also since we are not doing anything cpu intensive , I dont see any performance gains using rust for the core scripts . If its for the aesthetics , then yes perhaps adding a tui layer is another option which can be made in any language. TUI can serve as a lazy way of using the scripts without needing to write cli commands manually. |
https://www.youtube.com/watch?v=jw5J0rhLQyA&t=322s inspiration for TUI |
I think this should be a discussion, and yes, please do this. Hyde is currently the single worst part of Hyprdots (No offense) and it's also kinda hard to give bug reports because you often have to find out yourself what went wrong, and it doesn't throw errors seemingly at all. |
It tries to, and you missed it 😉 also, please change your branch to main. My bad making you stuck in the
|
I think the project is a really good idea! I would like to contribute, but I do not know shell (and not really interested in it as it looks like a hernia).
I think migrating/porting this project to another language with incredible TUI/GUI potential (go which I prefer or rust) would benefit the project greatly.
just a thought!
The text was updated successfully, but these errors were encountered: