JoeyDeVries / LearnOpenGL

Code repository of all OpenGL chapters from the book and its accompanying website https://learnopengl.com
https://learnopengl.com
Other
11.11k stars 2.81k forks source link

Motivation: rewrite the codebase in Rust #395

Closed srcres258 closed 5 months ago

srcres258 commented 6 months ago

Dear @JoeyDeVries ,

I've been learning Rust for a while and learning OpenGL simultaneously. Is it convenient for you to include the Rust version code based on the existing C-written code logic to this repository? I'm glad to give the readers a different flavor of implementations of OpenGL in a novel language and migrate the old code to a new language which is booming nowadays.

Looking forward to your reply. :)

JoeyDeVries commented 6 months ago

Thank you for the offer :) but I do like to keep everything here C-written as it's directly linked to the website/book and adding extra languages that aren't directly mentioned in the text would convolute things somewhat I find. Not by much, but I'd rather it be a separate thing. Hope you understand!

srcres258 commented 6 months ago

Thank you for the offer :) but I do like to keep everything here C-written as it's directly linked to the website/book and adding extra languages that aren't directly mentioned in the text would convolute things somewhat I find. Not by much, but I'd rather it be a separate thing. Hope you understand!

Got it. In this case, would it be possible for you to add a link or introduction to my Rust-version repository as the separation so that my code won't interfere with yours?

JoeyDeVries commented 6 months ago

Yes, if your Rust repo is big enough I'd be happy to mention it in the readme, and code repository page of LearnOpenGL :)

srcres258 commented 6 months ago

Yes, if your Rust repo is big enough I'd be happy to mention it in the readme, and code repository page of LearnOpenGL :)

Thanks! I'll move on to my work then.

srcres258 commented 6 months ago

Dear @JoeyDeVries ,

The work was done. Here's my Rust-rewritten repository: https://github.com/srcres258/learnopengl-rust

Wish you to add it to the code repository page and the README in your free time. :)

JoeyDeVries commented 5 months ago

Sorry for the delay, had a few busy weeks. Writing now to tell you I haven't forgotten you. I will be able to make some time for this soon! 🙏

JoeyDeVries commented 5 months ago

Took a while, but I added your repo to the readme and LearnOpenGL's code repository page, thank you!