3 ms·
Genuine question but I have been using golang so I would like to ask why rust instead of golang I am going to give a few of my reasoning points on why I use go
by Imustaskforhelp 6mo ago
Genuine question but I have been using golang so I would like to ask why rust instead of golang
I am going to give a few of my reasoning points on why I use golang, I mean I haven't changed the codebase by hand for say if I am vibe-coding/prototyping but still golang feels so much more convenient to change if need be and I feel comfortable.
The compile time is fast and its standard libraries are good and the dependency system of golang is also nice.
It can also be cross-compiled really easily. I have projects developed in mac and create a binary for my 7$/yr vps and then I used something like send.vis.ee cli tool to transfer the binary and just run it. Static compilation is also another nice feature.
The only time I use python for vibe-coding was making something pdf related as python library is surprisingly really good at Pdf and also, something gui related prototyping which I was also later able to make it in golang but most of my prototyping revolves around web servers and I really love golang in that.
Also within the context of Google, I do believe that golang was considered in some-sense to be the spiritual successor of python (one can also notice it by the python to golang transpilers projects iirc created by google)
I am unsure how rust fits into this equation, I am sure that the type system helps AI but I am unsure if its disadvantages outweigh the advantages.
Even if I might not edit the code myself, I just feel so much more comfortable having golang as my programming language than rust if I do ever wish to look back into these projects and then say, rewrite them myself or just edit them myself. It gives me this sense of freedom in a way and I just love Golang and have been a fan of the language for a long time :-D