You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "joemarshall (via GitHub)" <gi...@apache.org> on 2023/04/13 15:28:24 UTC

[GitHub] [arrow] joemarshall commented on issue #23221: [C++] Add/document configuration to build with WebAssembly

joemarshall commented on issue #23221:
URL: https://github.com/apache/arrow/issues/23221#issuecomment-1507172916

   It would definitely seem worth building for webassembly nowadays, or at least building pyarrow and the required dependencies given (a) webassembly is an officially supported platform in python 3.11 and (b) pandas supports arrow as a backend officially, which won't work on webassembly until there is a reliable arrow build.
   
   The core of arrow builds fine in wasm, but several things make it a pain to build a working pyarrow. These are:
   
   1) Threads don't work in many webassembly environments (including pyodide), and there's no simple way of just removing threading in arrow build right now (I think?)
   2) Dependencies have to be built in arrow - this is okay for the set needed for pyarrow, but I never did manage to get them automatically downloading and building using the configuration in emscripten. I think some work is required on the download and build cmake calls to make sure they inherit all the emscripten flags etc. correctly.
   3) I couldn't make the setup.py work correctly for pyarrow, which is probably a similar problem to how it interacts with the pyodide package build process.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org