News for hackers. Stuff that matters.
Re:High Performance Numeric Programming with Swift: Explorat... by xiaodai on Friday January 11, 2019 @04:44PM (#18887434)
Reminds me of this post https://hackernoon.com/why-is-python-so-slow-e5074b6fe55b I can't say I understood everything but I also recall that Python is hard to optimise because it has such a rich object model
Re:High Performance Numeric Programming with Swift: Explorat... by pjmlp on Saturday January 12, 2019 @06:16AM (#18890722)
The same rich object model that Common Lisp, Dylan, SELF, JavaScript, Smalltalk enjoy while having JIT support.

For example in Smalltalk, you can destroy all JIT assumptions about a given object by sending a become: message.

https://gbracha.blogspot.com/2009/07/miracle-of-become.html