Skip to content

u/reduz

In this archive from Jan 2014 to Mar 2024

77
posts
393
comments
71
media
18k
score

One bit of info missing from my side. We did not move earlier to Jolt because it simply wasn't ready to be a replacement.

It missed a lot of stuff, but the Jolt author worked really hard into adding everything that Godot needed the past months and is now pretty much fully usable.

Unlike the Bullet author, the Jolt author is very interested about it being used in Godot, so this gives us a lot more peace of mind.

145 points

That is never going to happen because those are C# types and Godot is a C++ game engine. Godot internally uses its own data types, not C# types.

This way, if you pass something native to C# to Godot, even if the exposed API to C# is native, internally Godot will have to convert it to its own formats. The conversion is 100% unavoidable here.

That said however, is not much of a problem in practice:

  • The idea is that you can use Godot.Collections.Array and interact more efficiently to Godot datatypes. Conversion or not, the APIs using these are not critical.
  • For performance critical API you will be able to use either Span or T[] using a special binder.
5 points

I think you are entirely missing the point here. It is true that there are cases where it would be more optimal to use Span<> in C#.

But these are the coincidentally same cases where the Godot C++ API uses a pointer directly: Critical functions that you want to call very often and you can't give yourself the luxury of allocating memory.

So ultimately, it is not that the C# binding is implemented inefficiently, this is more of a problem with how Godot exposes those functions to the binder layer in general. It's a small bunch of cases that are well known but require a separate approach in the binder to handle properly.

Currently, these corner cases were worked around for GDScript with a less efficient binding, but the idea is that they use more specialized binding code in both C++ and C# that is more performant.

The rest of the API (the large majoroty of it), Godot uses PackedArrays too for C++ because these are absolutely not performance critical areas in any way.

3 points

This article is very interesting. Just want to note that this is something we are aware of and the intention is to work it on in two fronts:

  • From the binder API, adding a struct type, to pass these results more efficiently.
  • The GDExtension side can already expose these structs to the binder API with a proper layout description, but the C# in support has not been moved to it yet (its one of the missing steps to merge both the C# and C++ editor).

So basically, this area of the engine is a work in progress. Fortunately there is not a lot of the API exposed this way, the majority uses more efficient interfaces. This is more part of the legacy code that is being modernized.

346 points

<randomperson1> Godot 3D capabilities are so far behind <insert engine> it's not even fun, they have an army of programmers and millions in the bank. Godot does not, they will never be able to catch up in rendering features.

<randomperson2> But, what's missing exactly?

<randomperson1> Everything! Like.. uh.. eh.. Occlusion Culling!

<randomperson2> Oh yeah, lightyears away for certain.. that's worrying.

51 points

That's kind of the problem. When I wrote it (Godot was not even open, just internal doc), it was not intended to be a political statement, just an internal joke. Over time, the popularity of the engine made the community blow this totally out of proportion.

31 points

Eep. This is my fault, not karrofel's.

We hired him long ago to work on the GLES2 renderer for Godot 3.0. Because there were no rendering contributors we offered him to train him on this. He did a great work, but due to the high demand of rendering guys in general, he ended up moving to a company that paid him much better. I suppose that warning is from before that time.

In the end I completed the GLES2 renderer (which is now maintained by clayjohn and lawnjelly), but it seems I completely forgot about this function.

78 points

It unfortunately does not work like that.

When you hire somebody, if you don't have experience working with this person, the chances the work will be done properly is usually very low, hence the risk is high.

  • The quality of work has to be very good
  • The rate at which content is produced has to be good, most contractors slow down with time. Many, if not involved enough, use the financial security to look for other jobs that pay more and toss you aside, leaving unfinished work.
  • The work must be done without requiring time from other contributors. If this person needs a lot of feeback, help, reviews, etc. and ends up slowing down other paid contributors, its a problem because productivity goes negative. This is one of the reasons why we only take the bare minimum students for GSOC, as contributors end up spending a lot of time with them.

So, as I mentioned, its not so simple to deal with paid people and there are always different types of risks. This is why we only hire contributors who have proven themselves and are truly involved with the project. There is zero intention of burning donation money in taking chances.

5 points

We are going to hire someone to improve the documentation system in the coming weeks (hope to do the announcement soon). This will probably also help as the idea is to either link the QA to the documentation (including the class ref), or add some sort of feedback system like notes. This will help the community share knowledge better when there are missing doc bits or something is not clear.

6 points

We don't like using funds this way because just hiring someone you don't have experience with often goes wrong. I know that for many donating, besides being a sacrifice, its a way to show trust, so we only really spend money when we trust 100% that person hired will do a good job.

This is why, with contributors, we only hire those who have proven to do very good contributions over a long period of time instead of people we don't know. We hope they prove their worth before we can use money for something like this.

If someone who does great tech writing comes and does very good contributing to class ref, we would not even doubt about paying this person, or even crowdfund if needed, so this contributor can spend more time on it. This is what we are doing with RTL support now basically, but someone has to prove they can do the job very well first.

4 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.