On 11/09/16 08:28, Neeraj Sharma wrote:
Elixir is a functional programming language for building scalable and
maintainable applications (ref http://elixir-lang.org/).
Side-note: The language is getting a lot of attention from Ruby/Rails
dev due to some language similarities but since Elixir is based on
Erlang VM so all the benefits are available.
"based on Erlang VM"? Does that mean that the compiled code runs on the
Erlang VM, or something completely different? Is there any special
reason why the Erlang VM as opposed to something else? I assume it's
something about the benefits you allude to, but of which I remain
blissfully ignorant.
This work is primarily a sample project to demonstrate the same rather
than any changes in rumprun-packages. Take a look at
https://github.com/neeraj9/hello-elixir-rump as to how it can be done.
Is it going to eventually be in rumprun-packages, or is your work not
something which can be considered a "package"?
The language uses the same virtual machine hence there is no
particular change required in rumprun-packages.
Ah, so is it more of an exercise in how to deploy code written in Elixir?
btw, I looked a bit at your Makefiles. You can get the toolchain tuple
from config in objdir:
$ (. ./config.sh ; echo $TOOLTUPLE)
x86_64-rumprun-netbsd
(use -o to build-rr to avoid having to parse the object directory
location from the build output ;)