ElixirFreak

ElixirFreak

Concurrent game using Elixir and C++(unreal/unity)?

I wonder if it’s possible to make a game for my Mac such that it doesn’t consume memory simply by using multi cores instead of one with an interop between Elixir(which runs the game on multi cores) and Unreal/Unity(the real game). If so, this could be a possible breakthrough for Elixir and gamedev!!

Most Liked

benwilson512

benwilson512

Author of Craft GraphQL APIs in Elixir with Absinthe

Hey @ElixirFreak this is sort of a large subject but let’s start with this: More cores vs less cores does not improve memory. In fact often multi-core programs use more memory than single core programs because you need to coordinate work between threads and may end up copying the same data into multiple threads so that you don’t have to worry about controlling access.

The second thing to note is that Elixir’s concurrency model isn’t really about threads, it’s about light weight virtual processes that run inside the BEAM VM. The VM may be run with one thread, or multiple threads. I don’t know enough about the Unreal engine to say for sure how you’d integrate, but I don’t quite see where a simple break through would happen.

Where Next?

Popular in Discussions Top

scouten
I’m looking for a host for the server part of a small (personal) side project that I’m working on. It’s currently written in Node.js and ...
New
jesse
Hi everyone, I hesitated to post this here because I don’t want you to think I’m spamming, but I’ve been working on a Platform-as-a-Serv...
New
AstonJ
I’ve just started the Phoenix part of the utterly brilliant online course by @pragdave. On generating the Phoenix app he uses the --no-ec...
New
MarioFlach
Hello, I want to share a project I’ve been working on for a while: https://github.com/almightycouch/gitgud Background Some time ago I ...
New
lucaong
Hello Elixir and Nerves community, I have been working for a while on an open-source embedded key-value database for Elixir, that I call...
230 14403 124
New
eteeselink
Hi all, In the last days, two things happened: A blog post titled “They might never tell you it’s broken” made the rounds. It’s about ...
New
matthias_toepp
I’d love to hear what people think about Wisp, the new Gleam web framework started by Gleam’s primary creator Louis Pilfold. Gleam, alon...
New

Other popular topics Top

gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New
saif
Hello everyone, Long time lurker first time poster here. I’ve recently begun working on Elixir full-time again! :raised_hands: It’s been...
New
romenigld
I am trying to run a deploy with docker and I successfully runned with this command: docker build -t romenigld/blog-prod . but when I t...
New

We're in Beta

About us Mission Statement