Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

I was gone for a year. What did I miss?

Discussion in 'General Discussion' started by UltronTM, Aug 21, 2016.

  1. UltronTM

    UltronTM

    Joined:
    Dec 26, 2014
    Posts:
    78
    I moved from UE4 back to Unity.

    I already caught up a bit. I saw the preview for the new input system. Also the Asset Store godsmacked me that Unity recently got GameWorks grade extensions, too. Like real time global illumination and unified particle based physics. I thought that such tech only would be available to AAA engines like UE4.

    Needles to say that I find the "Adam" tech demo quite impressive. It is very nice to see that with each tech demo Unity is getting better and better with its graphics.

    I look forward to the cinematics editor "Director". Also the F# plugin looks very interesting, too. It is kinda funny how some, view F# even as a "replacement", or "successor" to C#. It's funny because I do have the same feeling, I just can't really tell for sure because I lack F# programming experience myself.
     
  2. N1warhead

    N1warhead

    Joined:
    Mar 12, 2014
    Posts:
    3,884
    @SouldomainTM : That's a first I heard about F# on Unity. Where do I find out about this?

    I haven't done F# either, but I have looked into it. Just never had a push to do it lol.
     
  3. UltronTM

    UltronTM

    Joined:
    Dec 26, 2014
    Posts:
    78
    @N1warhead

    I found F# Kit that seem to make Unity more F# friendly.

    Nerve said in the Feedback section for the implementation of F#:

    "F# is a very cool language, casting a wide net with paradigms, sprinkling on some syntactic sugar, and being far less verbose than C# in general, while maintaining readability. And for large projects like games, its functional-first attitude allows more much more effective multithreading and code safety.

    I am all for this. F# seems like a worthy successor to C#, which has run its course and done an excellent job doing so."
     
  4. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    Sounds like you are looking at the marketing hype and not the engine as it is today. The new input and director are still under development, without firm ETAs.

    Global illumination is real, and in the engine. PhysX also got an upgrade.

    As to what's changed, the main new push has been services. Unity has built in analytics, cloud build, ads, IAP, and a bunch of other cool stuff.
     
    djweinbaum likes this.
  5. N1warhead

    N1warhead

    Joined:
    Mar 12, 2014
    Posts:
    3,884
    That leads me to the next question. Does this actually compile and run F# code in game, or does it do some backend stuff that converts F# into C# while running.Sounds more like that. As isn't C# and Unityscript built in stuff with Unity?
     
  6. neginfinity

    neginfinity

    Joined:
    Jan 27, 2013
    Posts:
    13,301
    You missed lithium apocalypse.
    Aside from that the engine hasn't changed much.
    There are few experimental builds that might be of interest, but it is unknown when their features will be integrated into stable release.
    http://forum.unity3d.com/threads/mixed-mode-fixes-and-lighting-window-preview-1-try-it.424991/


    I'd advise not to buy into hype, especially if this is only one person praising the language.

    Overall it looks like another homebrew bastard child of few languages from ML family. Since it apparently tries to be another functional language, I'd expect abundant garbage generation and most likely poor performance on mobile platforms.

    Don't get me wrong, I'd be very interested if someone provided proper common lisp or prolog bindings for unity, for example, but since it is another of those "let's make our own language with blackjack and ...", I'm very skeptical about it.
     
    theANMATOR2b and Kiwasi like this.
  7. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    Unity doesn't do it automatically. Unity can however except pre compiled dlls in IL. So as long as you can find a compiler to translate your favorite language into IL you can technically use any language.

    Most people don't bother and simply use C#.
     
  8. N1warhead

    N1warhead

    Joined:
    Mar 12, 2014
    Posts:
    3,884
    So in theory I could use C++ and get the speed of C++?
    I don't want to do that, I love my C#. But hey for the people who complain that the 'Other' engines have C++.
    Then they could just put C++ on here and go about their way lol.
     
  9. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,026
    There is a managed C++. Only one way to know for certain. :p
     
    N1warhead likes this.
  10. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    Yes you can use C++. No it won't give you much of a speed boost.

    You still have to compile it to IL. This still puts it firmly into .NET and memory management.
     
    N1warhead likes this.
  11. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,026
    Only to compile it back to C++ depending on the platform. I'd love to know the impact that has on the code. :p
     
    Kiwasi likes this.
  12. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    Yup. Compiling from C++ to IL to x to y to z to C++ again is probably going to mangle hand crafted optimisations.
     
  13. UltronTM

    UltronTM

    Joined:
    Dec 26, 2014
    Posts:
    78
    No, I'm aware that Director and the input thing ain't coming out too soon. But I can wait. :)

    I don't own that F# Kit extension. But in the future, just for the fun of it, I will buy it and learn some F# with Unity.

    You can find the extension thread for that F# extension here.
     
  14. aer0ace

    aer0ace

    Joined:
    May 11, 2012
    Posts:
    1,511
    Well, at one point, UT overhauled the forums with some new system, it broke a bunch of features, people became outraged, UT fessed up to the mistake, apologized, and reverted back to the old forums, and users praised them for listening... So there's that...
     
  15. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,026
    We may have also left some "subtle suggestions" in the feedback thread created after the revert that Lithium may not be well received in the future and that they may want to investigate alternatives. :p
     
    theANMATOR2b, Kiwasi and Martin_H like this.
  16. UltronTM

    UltronTM

    Joined:
    Dec 26, 2014
    Posts:
    78
    I wished that I had witnessed the end times, though. :/

    Yeah, I'm not going to up vote that implementation request for F# just yet. Not before I learned more, of course. However, regarding the performance. F# came out in 2005 and is created by Micro$oft. So I goes since it is now 11 years old, M$ could have managed to do some decent optimization. It's not like that M$ is a stranger to the creation of programming languages.
     
  17. goat

    goat

    Joined:
    Aug 24, 2009
    Posts:
    5,182
    I thought F# was the Java with MS extensions that eventually turned into C#. I didn't realized they reuse programming language names.
     
  18. Aiursrage2k

    Aiursrage2k

    Joined:
    Nov 1, 2009
    Posts:
    4,835
    GPU Instancing
     
  19. UltronTM

    UltronTM

    Joined:
    Dec 26, 2014
    Posts:
    78
    You mean stuff like instanced static meshes for higher frame rates?
     
  20. Aiursrage2k

    Aiursrage2k

    Joined:
    Nov 1, 2009
    Posts:
    4,835
    Yah. I know they had batching before but this time it can do over 300 polys I think up to 32x objects in a single drawcall.
     
  21. UltronTM

    UltronTM

    Joined:
    Dec 26, 2014
    Posts:
    78
    I see that Unity got Screen Space Reflection, too. This should make my change from UE4 to Unity easier. Not that I'm obsessed with that particular feature. But the graphical improvements in Unity are very welcome.