News for hackers. Stuff that matters.
Re:Why Python, Ruby, and Javascript are Slow by pcwalton on Friday March 01, 2013 @04:43PM (#5307128)
Background compilation in a separate thread actually works pretty well. IE9 has been shipping it with Chakra for a while, and Firefox is now getting it (and it improved the benchmarks a lot, especially on ARM).
Re:Why Python, Ruby, and Javascript are Slow by DannyBee on Friday March 01, 2013 @05:02PM (#5307227)
Good to hear it's gotten better. Admittedly, I wasn't thinking about browser based JITs when I said that :)

I'm actually curious if you have any stats on how much of the time this is being done on actual busy machines where it's going to compete for L1/etc resources vs how often it's able to be offloaded onto an otherwise empty core.

IE i expect their to be a significant difference in the use cases for JIT's like PyPy, which are probably going to sit on shared servers that folks are trying to maximize utilization of, vs desktops where I imagine most browsing probably doesn't use all cores at 100%.

Re:Why Python, Ruby, and Javascript are Slow by antrix on Friday March 01, 2013 @07:53PM (#5307916)
> Admittedly, I wasn't thinking about browser based JITs when I said that :)

Don't HotSpot and JRockit also do background (de)compilation & swapping of generated code?

Re:Why Python, Ruby, and Javascript are Slow by DannyBee on Friday March 01, 2013 @10:43PM (#5308367)
Yes, but in hotspot's case I cannot remember if it is actually turned on in both "server" and "client"
Re:Why Python, Ruby, and Javascript are Slow by pjmlp on Saturday March 02, 2013 @04:43AM (#5309070)
Aren't server and client not now merged with tiered compilation in Hotspot?
Re:Why Python, Ruby, and Javascript are Slow by DannyBee on Saturday March 02, 2013 @10:48AM (#5309802)
No, AFAIK. "Tiered compilation, introduced in Java SE 7, brings client startup speeds to the server VM. ... Tiered compilation is now the default mode for the server VM. "

Again, AFAIK, the server VM still has a significantly different set of tuning than the client VM. In particular, it runs some significantly more complex opts that the client VM does not.