Gionasan

Gionasan

Access to GPU with Elixir

Ho guys,
I’m new to Elixir and I’m switching from my Java OOP formation to FP. I’m finding the official guide very good for learning.

I would like to realize a graphic project: I want to make something similar to Processing but in FP ( Processing (programming language) - Wikipedia , https://processing.org/ ).

To do this, I have to learn about GPU programming (no experience) and how to access it from the higher level environment Elixir.
I need some indicati in, no matter It could take a lot. I’m working on this on free time and have no deadlines, just enjoy this project as It come.

Thank you a lot
GM

Most Liked

mindok

mindok

There are a couple of projects around making use of the GPU.

In Erlang, there’s a long-running project called Wings3D (http://www.wings3d.com) that uses OpenGL.

The Elixir projects seem mainly to focus on machine-learning. There’s an entry point to that world here: Elixir and Machine Learning: Nx v0.1 released! - Dashbit Blog, OR JIT/GPU accelerated deep learning for Elixir with Axon v0.1 – Sean Moriarity, and some work that predates Nx here: Deep Learning library with GPU(CUDA/cuBLAS)

Good luck with your project!

al2o3cr

al2o3cr

You can access OpenGL via the Erlang standard library’s :gl module.

I found a good blog post about this but it’s from 2016 and some of the code needed sprucing up to run on modern Erlang / Elixir / wxWidgets versions. Repo for that version is GitHub - al2o3cr/elixir_opengl: Demo app for interacting with OpenGL from Elixir

Where Next?

Popular in Questions Top

JDanielMartinez
Hi! May someone helps me, please! I have two apps into an umbrella project: the first one is Database, which manages queries, and the se...
New
dotdotdotPaul
Okay, I'm having a heck of a time trying to figure out how to best handle the validation of belongs_to associations in Ecto. I'm sure I'...
New
lessless
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New
New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
qwerescape
Is there a way to get the call stack or stack trace at any point in the code? Not from exceptions, but an expression that returns how the...
New
chewm
Hi guys, nice to meet you to the whole forum, I’m new here, I’m trying to configure visual studio code for elixir, right now the intellis...
New
Codball
Mix format works fine if run from the cmd. I’ve followed this to facilitate the implementation into VSC which involves downloading an ext...
New
Mooodi
Given a string, how can I get access to its character by index? Enum.at("my_string", 2) doesn't work. Or rather, not char, but a substr...
New

Other popular topics Top

TunkShif
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
273 38985 115
New
senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New
jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod -- where is this set? Thanks.
New
chrismccord
Phoenix 1.4.0 released Phoenix 1.4 is out! This release ships with exciting new features, most notably with HTTP2 support, improved deve...
688 30048 115
New
aalberti333
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this: ...
New
sacepums
Hey guys. I'm new to elixir and im really stocked about it. But I ran into a bit of problem - I need to convert a date sting, for examp...
New
fayddelight
I tried installing elixir 1.11.2 erlang 23.3.4 via asdf in my zsh shell. Enabled the versions locally and globally. When I list them ...
New
ovidiubadita
Hey all, I discovered Elixir and I love it. I always wanted to learn a functional programming and I intended to go for Haskell, but afte...
New
aesmail
Hello guys, I have finally made it. I created an admin interface for a framework. It’s been on my todo list for years and with the curre...
New
jay1
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New

We're in Beta

About us Mission Statement