Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

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:
    100
    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:
    7,890
    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:
    100
    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,847
    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:
    100
    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:
    352
    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,317
    dannyalgorithmic, Havyx and Cyber-Dog like this.
  8. Cyber-Dog

    Cyber-Dog

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

    dannyalgorithmic

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