News for hackers. Stuff that matters.
Re:Is sound gradual typing dead? by Animats on Sunday February 07, 2016 @01:55PM (#11054172)
It's likely that the big overhead slowdowns come from points where an object containing many typed elements is passed through without processing. This requires field by field checking, in the form of dynamic checks in a naive implementation. This could be repeated through several levels of function calls before the object is used. Mixing typed and untyped code makes this very likely.

It's a big concern that Python is going this route. With terrible syntax, too. Some type info is in comments, because it couldn't be crammed into the syntax, but some type info is in non-comment "annotations". I've been saying for a while, "Stop Python's little tin god before he kills again". Python 4 may be headed for another Python 3 like debacle.

There are no comments on this comment yet.