Comments (8)
Any movement on this? Maybe support a webassembly binding so that we can use it from any other programming language. WASI is now a days is the default binding.
from graphar.
Any movement on this? Maybe support a webassembly binding so that we can use it from any other programming language. WASI is now a days is the default binding.
Hi, @kesavkolla , thanks you for your interest in GraphAr. The work of implement libraries for languages is not start yet but it would be our next major work of development.
I'm not very familiar with webassembly binding but according to the document it seems to be a great solution to make GraphAr accessible for use with programming languages other than C++ and Spark. It would be very helpful if you can provide some information about how do you want to use with GraphAr and idea or proposal about webassembly binding with GraphAr?
from graphar.
@acezen I am seeing this as a trend with many open source projects where the base SDK is developed in one language either C or rust and other language SDKs are derived from WASI. WASI has good compatible layer with many implementations like wasmer, wasmtime etc... it will be so easy to use in any programming language. Investing in each programming language as a separate SDK requires lot of effort in each programming language. So IMO wasm is the right choice to go with.
from graphar.
I am actually looking for Rust client so that I can load GraphAr in rust and start leveraging Gremlin path traversal.
from graphar.
@acezen I have asked a question in hugegraph community about support for GraphAr
apache/incubator-hugegraph#2149
They also say GraphAR to support WASM binding. IMO This is really a huge thing so that many programming languages can start using GraphAR.
from graphar.
Hi @kesavkolla,
I am actually looking for Rust client so that I can load GraphAr in rust and start leveraging Gremlin path traversal.
Yes, we also have the plan to add rust support to read and build graph data in GraphAr format. We currently have a on-going refactor (#116) to have a clear repo layout for multi-languages supported. We could launch the Rust SDK after that PR merged and it would nice if we could have some collaboration to develop the Rust SDK.
I have asked a question in hugegraph community about support for GraphAr
Thanks for introducing. I have left a comment on that thread to discuss the detail.
base SDK is developed in one language either C or rust and other language SDKs are derived from WASI.
May I know more details about this idea? If I understand it correctly, WASM is usually used for porting/migrating existing software developing in C++/Rust to browser or edge computing.
from graphar.
May I know more details about this idea? If I understand it correctly, WASM is usually used for porting/migrating existing software developing in C++/Rust to browser or edge computing.
WASM is for running things in browser but there is WASI which makes thing to run on server side. There are many WASI compatible hosts are avaialble eg: (wasmtime, wasmer, wasmedge etc...). All these support cross language bindings. If we have WASI compatible assembly it can be used in any programming language. WASI makes that portability. To my knowledge WASI has support for file systems, environment variables etc... in addition to standard WASM. There is also experimental proposal for sockets and HTTP too. WASI is growing rapidly.
https://github.com/WebAssembly/WASI
from graphar.
All these support cross language bindings. If we have WASI compatible assembly it can be used in any programming language. WASI makes that portability.
It won't be hard to compile current C++ implementation to WASM with the help of WASI (we only requires apache-arrow and a small YAML parser library). However to make it friend to users the APIs may need carefully design to expose to WASM.
For multiple language support, I think we prefer to implement the SDKs in these languages rather than via WASM to keep a nice language-specific interfaces and deliver good run time performance. There's currently no concrete proposal and needs further discussion, though.
from graphar.
Related Issues (20)
- [Doc] [Improvement] Provide tutorials on using GraphAr libraries in documentation
- [Feat] Support `Date` and `Array` standard data type for GraphAr HOT 4
- feat: Support `JSON` payload file format for GraphAr
- [C++][Improvement] Add validation of different levels for builders in C++ library HOT 1
- [Bug]: The PageRank example does not output result files HOT 1
- [Feat] Easy-use toy tool to generate graphar from csv data
- [Bug] edge_chunk_writer sorts edges slowly on large-scale datasets HOT 1
- [Feat][C++] Redesign and unify the implementation of validation in C++ Writer/Builder HOT 1
- [Bug]: "test_graph_info_load_from_s3" failed under build type of Release HOT 8
- [Bug]: Loading from S3 bucket got segment fault error HOT 3
- [Feat][DevInfra] Add test coverage to CI to measure the covering code of unitest
- [Feat][Doc] Add README and document for zh_cn version
- [Feat][Spark] Revise the GraphWriter to generate info yaml automatically by the schema of DataFrame
- [Feat][Spark]Revise the `Neo4j2GraphAr` and `GraphAr2Neo4j` example with `GraphWriter` and `GraphReader`
- [Feat][Format] Support delta graph dumping/reading
- [Doc][C++]: Refine documentation comments HOT 2
- [Feat][C++][Doc] Add examples and tutorials about how to use the C++ Reader/Writer HOT 1
- [Feat][C++] Filter pushdown for `ConstructVerticesCollection` and `ConstructEdgesCollection`
- [Feat][C++][Doc] Add the documentation and tutorials about Filter Pushdown of C++ Reader HOT 1
- [Bug]: Spark module build fails HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphar.