News for hackers. Stuff that matters.
Re:How Discord Resizes 150M Images Every Day with Go and C++ by deepnotderp on Tuesday November 14, 2017 @12:22PM (#15697081)
Yeah, either a good Python JIT or Cython would have been fine honestly. I never understood the obsession with "python is slow" when you can recover almost all of the performance with a good JIT or Cython (in many/most cases).
Re:How Discord Resizes 150M Images Every Day with Go and C++ by Drdrdrq on Tuesday November 14, 2017 @05:29PM (#15699805)
Yes. Or simply profiling the app and optimizing sore spots would have helped too. It seems to me there was no real reason to move from Python to Go, apart from preference.
Re:How Discord Resizes 150M Images Every Day with Go and C++ by victor106 on Tuesday November 14, 2017 @12:27PM (#15697129)
What are some good Python JIT's that are worth trying out?
Re:How Discord Resizes 150M Images Every Day with Go and C++ by dr_zoidberg on Tuesday November 14, 2017 @01:16PM (#15697630)
PyPy.
Re:How Discord Resizes 150M Images Every Day with Go and C++ by victor106 on Tuesday November 14, 2017 @10:20PM (#15701218)
Thanks.