Search Unity

Jai Language: A data oriented replacement for C# in Unity

Discussion in 'Scripting' started by dannyalgorithmic, Feb 18, 2021.

  1. dannyalgorithmic

    dannyalgorithmic

    Joined:
    Jul 22, 2018
    Posts:
    84
    I am wondering if Unity has seriously considered rewritting the engine in this language after it has released in a production ready state, especially since Unity has made it clear that the future is data-oriented. Why not fund the production of this language and adopt it as the new standard if it pans out well?

    Is this something that could be done, even if only in the very long term?

    (1) Data-Oriented Demo: SOA, composition - YouTube
     
  2. PraetorBlue

    PraetorBlue

    Joined:
    Dec 13, 2012
    Posts:
    5,812
    Sure, anything is possible.

    For the moment Unity seems to be invested in ECS/DOTS which is all still C#
     
  3. dannyalgorithmic

    dannyalgorithmic

    Joined:
    Jul 22, 2018
    Posts:
    84
    They do seem hyperfocused on C# and understand it can help people by not having to learn a whole new language and possibly learn manual memory management. Though my hope is one day this can be used with their burst technique to give as a TON of not only speed, but easier and less error prone "entity" "composition" and the work done with and on entities.

    Hopes and dreams, my guy. :)
     
  4. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,229
    I highly doubt Unity picks up support for any rather obscure programming languages, no matter how powerful or superior they might be.

    C# has been so successful on Unity because it is an extremely popular language outside of Unity, it is very fast to write code for, and is powerful enough for the work it is needed for.
     
  5. dannyalgorithmic

    dannyalgorithmic

    Joined:
    Jul 22, 2018
    Posts:
    84
    You're probably right. This idea makes progress possible at times and completely halts real progress at others. Unfortunate.
     
  6. Cyber-Dog

    Cyber-Dog

    Joined:
    Sep 12, 2018
    Posts:
    338
    data-oriented language is great for squeazing every drop out of performance. But realistically object-orientated is still much more desirable. I believe allot of people with continue with this methodology despite Unity's recommendations.
     
    dannyalgorithmic likes this.
  7. Madgvox

    Madgvox

    Joined:
    Apr 13, 2014
    Posts:
    1,195
    dannyalgorithmic, Havyx and Cyber-Dog like this.
  8. Cyber-Dog

    Cyber-Dog

    Joined:
    Sep 12, 2018
    Posts:
    338
    This made my day :D
     
  9. dannyalgorithmic

    dannyalgorithmic

    Joined:
    Jul 22, 2018
    Posts:
    84
    I appreciate this a little too much. Very funny. lol
     
unityunity