News for hackers. Stuff that matters.
Re:Why the New V8 Is So Damn Fast by Negitivefrags on Monday July 30, 2018 @07:35PM (#17649219)
The difference in speed has a lot more to do with memory layout. Javascript will never be as fast for this reason.

You could make a JIT language as fast as C so long as it supported value types properly. Most programs in the "slow" languages spend most of their time chasing pointers around.

Re:Why the New V8 Is So Damn Fast by weberc2 on Monday July 30, 2018 @11:39PM (#17650365)
To elaborate on your point, its not just chasing pointers, it’s that those pointers point into random heap locations, each of which needs to be allocated individually and garbage collected. Also, because of the haphazard locations of these objects in the heap, you have way more cache misses than you would with value types.
Re:Why the New V8 Is So Damn Fast by goatlover on Monday July 30, 2018 @09:50PM (#17649925)
Julia comes fairly close.
Re:Why the New V8 Is So Damn Fast by ChrisRackauckas on Monday July 30, 2018 @10:12PM (#17650019)
And Julia's tuples, named tuples, and structs are value-types without pointers.