Is it possible to do hundreds of big matrix calculations a second in GDScript?

Godot Version: 4.1.2.stable.mono

Goal

I’m trying to train an AI to play a game (against other AIs) and the reason I need to do these big calculations is because I have an AI population of 50 that need to update and “decide” what to do.

Questions

Main question: Is it possible to do hundreds of big matrix calculations a second in GDScript?

Do I have to use C# instead?
Is it even possible to do this with good performance?
Is my goal too big or unrealistic for Godot?

Considering

I moved from using C++ and SFML but ran into some big annoyances and wanted to automate the process with a game engine. I’m pretty new to Godot and I don’t know any way to do what I want without making a terrible and inefficient class. I don’t want to jump out of Godot too soon, because I think it’s a great tool for making games easily, but I don’t know if what I’m trying to do is too big for it.

Thank you for reading, I appreciate any help. Have a great day and may God bless you.

I’m no expert on AI but from what I am hearing you should consider using the GPU for these kind of calculations. Floating Point operations aren’t that fast (at the amount you want) in C# either.
Godot has support for Compute Shaders which might help.