C++ (OpenGL/Box2D) vs. C# (OpenTK/Box2DX)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
4,682
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Oct 7, 2010

The C# version uses only one shape type and the C++ version uses multiple shape types. Both versions generate exactly 800 shapes. The C++ version runs at ~95 fps and the C# version runs at ~15 fps.

Category:

Entertainment

Tags:

License:

Standard YouTube License

  • likes, 14 dislikes

Link to this comment:

Share to:

Uploader Comments (visusnet)

  • Actually, the second version does not lag... That's due to the screen capturing software. The OpenTK version lags horribly...

Top Comments

  • Все зависит от прямоты рук. . .

  • Why would you say the C# is so much slower? OpenTK should be very close in terms of performance. Is Box2DX the problem? Are you running the C# in debug mode?

    My guess would be that the C# is just really poorly coded in comparison.

see all

All Comments (6)

Sign In or Sign Up now to post a comment!
  • Thanks for the comparision. Helped clearing some things up for me :)

  • C++ for the win! :)

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more