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
shahryarjb
Hello, I get Persian date from my client and convert it to normal calendar like this: def jalali_string_to_miladi_english_number(persi...
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
Jim
As a follow up to my earlier question: I have the code compiling and running but not getting a successful login from the rest server. ...
New
lk-geimfari
What is most correct way to open, read and parse JSON file with poison? For example if we have example.json file in root of some projec...
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New
sabri
Can someone explain the settings of pool_size of Ecto in config file? and what is the recommend size? Thanks
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
9mm
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New

Other popular topics Top

JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1140 51847 244
New
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
AstonJ
You’re a programmer, so you don’t need spoon feeding with the conventional drivel about “this is an integer.” No. You need to know what’s...
New
lk-geimfari
What is most correct way to open, read and parse JSON file with poison? For example if we have example.json file in root of some projec...
New
vac
Hi, I'm quite new in Elixir and I'm trying to format a string to a PEM format. I have the certificate value like MIIDBTCCAe2...... and ...
New
mgjohns61585
Could someone help me? I'm making my first elixir program, number guessing game. I can't figure out how to convert the user's guess from ...
New
johnnyicon
Hi all, I've just started learning Elixir and Phoenix Framework, so please pardon my n00bness at this stage. I'm trying to use Postg...
New
josevalim
Hi everyone, One of the features added to Elixir early on to help integration with Erlang code was the idea of overridable function defi...
New
9mm
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New
AstonJ
We’ve put together this wiki for Phoenix LiveView - please feel free to add any info you feel is worth including. What is Phoenix LiveV...
New

We're in Beta

About us Mission Statement