scalanlp / breeze

Breeze is a numerical processing library for Scala.
www.scalanlp.org
Apache License 2.0
3.44k stars 691 forks source link

partial scalajs support #474

Open antonkulaga opened 8 years ago

antonkulaga commented 8 years ago

As many libs (like spire, scalatest, scalacheck, etc) already support scalajs it may make sence to think about crosscompiling core of breeze to scala/scalajs

dlwh commented 8 years ago

It's a good idea. I don't know that I'm personally going to spend the time to make it work, but I'd be happy to help someone do it!

On Tue, Dec 22, 2015 at 12:40 PM, Anton Kulaga notifications@github.com wrote:

As many libs (like spire, scalatest, scalacheck, etc) already support scalajs it may make sence to think about crosscompiling core of breeze to scala/scalajs

— Reply to this email directly or view it on GitHub https://github.com/scalanlp/breeze/issues/474.

schrepfler commented 6 years ago

What's the API surface of Breeze which touches the JDK itself? Asking for a friend (scala-native.)

dlwh commented 6 years ago

it uses netlib java's Blas and Lapack which could easily be replaced in a native environment. I do use getClass in several places, mostly for making multimethod registries

On Wed, Sep 13, 2017 at 3:20 PM, Srepfler Srdan notifications@github.com wrote:

What's the API surface of Breeze which touches the JDK itself? Asking for a friend (scala-native.)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/scalanlp/breeze/issues/474#issuecomment-329313447, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAlodDWApLmYFU3Nb8-mf3eIJ33yz2Sks5siFUXgaJpZM4G6NHO .

dlwh commented 6 years ago

Also, I'm sure there's other random stuff, but I think those are the two big things.

On Wed, Sep 13, 2017 at 4:35 PM, David Hall david.lw.hall@gmail.com wrote:

it uses netlib java's Blas and Lapack which could easily be replaced in a native environment. I do use getClass in several places, mostly for making multimethod registries

On Wed, Sep 13, 2017 at 3:20 PM, Srepfler Srdan notifications@github.com wrote:

What's the API surface of Breeze which touches the JDK itself? Asking for a friend (scala-native.)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/scalanlp/breeze/issues/474#issuecomment-329313447, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAlodDWApLmYFU3Nb8-mf3eIJ33yz2Sks5siFUXgaJpZM4G6NHO .

s5bug commented 4 years ago

I'd love to help with ScalaJS support as I need a widely used Matrix library for WebGL stuff.

Where should I start?

dlwh commented 4 years ago

Great! Well to get your feet wet it'd be good to set up a js build in sbt. the most work is probably going to be replacing the netlib-java dependency (or rather wrapping it in such a way we can call a js blas/lapack library instead.)

On Sun, Sep 15, 2019, 9:16 PM Anthony Cerruti notifications@github.com wrote:

I'd love to help with ScalaJS support as I need a widely used Matrix library for WebGL stuff.

Where should I start?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/scalanlp/breeze/issues/474?email_source=notifications&email_token=AAACLIN5FCWDO5LK4VY44PDQJ3M7NA5CNFSM4BXI2HHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6X5K5A#issuecomment-531617140, or mute the thread https://github.com/notifications/unsubscribe-auth/AAACLIJLFY6KKGTPI6U2NK3QJ3M7NANCNFSM4BXI2HHA .