Live data from Hacker News

What I've Learned (So Far) Building Online Mini Games with Elixir and Swift

calvinflegal.com

41–44 of 44 posts

Re: What I've Learned (So Far) Building Online Mini Games with Elixir and Swift

#41

Really interested in hearing more about the architecture. Especially (1) why you chose Elixir, Phoenix over TS (2) how you dealt with real-time multiplayer. Aside: The links to the web game in the post don't lead to being able to play.

Hi! I'm sorry I took down the web client shortly after I write this in order to narrow my focus on the client codebase. I realize I ruined my point about being able to compare the client performance. I'm editing the post shortly. I've been curious about elixir for years. Since maybe 2016. I tried in the days before AI, but I couldn't really get over the hump of syntax and BEAM and all of that. I'd read it was the kin…

As a TS dev also who wouldn't really think to consider Elixir, that's interesting.

To sum it up, it seems that Elixir naturally provides the distributed routing and computing model needed for realtime communication, while you'd need specific libraries and infrastructure with TS. Thanks!

Re: What I've Learned (So Far) Building Online Mini Games with Elixir and Swift

#42

Earlier quoted context omitted.

Hi! I'm sorry I took down the web client shortly after I write this in order to narrow my focus on the client codebase. I realize I ruined my point about being able to compare the client performance. I'm editing the post shortly. I've been curious about elixir for years. Since maybe 2016. I tried in the days before AI, but I couldn't really get over the hump of syntax and BEAM and all of that. I'd read it was the kin…

As a TS dev also who wouldn't really think to consider Elixir, that's interesting. To sum it up, it seems that Elixir naturally provides the distributed routing and computing model needed for realtime communication, while you'd need specific libraries and infrastructure with TS. Thanks!

[deleted]

Re: What I've Learned (So Far) Building Online Mini Games with Elixir and Swift

#43
post #40

funny enough - distribution on the web would've been easier than the App Store. likely - it would grow organically too since all one has to do is share a link. for social games yeah - Elixir | BEAM is an excellent stack.

I see your point. My counterpoint is that I think I’ve returned to zero web games that aren’t wordle. I think in the long run it’s the wrong choice

Re: What I've Learned (So Far) Building Online Mini Games with Elixir and Swift

#44
post #40

funny enough - distribution on the web would've been easier than the App Store. likely - it would grow organically too since all one has to do is share a link. for social games yeah - Elixir | BEAM is an excellent stack.

Yet, there is hardly any Web game that it is at the level of Infinity Blade, the game used to show off OpenGL ES 2.0 support back in 2010.

Browsers 3D support is a black box for game developers, still no debugging tools other than having a native build that you can plug RenderDoc, not a priority for browser vendors for the past decade.

Then there is the whole issue how assets get loaded, space on browser for caching them, and security (F12 away to mess with the game engine).

Post reply on HN