More D Features Working Their Way Into C++

ryuukk_ ryuukk.dev at gmail.com
Sun Nov 27 17:16:47 UTC 2022


On Sunday, 27 November 2022 at 16:21:30 UTC, Paulo Pinto wrote:
> On Sunday, 27 November 2022 at 14:52:43 UTC, ryuukk_ wrote:
>> On Sunday, 27 November 2022 at 10:30:24 UTC, Paulo Pinto wrote:
>>> Even Godot ships C# in the box, and there are unofficial 
>>> extensions for Unreal, while for D, one has to go through the 
>>> hurdle to deal with Godot-D integration. While not that hard, 
>>> it is an adoption obstacle.
>>
>> Godot only ships C# because Miguel wanted to spread the usage 
>> of "mono", not necesarilly C#
>>
>> Godot then got funding from Microsoft to start the work
>>
>> So it's not "organic", it was a Microsoft led initiative
>>
>> https://godotengine.org/article/introducing-csharp-godot
>
> For Godot users it doesn't matter how it got there, only that 
> it is available and they share their code with others with zero 
> hassle.
>
> This is how language marketing works.

Well it is important to know how it got there, because it 
emphasis the idea that the main character has to be pro-active

C# is not the "gamedev language", C++ still is, C# is just one of 
the scripting languages available, Lua is very prominent in asia, 
Tencent even uses it for their unity games

And to make C# a scripting language, once has to implement a shit 
ton of bloated stuff with mono, the story there is not compelling 
AT ALL and not everyone is willing to bloat their C++ engine to 
implement another bloated environement, Unity is and it cost them 
a lot

Unity stock is lower than their IPO value, C# only used for build 
script in Unreal, and they are working on their own language, 
monogame/fna died, consoles/mobiles forbid JIT compilers

I predict C# usage will significantly drop in gamedev in the 
coming years

Embark studio gave up with the idea of making their own Rust 
based game engine, instead they pivoted to a "rust" plugin for 
Unreal for their 2 upcoming games (using Unreal 5)

D can interop with C++, so it can co-exist in gamedev projects, 
including Unreal projects

So if C++ community is starting to look at D features, maybe is a 
good time to remind them of how interopeable the language is, 
let's make them try the language

But we have to remember that we compete with languages that are 
willing to change things to make them more compelling alternative

It's no longer a world with just few languages, it's now a shit 
ton of different languages to choose from




More information about the Digitalmars-d mailing list