Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 5 of 5

Thread: programming damages??

  1. #1
    Intern Contributor
    Join Date
    Jul 2013
    Posts
    62

    programming damages??

    Hi folks,

    I'm a newb that would like to exploit your experience on 'what happens when you do things wrong' .. in the sense of the worst possible damages you can produce. One does not enter the realm of C/C++ without meeting the concept 'memory-leaks' early on. I've always thought of it as a problem that would be zero'ed out when I exit an application .. conversely a problem that could grow during the lifetime of a session of using an app. Does this hold or am I wrong?
    Using pointers may do damages .. but are any of them worse than what you can 're-install' yourself out of?

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Jan 2012
    Location
    Australia
    Posts
    1,104
    I am not sure what you are asking but when you are driving a gpu it is quite easy to hang your machine or create a rain of bits all over your screen.

  3. #3
    Intern Newbie
    Join Date
    May 2013
    Posts
    41
    Happily it's close to impossible to damage hardware this days with normal applications.
    One main design of hardware and software this days is that non expected errors cause a shutdown. Because an halted/crashed program/computer is better then running a defect one that may destroy more data then you can lose during the shutdown.

    Bugs in drivers and the operating system that you can trigger by API calls are the culprits this days that cause whole system crashes and security holes.

  4. #4
    Junior Member Regular Contributor tksuoran's Avatar
    Join Date
    Mar 2008
    Location
    Cambridge, UK
    Posts
    223
    If you have sufficiently poorly built PC, you can overheat your GPU and kill it. My poor old HD 6450 died because I didn't have fans other than PSU.

  5. #5
    Member Regular Contributor nickels's Avatar
    Join Date
    Feb 2000
    Location
    Colorado
    Posts
    282
    I burned out my Nvidia card and destroyed my laptop working on an OpenGl app. Of course it didn't help that I had the laptop hidden below my desk at work, setup with a KVM switch so I could work on my game engine. Not enough space to vent properly, I think.
    What can I say, some idiot decided we needed to stay till 10pm several days a week.
    Haven't worked there for a long time.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •