erlang-port-with-python
PyCall.jl
Our great sponsors
erlang-port-with-python | PyCall.jl | |
---|---|---|
1 | 28 | |
0 | 1,435 | |
- | 1.3% | |
10.0 | 6.1 | |
almost 7 years ago | 18 days ago | |
Python | Julia | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
erlang-port-with-python
-
OCaml is getting multicore support in the next major version (v5)
I think Elixir would be interesting for your usecase.
It's a dynamic, garbage collected language. It's easy to pick up and get going with. As a functional programming language there isn't a lot to learn in the way of language constructs, and you don't even have to do the 'wrestling with the type system' thing that you have to do in compiled functional languages like OCaml.
Its processing 'horsepower' is probably comparable to Python, but it's much better for building low latency things if you want to run something in a bit more of a production use case. This is also improving due to the recent addition of a JIT.
The addition of NX is making Elixir an increasingly interesting place to do ML - write Elixir, have it run on GPU etc. See https://dashbit.co/blog/nx-numerical-elixir-is-now-publicly-...
Python integration is probably best done using the Erlang 'port' system - running Python as a managed process and communicating with it using messages over stdin/stdout. I use it for C interop and it works well (and fits well with the Elixir/Erlang process model). It's not difficult to roll your own in Python e.g. https://github.com/fujimisakari/erlang-port-with-python/blob... or look at something like http://erlport.org/
PyCall.jl
-
I just started into Julia for ML
For point 3 you can use https://github.com/cjdoris/PythonCall.jl or https://github.com/JuliaPy/PyCall.jl (and their respective Python sister packages).
-
Am I dumb in thinking I can use Rust as a Fast Python and leave it at that?
Julia and Python interop should not be a problem at all. Actually Julia has one of the best interops I’ve ever seen, so much that swift copied it. https://github.com/JuliaPy/PyCall.jl
- Which tools do you use for python + Data Science?
-
I don't want to abandon Rust for Julia
One small note, julia also has great python interop via PyCall.jl
- Faster Python calculations with Numba: 2 lines of code, 13× speed-up
-
Interoperability in Julia
It is possible to call Python from Julia using PyCall. Then to install PyCall, run the command in the Julia REPL.
-
Why is Python so used in the machine learning?
That said, you can run python modules in Julia. So you can just export your code as a module and then use it in Julia via the PyCall package. short description here github here <— you’d just add the pacakge via the really nice package manager built into julia, but for link for more detailed documentation
- Use rust code in Python with pyo3
-
Writing entire programs in Cython
You can integrate Python and Julia code with https://github.com/JuliaPy/PyCall.jl and https://github.com/JuliaPy/pyjulia .
-
Why Co–Star Uses Haskell
> I'd love to use Julia and Rust instead, but the ecosystems and users aren't there yet.
What are some alternatives?
py2many - Transpiler of Python to many other languages
Revise.jl - Automatically update function definitions in a running Julia session
julia - The Julia Programming Language
Genie.jl - 🧞The highly productive Julia web framework
fast-ruby - :dash: Writing Fast Ruby :heart_eyes: -- Collect Common Ruby idioms.
are-we-fast-yet - Are We Fast Yet? Comparing Language Implementations with Objects, Closures, and Arrays
libffi - A portable foreign-function interface library.
RCall.jl - Call R from Julia
typeshed - Collection of library stubs for Python, with static types
Slick - Slick (Scala Language Integrated Connection Kit) is a modern database query and access library for Scala
Apache Arrow - Apache Arrow is a multi-language toolbox for accelerated data interchange and in-memory processing
gleam - ⭐️ A friendly language for building type-safe, scalable systems!