Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: SFML.Net performance (GC)  (Read 4205 times)

0 Members and 1 Guest are viewing this topic.

netrick

  • Full Member
  • ***
  • Posts: 174
    • View Profile
SFML.Net performance (GC)
« on: July 16, 2015, 04:04:25 pm »
I have a question related to the following issue: https://github.com/SFML/SFML.Net/issues/5.

I see it's still not fixed, so I'm wondering if there are some problems related to performance/stuttering/memory usage using this binding?
I am asking about both Microsoft CLR (Windows) and Mono (Linux).

Thank you
« Last Edit: July 16, 2015, 04:07:39 pm by netrick »

netrick

  • Full Member
  • ***
  • Posts: 174
    • View Profile
Re: SFML.Net performance (GC)
« Reply #1 on: July 17, 2015, 12:48:41 pm »
I want to clarify one thing. I'm not asking about some very advanced technical stuff and theorycrafting - I just want to know if you had any problems in more advanced SFML.Net projects. Using "hello worlds" etc. everything seems to work fine, altough I have no idea how it looks like in more demanding scenarios.
« Last Edit: July 17, 2015, 12:59:42 pm by netrick »

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Re: SFML.Net performance (GC)
« Reply #2 on: July 18, 2015, 02:30:38 pm »
Quote
I just want to know if you had any problems in more advanced SFML.Net projects.

No, there is not any problems. As for the actual open issue on the tracker I'm starting to consider it a non issue. The only thing it would change is if someone would let an SFML.Net object go out of scope without explicitly calling .Dispose() on the object. And if the person isn't calling .Dispose() then you will have no idea when the GC gets around to destroying the object and thus it can seem as if a memory leak is happening.

http://stackoverflow.com/questions/2548664/do-i-need-to-call-dispose-on-managed-objects
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor