TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Best new or modern languange for game dev?

13 pointsby makufirualmost 10 years ago
So I'm currently a full stack javascript developer. I'd like to learn a new/modern language (Go, Clojure, etc) and also tinker with some game development in the process. What language with that criteria has the best libraries or would lend itself best to game dev?

7 comments

joeld42almost 10 years ago
C&#x2F;C++ (or possibly C# if you count Unity) is still the only choice for &quot;real&quot; game dev.<p>But Haxe (<a href="http:&#x2F;&#x2F;haxe.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;haxe.org&#x2F;</a>) has some great momentum these days, and with a bit of cleverness can target native and web at the same time. Checkout out <a href="http:&#x2F;&#x2F;snowkit.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;snowkit.org&#x2F;</a> and <a href="http:&#x2F;&#x2F;haxor.xyz&#x2F;" rel="nofollow">http:&#x2F;&#x2F;haxor.xyz&#x2F;</a> for some examples.<p>It might also line up nicely with your javascript background.<p>Dart + StageXL (<a href="http:&#x2F;&#x2F;www.stagexl.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.stagexl.org&#x2F;</a>) also looks like an appealing choice, especially if you&#x27;re coming from the JS world. It lacks an easy way to build a native target, though.<p>But pretty much any language out there has bindings for input, graphics and sound, so if you&#x27;re more interested in just learning a new language, use whatever you want.
评论 #9963332 未加载
Eridrusalmost 10 years ago
If your primary goal is to learn a modern language, and you&#x27;re ok with it being maybe a bit too modern and not quite polished yet, Rust is a very interesting choice.<p>It seems like it could fit well with the needs of game developers since it offers fast and predictable performance, compared to anything with a garbage collector, but it also offers compiler infrastructure to make it a lot harder to shoot yourself in the foot, though it does feel restrictive to start.<p>Piston is a game engine that folks have written in rust that you might be interested in playing with: <a href="http:&#x2F;&#x2F;www.piston.rs&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.piston.rs&#x2F;</a>
评论 #9967226 未加载
评论 #9964825 未加载
matt_salmost 10 years ago
Since others have indicated C&#x2F;C++, you should check out handmadehero.org - it will give you a taste of C&#x2F;C++ programming for a game. I started watching the beginning youtube videos and haven&#x27;t been able to keep up because of lack of time. He starts out with basics in C - structs, etc. and by the time I dropped off we were moving something around the screen.
bribrialmost 10 years ago
This clojure wrapper for libgdx has been fun to play with <a href="https:&#x2F;&#x2F;github.com&#x2F;oakes&#x2F;play-clj" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;oakes&#x2F;play-clj</a> and a relatively accessible way to write games in a functional way. You can run it on Android and iOS as well.
tthayeralmost 10 years ago
I&#x27;d venture to say &quot;The one you know best&quot;. If you find yourself struggling to do something in the language of your choice, see how others are accomplishing it and then decide.
评论 #9963126 未加载
ashleypalmost 10 years ago
Wth&#x27;s a full stack Javascript developer? I know what a full-stack developer is. Are these the same?
评论 #9978352 未加载
andrewmcwattersalmost 10 years ago
That&#x27;s kind of a backwards goal (instead of trying to make a game, and moving towards the technology that enables that) but to entertain your question: there isn&#x27;t one.<p>The game development community doesn&#x27;t really buy into the crap that the web development world does. People care more about results than process there, and as a result, care far more about performance and ease of development, too. That means using tested technologies.<p>Large game engines are built in C and C++, and their exposed scripting APIs are provided in Lua, C#, and JavaScript.<p>I don&#x27;t know anyone that writes games other than Flash ones that don&#x27;t subscribe to the language ecosystems of the ones above or general game development ecosystem that you can take seriously.<p>Game development is a multidisciplinary field, don&#x27;t test the waters there for playing around with a new language. You&#x27;re missing so much more when you make that your goal.
评论 #9963253 未加载