Skip to content

Comment on Why is 2 * (i * i) faster than 2 * i * i in Java?

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.