News for hackers. Stuff that matters.
Re:Go performance from version 1.2 to 1.18 by yjftsjthsd-h on Friday February 04, 2022 @11:29AM (#30208925)
In the context of my statement

>>> Go will generally be vastly faster than interpreted languages regardless of versions.

Python is clearly in the latter group.

As for,

> byte code is typically closer to machine code than it is source

I would very much like to see some evidence; last I'd seen, it was basically tokenized source code and that's it, still nowhere near anything resembling binary executable code.

Re:Go performance from version 1.2 to 1.18 by laumars on Friday February 04, 2022 @07:02PM (#30215348)
It’s compiled to a stack machine. Exactly like how a lot of AOT compiled languages originally used byte code too. Oddly enough they were never called “interpreted” languages. Which means the difference here isn’t the tech stack / compilation process but rather at what stage the compiler is invoked.

I’ve written more on to your other post https://news.ycombinator.com/item?id=30215323