Comment on Why is 2 * (i * i) faster than 2 * i * i in Java?Comments−networkimprov7yHas anyone tried this with Go?−saagarjha7yTried what specifically? This particular example, or something similar where the compiler generates code with different speeds for seemingly equivalent code?−pmarreck7yNo, because come back when you’re a real language with a runtime error handler−networkimprov7yWorking on it!Requirements to Consider for Go 2 Error Handlinghttps://gist.github.com/networkimprov/961c9caa2631ad3b95413f...−sabujp7ythank you for this!−pmarreck7yGo’s an OK language but1) This is not the forum to bring it up2) Given its warts it gets FAAAARRRRR too much attention IMHOSorry for snark.
Comments
Has anyone tried this with Go?
Tried what specifically? This particular example, or something similar where the compiler generates code with different speeds for seemingly equivalent code?
No, because come back when you’re a real language with a runtime error handler
Working on it!
Requirements to Consider for Go 2 Error Handling
https://gist.github.com/networkimprov/961c9caa2631ad3b95413f...
thank you for this!
Go’s an OK language but
1) This is not the forum to bring it up
2) Given its warts it gets FAAAARRRRR too much attention IMHO
Sorry for snark.