Re: [Discuss] [Rust] Looking to add Wasm32 compile target for rust library

2020-07-20 Thread Brian Hulette
On Tue, Jul 14, 2020 at 9:36 AM Micah Kornfield wrote: > Hi Adam, > > > This sounds really interesting, how about adding the wasm build (C++) to > > the releases? > > I think this just needs someone to volunteer to do it and maintain it (at a > minimum if it doesn't already exist we need CI for

Re: [Discuss] [Rust] Looking to add Wasm32 compile target for rust library

2020-07-15 Thread Max Burke
Right now we're using Arrow server-side via the Rust libraries and in the browser via the Typescript libraries; being able to share code across domains by having a supported WASM target for the Rust library would be awesome! On Mon, Jul 13, 2020 at 9:42 PM RJ Atwal wrote: > Hi all, > > Looking

Re: [Discuss] [Rust] Looking to add Wasm32 compile target for rust library

2020-07-14 Thread Adam Lippai
"I don't know much about either, but I'm curious why you would expect this to be the case?" Looks like this is not true, it was just my perception reading the different articles. They are practically the same for a "hello world" if compiled carefully. So this is really up to a real world

Re: [Discuss] [Rust] Looking to add Wasm32 compile target for rust library

2020-07-14 Thread Micah Kornfield
Hi Adam, > This sounds really interesting, how about adding the wasm build (C++) to > the releases? I think this just needs someone to volunteer to do it and maintain it (at a minimum if it doesn't already exist we need CI for it). We would also need to figure out details of publishing and

Re: [Discuss] [Rust] Looking to add Wasm32 compile target for rust library

2020-07-14 Thread Adam Lippai
This sounds really interesting, how about adding the wasm build (C++) to the releases? I've done a lot of asm.js work (different from wasm) in the past, but my assumption would be that using Rust instead of C++ as source for wasm should result in smaller wasm binaries. Rust Arrow doesn't really

Re: [Discuss] [Rust] Looking to add Wasm32 compile target for rust library

2020-07-14 Thread Andy Grove
I'm also curious about the use case and have put questions in the JIRA. Thanks, Andy. On Tue, Jul 14, 2020 at 8:27 AM Micah Kornfield wrote: > Fwiw, I believe at least the core c++ library already can be compiled to > wasm. I think perspective does this [1] > > > I'm curious What are you

Re: [Discuss] [Rust] Looking to add Wasm32 compile target for rust library

2020-07-14 Thread Micah Kornfield
Fwiw, I believe at least the core c++ library already can be compiled to wasm. I think perspective does this [1] I'm curious What are you hoping to achieve with embedded wasm in spark? Thanks, Micah [1] https://perspective.finos.org/ On Tuesday, July 14, 2020, Brian Hulette wrote: > That

Re: [Discuss] [Rust] Looking to add Wasm32 compile target for rust library

2020-07-14 Thread Brian Hulette
That sounds great! I'd like to have some support for using the rust and/or C++ libraries in the browser via wasm as well. As long as the community is ok with your overall approach "to add compiler conditionals around any I/O features and libc dependent features of these two libraries," I think it

[Discuss] [Rust] Looking to add Wasm32 compile target for rust library

2020-07-13 Thread RJ Atwal
Hi all, Looking for guidance on how to submit a design and PR to add WASM32 support to apache arrow's rust libraries. I am looking to use the arrow library to pass data in arrow format between the host spark environment and UDFs defined in WASM . I created the following JIRA ticket to capture