Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
The main pro reason for learning Rust for game dev would be for desktop grade games that would run in the webbrowser instantly with WebAssembly.
example http://chinedufn.com/3d-webgl-basic... -
#!/bin/php
<?php
//it depends but since you need actual anwser, let me get you random one with propepr chance weights
echo (random_int(1,100)>99) ? "yes":"no"; -
tokumei21256yYes. I have used it with Piston2D for the past 3 ludum dare competitions. It reminds me of the Processing environment because it gives you render functions for primitives like rectangles, ellipses, and images.
Currently in the process of writing a small framework that runs on win, mac, linux and wasm so I dont have to in the future. Also designing a larger voxel game engine. In Rust which is an interesting challenge. -
Probably not TBH. You already have really solid choices like C# and C++ that have established game dev communities, tools and learning material.
If you just wanna have a go at learning something new then by all means go for it.
If your objective is to seriously make games... Probably go with the aforementioned. -
@dmoa my comment was meant seriously unfortunately people made it a joke.
It really depends, what kind of games do you want to build and why not use C#, C++, Lua or Java. And what is your current experience with game dev. -
Rust is kinda cool but also kinda stupid. It was originally designed for games but then it turned out the reference model wasn't that great for games so suddenly it was only designed for game *engines*, use C++ for everything else. It was also meant as a blanket replacement for C and C++ until it suddenly wasn't
-
tokumei21256y@12bitfloat Not sure what you mean. I dont know everything about its history, but currently it is a systems language designed to be just as powerful and fast as C but with more safety. From my experience it is definitely living up to that standard.
Sure, it may not have "replaced" C and C++ in that they are still used more often, but that's because they're the de facto standard at that level, and that is difficult to simply remove and replace with something else across an entire industry. That will take time, but eventually I think Rust will grow, mature and be a strong competitor. -
@dmoa nothing is learnt for nothing.
Go for it then. You'll may find suddenly the perfect use for rust while working on something. Who knows until you've tried. -
@tokumei My point is that rust isn't bad but it certainly is a let down compared to what it's meant to be. A language without a well defined ABI or memory model is *not* a serious systems language
-
tokumei21256y@12bitfloat It doesnt, but that doesnt mean it isn't capable of FFI, and I definitely wouldn't disqualify it just because it doesn't have it's own special ABI It supports the C ABI which is a very common standard, and IMO that is a smart move. Designing a new one around Rust's type system, and then getting people to actually use it, is going to be difficult.
Related Rants
Should I learn Rust for game development?
question
rust