Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language Driver Request for Erlang #586

Open
khari998 opened this issue Feb 3, 2024 · 4 comments
Open

Language Driver Request for Erlang #586

khari998 opened this issue Feb 3, 2024 · 4 comments

Comments

@khari998
Copy link

khari998 commented Feb 3, 2024

TypeDB is awesome and I definitely want to be able to use it easily in Phoenix/Elixir applications.

@khari998 khari998 changed the title Language Driver request for Elixir Language Driver Request for Elixir Feb 3, 2024
@khari998 khari998 changed the title Language Driver Request for Elixir Language Driver Request for Erlang Apr 5, 2024
@Sergiusz43
Copy link

An Erlang driver would be wonderful, for Elixir but also for Gleam, which is slowly but surely gaining popularity. Having TypeDB available for this is another big step towards being able to model data for the future. I hope you keep this in mind after the 3.0 release. I thank you very much for your work.

@julienmarie
Copy link

I second this.

@farost
Copy link
Member

farost commented Oct 22, 2024

For future reference: we could use NIFs for calling our base C driver library, but we'll need to write the wrappers ourselves (manually or by creating an automation, if possible).

SWIG is not supported. However, there is a crate called rustler that we could use to write these NIFs easier and faster.

It deserves further investigation.

@julienmarie
Copy link

julienmarie commented Oct 23, 2024

Yes creating Rust NIFs with Rustler has become the preferred way thanks to Rust's memory safety.
If that part is done I'd gladly contribute a library on top of it with a nice DSL that would respect typedb approach while being idiomatic to Elixir.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants