Log In  
Follow
bbb651

Hello! This is my first post here :)

I've played around with Picotron in the past week and have some suggestions and ideas that I'll throw here:

  • Userdata Views - I can make a whole post about this alone, but basically I'd really like userdata to work like numpy, based around views. This is a generalization of slices (also in 2d), casting to different data types, reversing of userdata, looking at every other value, and much more. This allows code to be a lot more generic and easier to understand, and by having it be builtin to the way userdata works it ensures the obvious and clean code is cheaper in terms of cpu time.
  • Mixed Types Userdata Operations - For example, matrix multiplication currently only works on two f64 userdata, and I came up with a cool usecase for f64 * u8 -> u8 matrix multiplication to efficiently do base64 encoding:

    I can't think of an intuitive default for a result type or good way to let the user choose it...

[ Continue Reading.. ]

2
1 comment