Myvideo

Guest

Login

ML23 Immutable Arrays Help Mutating Arrays More Efficiently

Uploaded By: Myvideo
1 view
0
0 votes
0

[ML’23] Immutable Arrays Help Mutating Arrays More Efficiently Sven-Bodo Scholz When trying to compile declarative programs into efficiently executable code, intuitively, it may seem that an ability to be more explicit about low-level details helps enabling a compiler or a code generator to lead to more runtime-efficient, parallel implementations. In this paper, we argue that quite the opposite is true, at least in the context of computations on large arrays. Keeping arrays immutable enables compiler transformations that, at the final code generation stage, leads to very efficient implementations through mutable arrays. Such tuning on the level of immutable arrays allows for more radical target-architecture-specific optimisations than what would be possible on the level of explicit memory, explicitly destructive updates and explicitly nested loops.

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later