Why does REPL take so long to compile/run?
I want to compile my golang program. When I run said program, it wants to download a bunch of stuff even though it's already installed. Note that I am using
ebiten create graphical windows. Send help!
Well, first off, we have to keep in mind that Repl runs a virtual machine.
Second, Repl usually re-installs each package being used. I have no clue why, it just does. Maybe for version checks on the packages?
Third, GoLang may be compiled, but believe me it is memory-heavy and kinda takes a whole to compile.
I'd probably not make too many Go projects on Repl otherwise you'll run out of the storage you have ALLOT quicker.
But yeah, Repl is a virtual machine and is not a local machine, which will cost a few things to run slower. And when it downloads packages that are already "downloaded" is probably because the virtual machine is checking package versions!
P.S: The package you're using could also have other packages included with it that need to be installed before it can perform correctly!