Skip to content
Discussion options

You must be logged in to vote

Hi @Olobir! It is a very good question! From months ago, we were trying to prepare for this array view to avoid excessive copying during array manipulation and conversion. For example, this discussion and the PR 175 are some early changes in design to allow shared memory. The branch "arrayview" contains a pilot ArrayView on the matrix type.

However, the only thing that blocked us from proceeding further is the lack of support of parameterized trait in Mojo. Without this functionality, we cannot build a generic ArrayView type. So we have to wait for some months (or years? Hope not).

Another feature that we are waiting for is the reference system. Note that the ref keyword is only available…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Olobir
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants