Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.
Options

C++ vs C#

Hello,
I was just reading the "Performance recommendations for Unity" documentation.
https://developer.microsoft.com/en-us/windows/holographic/performance_recommendations_for_unity

This got me thinking if C++ was a better language to develop for HL.
Personally I cant avoid Unity and C# but if C++ / D3D is indeed going to be critical to performance then I can hire a few C++ developers.

Thank you for your inputs.
behram

Best Answers

Answers

  • Options
    JeromeJerome ✭✭

    you compare using an optimized engine (Unity) with C# code which do the intelligence of the app with a C++ custom engine.
    So for sure creating your own 3D engine in C++ will be very very long. this will takes years to have an optimized one like Unity provide it to you today.
    and you still have to create your app after this.

    Think about the animations, the particles, the collision etc... you'll have to create all of these elements in your engine (based on what you want to achieve for sure)

  • Options

    Also consider the fact that most of the issues using C# and Unity under a strict resource management scenario will (hopefully) be alleviated by improved IL2CPP and upgrading the .NET runtime (specifically the garbage collector)
    I was intrigued by rolling my own engine until I went through a solid 3 months of architecture design and decided life was too short :smiley:

  • Options

    Thank you for weighing in everyone.
    @JVareck77 good to know about IL2CPP and the .NET run-time upgrade.Thanks.
    @Jerome Ok so I have to write / own a custom engine to use C++.Dead end.
    Unless Unreal Engine 4 supports HL (I think they will support MagicLeap)

    @DanglingNeuron got it .Thanks

    b

Sign In or Register to comment.