These are chat archives for SimonDanisch/FixedSizeArrays.jl

27th
Aug 2015
Cristóvão Duarte Sousa
@cdsousa
Aug 27 2015 11:43
I've seen that. I did some little experiments, trying to create a macro to translate lieteral Arrays into FixedSizeArrays, https://gist.github.com/cdsousa/9ae0e0b7c810a625d45e .
It doesn't do any kind of block concatenation or element promotion. I also did a simple benchmark and got really impressed by the performance and memory allocation of FixedSizeArrays over Arrays when we have small sizes!
Cristóvão Duarte Sousa
@cdsousa
Aug 27 2015 11:49
I remember seeing some issues about having [| and |] brackets in Julia. Maybe a good use would be for FixedSizeArrays arrays :smirk:
Simon
@SimonDanisch
Aug 27 2015 12:17
ah yeah...my favorite issue^^
Simon
@SimonDanisch
Aug 27 2015 12:34
looks promising =)
I'm not entirely sure if its the right way to go, but it might help people to have an easier start for now
if you want I can integrate it
how do you like FixedSizeArrays so far!? Did you have any problems? I'm thinking about announcing it soon
I still don't feel comfortable with the constructor mess yet, but I can't delay it infinitely :D
Cristóvão Duarte Sousa
@cdsousa
Aug 27 2015 23:10
I think that (small) fixed size arrays support is a must have in Julia. As a well integrated module, but preferably in Base. I did work with robotics and do work with image transformations where small vectors and matrices are everywhere (points, vectors, transformation matrices, homographies). Here Julia greatly loses for C++ (with Eigen library, for example) if we use basic Arrays in Julia. In this case, for the best speed, I would say that C++ stills looks more higher level language that Julia. That's why I have big hopes on FixedSizeArrays. If I had the time and the skills to work on the missing parts... (the ones which keep me away from fully using FSA are missing submatrices, construction by concatenation, functions like expm...; In C++ Eigen we have all of these)