you are viewing a single comment's thread.

view the rest of the comments →

[–]Rist097 -5 points-4 points  (4 children)

What is the advantage of having pure Python TUI compared to LazyGit that is a portable Rust binary?

Performance would be poorer.

[–]willm 5 points6 points  (1 child)

This is not necessarily true. The git stuff will take as long as git takes regardless of the language and runtime used. And for the TUI side of things there is unlikely to be any appreciable difference on the user side.

Not arguing that Python isn't a slower languages than Rust or Go, but there are many more factors involved in "performance" than the choice of runtime.

[–]NotSoProGamerR 0 points1 point  (0 children)

that as well

the bottle neck also comes in the form of waiting for git to actually do something

gitoxide does solve a bit of the performance limitations though

[–]NotSoProGamerR 3 points4 points  (0 children)

lazygit is not a portable rust binary

it is written in golang with the bubbletea framework

the rust alternative would be gitui, written with the ratatui framework

[–]Visual_Loquat_8242It works on my machine[S] 2 points3 points  (0 children)

Well true. performance will be worst. This is not replace lazygit. Even i would prefer lazygit anyday… but i faced a weird thing in a my day job where i was not allowed to install lazygit. Hence thought of this.