Javascript performance on big project

Hello,

I planned to start develop a new project on fivem and i’m wondering if I can use Javascript; but i’m still some question about performance and best practices.

Is javascript a good option for a big project ? I plan to build single (very) big ressources over instead of lots of little one. Forum look’s to say JS is slower than lua, but is this still applicable on big scripts ? C# must be the choice for this kind of project; but i’m more efficiency with JS.

So anyone have already tested to build this kind of ressources in JS or made a performance report in real condition (not just run a few natives, but real script with many features) ?

Thank you for reading !

I ran some tests and if you’re code is good the difference in negligible. Personal proficiency and the features offered by a certain language are more important than the couple milliseconds you’ll save running a loop in C# vs JS.

1 Like