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

Document use with Erlang #127

Open
lpil opened this issue Jan 31, 2018 · 9 comments
Open

Document use with Erlang #127

lpil opened this issue Jan 31, 2018 · 9 comments
Milestone

Comments

@lpil
Copy link

lpil commented Jan 31, 2018

Hello!

Thanks for this lib.

There is great documentation and examples for use in an Elixir project, but none for an Erlang project. Would it be possible to add this?

Thanks,
Louis

@scrogson
Copy link
Member

@lpil currently, the rustler_mix project is a mix compiler. There is this issue which asks about rebar3 support.

I think we should definitely provide some guidance about that but haven't taken the time to explore it yet.

@OvermindDL1
Copy link

OvermindDL1 commented Jan 31, 2018

The elixir -> erlang code should be a direct conversion, what issues are there?

Mix supports full native erlang as well.

@scrogson
Copy link
Member

@OvermindDL1 I think the main thing is people who are building a project exclusively with erlang may not want to bring elixir into their project just to compile a rust crate.

@lpil
Copy link
Author

lpil commented Jan 31, 2018

Yes, I'd like to avoid adding Elixir to this project :)

@DeadZen
Copy link

DeadZen commented May 13, 2018

Any examples yet?

@progamer71
Copy link

My reason is I prefer erlang syntax over elixir syntax.

@OvermindDL1
Copy link

My reason is I prefer erlang syntax over elixir syntax.

Yeah many of us do, Erlang's syntax is just so superior, but Elixir's Macro's and everything they bring in is the main thing that keeps me working in Elixir. ^.^;

@hansihe hansihe added this to To do in Ergonomics Redux via automation Mar 8, 2019
@hansihe hansihe moved this from To do to Docs in Ergonomics Redux Mar 8, 2019
@russelldb
Copy link

there's a good blog post here https://medium.com/@vonmo/erlang-safe-optimization-with-nif-on-rust-6000b0e9e4bf that covers the basics of running rustler with erlang. I use rustler with erlang so that I can use quviq EQC to test Rust components. I have a few issues (I don't know how to have multiple modules in the same crate for example) but in general it works really well.

I don't have the time right now, but when I do I can write up how to use rustler from erlang

@rickpayne
Copy link

I started work on using your rustler_tests from a rebar3 project at https://github.com/rickpayne/rustler_test

@filmor filmor added this to the 1.0 milestone Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

8 participants