Discussion:
JS typed array implementation for elm
(too old to reply)
Matthieu Pizenberg
2017-11-27 10:50:20 UTC
Permalink
Hi everyone,

Following some discussions, including those recent two [1,2] about
scientific computing, it would be interesting to see what we could achieve
in elm using as few JS as possible. In this "few", it seems that having
access to JS typed arrays, for multi-dimensional matrices manipulations
would help a lot.

So I've started an experimentation to wrap those typed array in an elm
package, elm-js-typed-array [3]. For now I've only created the base type
JsArrayBuffer (wrapping ArrayBuffer) and some tests. Any feedback would be
greatly appreciated before continuing the wrapping.

[1] The NumPy for Elm:
https://groups.google.com/d/topic/elm-discuss/d2RKA4rwcH0/discussion
[2] Array map with start and end:
https://groups.google.com/d/topic/elm-discuss/5K8dAqZiPkU/discussion
[3] elm-js-typed-array: https://github.com/mpizenberg/elm-js-typed-array
--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Francisco Ramos
2017-11-27 11:09:58 UTC
Permalink
That's great!!

Watching the project. Let me know if you need some help with this, or
somehow I can contribute with it. Being using TypedArrays for a while
already, and in my opinion they are the most thriving way to achieve the
best performance in a N-dimensional array implementation, and ultimately
Machine/Deep Learning algorithms, which is my main goal.

Fran

On Mon, Nov 27, 2017 at 11:50 AM Matthieu Pizenberg <
***@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Matthieu Pizenberg
2017-11-28 09:04:43 UTC
Permalink
I've started API design thinking in this issue [1]. Say hello there if
you'd like to participate, any help appreciated :)

[1] Github issue: https://github.com/mpizenberg/elm-js-typed-array/issues/1
--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...