Braxton McKee
Braxton McKee
Our serialization library has a similar structure to protobuf - we want each field in a composite datastructure to have a field id that's stable over time as we change...
Right now we construct an Alternative like this ``` A = Alternative("A", OneKind=dict(x=int, y=float), AnotherKind=dict(name=str, hihi=float), memberFunction=lambda self: "this is a member function" ) ``` This can get a little...
Right now, you can mark a Class to be 'Final' which means that you can't subclass it, but in exchange, the compiler can speed up method dispatch (and also inline)...
Python has a behavior where `hash(1.0)` == `hash(1)` == `hash(True)` == 1. This happens so that you can look up an int in a dictionary with a float and vice...
If you write `OneOf(False, True, int)(0)` you are relying on the fact that the Value infrastructure compares 'False' to '0' with 'exact' set to true in order to have the...
if you have two instances of a OneOf(int, float) and you compare them, we check the type first and then we check the instance values. This doesn't match python, where...
Right now we can write ``` def f(x: int, y: int): ... ``` but we have no way of describing the idea that we want 'f' with two arguments that...
If we know its a bytearray, we should be able to just duplicate the memory instead of iterating over the python object which is probably 1000x slower.
Right now we have a problem where it's possible to get two copies of the same Type* that are essentially identical, and which have identical identityHash, but which are not...
If you call pmap under the compiler, the function should get called under the compiler and same for the interpreter. Right now its always compiled.