Hacker News new | ask | show | jobs
by TheMagicHorsey 1415 days ago
Godot is a fantastic project.

But, I really wish it was written in something other than C++. I really can't bring myself to go back to programming C++ again after a decade away using more recent languages like Go and Rust. I even find deciphering the types of variables to be painful when reading C++ code these days.

5 comments

If you're looking to an up and coming game engine project, there's "Bevy", which is an ECS game engine (like Unreal) that's also open sourced, which is Rust based:

https://bevyengine.org/learn/book/introduction/

They aren't at first release yet. I think they're at 0.8, and I'm unsure as to their contribution structure, but read their documentation. It's in there I hope.

I've contributed to bevy, you can just make a PR for something small, or an RFC for something big.

While I'm here, I might as well give my $0.02 about bevy. It's got an amazingly sturdy foundation, but it lacks essential game engine features like asset preprocessing and render postprocessing stacks. Those are both slated to land in time for 0.9, which should put it ahead of most OSS engines.

Currently, there's also some very annoying stuff related to managing when and in what order systems run. There's a mostly-done big refactor called "stageless" which totally fixes this, but it touches a lot of code and needs to be merged. I'll quite be happy if that makes it into 0.9 too.

There are lots of other features missing, like everything UI, but these are the near-term changes and should put it in a good place for future growth.

You don't need to program in C++ to use Godot. It has its own scripting language (gdscript) and you can use C# as well.
Why are you worried about the language it's written in? You have a few options when it comes to which languages to use when working in it.
I mean to contribute.
You might want to check out the code. I was unsure at first, but have found the code to be well structured, commented, and formatted such that it is relatively easy to see what is going on and make significant changes.
IMO the issue is not that Godot uses C++, it's that they refuse to use a standard more recent than C++03.

Being able to use `auto` would make the code already a lot less verbose IMO.

Godot uses c++ 17 in master.

Autos and lambdas are not allowed from a style guide decision.

I can't tell if this is a GPT-3 comment or not.
Please don't cast GPT-3 aspersions on people or posts, they add nothing to the discussion and are rarely if ever correct. This one certainly is not.

The commenter is lamenting that they don't feel comfortable contributing to an open source project that they use because of the language choice of the project. It's far easier to simply write the couple of sentences involved than to coax GPT-3 to do it. Your apparent inability to understand the commenter's point doesn't make the commenter an algorithm. The correct response, if you are puzzled by a comment, is to ask a respectful question about the comment.

"Assume the best interpretation of a comment" is a core assumption that HN readers are asked to make when reading and commenting on threads, and it's a remarkably good place to start here.

Well, that comment is definitely GPT-3.