EEVblog Electronics Community Forum

Products => Computers => Programming => Topic started by: DiTBho on January 22, 2021, 07:29:28 pm

Title: Anything similar to "LazyGit" but written in C/C++?
Post by: DiTBho on January 22, 2021, 07:29:28 pm
"LazyGit" is a very useful tool to manage "git". Unfortunately for me it's written in Go and I cannot compile.

Is there anything similar to it but written in C/C++?

Currently I am using "Tig"  :D
Title: Re: Anything similar to "LazyGit" but written in C/C++?
Post by: techman-001 on January 22, 2021, 11:23:04 pm
"LazyGit" is a very useful tool to manage "git". Unfortunately for me it's written in Go and I cannot compile.

Is there anything similar to it but written in C/C++?

Currently I am using "Tig"  :D

Not C/C++ but how about Rust ?
https://pepa.holla.cz/2020/08/17/gitui-blazing-fast-terminal-client-for-git-written-in-rust/
Title: Re: Anything similar to "LazyGit" but written in C/C++?
Post by: ve7xen on January 22, 2021, 11:37:18 pm
I was going to suggest `tig`, but why can't you compile or run one of the binaries provided for many operating systems?
Title: Re: Anything similar to "LazyGit" but written in C/C++?
Post by: DiTBho on January 23, 2021, 05:23:26 am
why can't you compile or run one of the binaries provided for many operating systems?

There is no Go compiler for what I am trying to support.
Title: Re: Anything similar to "LazyGit" but written in C/C++?
Post by: DiTBho on January 23, 2021, 12:52:12 pm
Also I was thinking about a Go to C compiler for Linux, but contrary to my expectations, cross compiling to C would reduce Go's cross platform support, not improve it.

Not a good idea.