3 ms·
I decided that Rust is the natural next step for my personal side project stuff, which I want to be more on the browser-based gamedev side of things. The learn
by dakom 8y ago
I decided that Rust is the natural next step for my personal side project stuff, which I want to be more on the browser-based gamedev side of things.
The learning curve is enormous - since coming from like Unity and Flash, so much is done for you... I mean, one _can_ write their own shader code and physics and things, but it's not at all required in order to make impressive content. Even in JS, Three.JS and friends typically take care of the heavy lifting and deciding to get closer to the metal on both fronts (CPU and GPU)- and in a new language (for me), is a bit daunting.
Anyway - I figured a good way to push myself to learn more productively is to livestream while I'm coding and figuring stuff out. Forces some accountability and might help others too.
So far I've only done two sessions and about to do my third. The goal is to build a WebGL renderer from scratch with nothing but Rust (I had a Typescript project that was after the same goal - so there's going to be a fair amount of straight conversion, but it was never totally finished and some things can be improved even if they would theoretically translate 1:1)
Live Stream URL: https://www.youtube.com/channel/UCGKhwtFOUlzj4VILDU0efkQ/live https://www.youtube.com/channel/UCGKhwtFOUlzj4VILDU0efkQ/liv...
Playlist URL: https://www.youtube.com/playlist?list=PLkzdeKCVtKYshqmgngLSqRV4UVt4QjaZ5 https://www.youtube.com/playlist?list=PLkzdeKCVtKYshqmgngLSq...
If you join, please remember - the whole point is that I don't know what I'm doing (yet) and I actually _want_ to struggle in order to learn, rather than have solutions spoon-fed to me.
I think there will ultimately be at the very least some general functions here which can be useful abstractions over web_sys/js_sys/etc. At least I hope so!
Lastly - schedule is irregular, so best way to know when it's live is to subscribe and rely on youtube notifications ;)
- erlend_sh 8y agoAwesome work! I hope you’ll consider involving the gfx-rs project in your learning streak. They are building an all-in-one graphics backend for use in Firefox but also the gamedev ecosystem, e.g. the Amethyst.rs game engine. https://github.com/gfx-rs/gfx https://github.com/gfx-rs/gfx https://github.com/gfx-rs/gfx/issues/1900 https://github.com/gfx-rs/gfx/issues/1900
- k__ 8y agoReally nice! The Flash devs I met went all downhill with Flash, because they never learned how to code and suddendly needed to do it.
- ZeikJT 8y agoDoesn't sound like they were devs at all. Flash's AS3 (and to a lesser extent AS2) were pretty good languages and after learning them it should be pretty easy to transition to JS. AS3 was, imho, a better ECMAScript implementation than JS was, especially because it was typed. As someone who worked in both AS3 and JS I still miss it a bit but it wasn't that much of a leap to work in other environments.
- dakom 8y agoYeah I agree... especially with stuff like Starling Flash/AS3 was (and I suppose is) an amazing dev environment with robust capabilities. I think one of the reasons "flash devs" get a bad rap is because a huge amount of the paid work for an epoch was all about making like preloaders and banners and things that were 95% timeline transitions and animations with just a sprinkling of code. It's like taking a JS developer from the 90's and putting them in the same league of modern web app developers. Same language (essentially, ish) but no comparison. Especially with the last hurrah of flash which tied into native extensions for standalone builds and things - Adobe really dropped the ball with something great :\