1. Hello,

    I am currently learning Python and I wanted to know if there is lower performance with Python scripts because Oxide is C# natively?

    Thanks
     
  2. Wulf

    Wulf Community Admin

    The languages vary slightly depending on how they are used, but in the end they are essentially all compiled down to essentially be native code. Do keep in mind that we may be dropping non-C# languages in the future though.
     
  3. Thanks for the reply :) I will give C# a go sometime soon then.
     
  4. Calytic

    Calytic Community Admin Community Mod

    The performance of non-C# languages in oxide is substantially worse. Yes, it is compiled down to essentially native code, but if you were to inspect that code using a profiler you would notice substantially more method calls being made.
     
  5. Wulf

    Wulf Community Admin

    It actually was pretty comparable last time we did benchmarks. C# actually under performed in some areas.
     
  6. Calytic

    Calytic Community Admin Community Mod

    I'd be curious to see the benchmark source, or even know what changed since last year. JS performance was terrible when I tried it.
     
  7. Wulf

    Wulf Community Admin

    @Nogrod had a bunch of them that he performed. Python, JavaScript, and Lua got improved a good bit, but it really depends on what you do and call.
     
  8. Calytic

    Calytic Community Admin Community Mod

    Ahh okay, fair enough.