MFGG Forums
  • Home
  • Members
  • Help
  • Search
MFGG Main Site MFGG Forums MFGG Developer Discussion v
1 2 3 4 5 … 16 Next »
C++ exception handling
MFGG Forums MFGG Developer Discussion v
1 2 3 4 5 … 16 Next »
C++ exception handling
MFGG Forums MFGG Developer Discussion v
1 2 3 4 5 … 16 Next »
C++ exception handling
Mark All Posts Read Today's Posts

C++ exception handling
PaulineGamer
Hammer Bro
Members
Site Developer/Webmasters Submitter NCFC Contributor Secret Santa Popeyes Badge MFGG 17th Anniversary MFGG Awards 2017 Winner
#2
03-31-2026, 04:56 PM
ive run into this problem with gamedev before. not in C++ but in C#, but im sure the experience will be similar

basically, yes the performance hit will be huge.

i did something silly that caught exceptions when you were changing levels. the game locked up for like an entire half-second from catching a few exceptions. i figured it would be instant, but no, it is very very costly.

especially if you're planning on throwing / catching exceptions on a per-frame basis, this will totally not work. id recommend avoiding them entirely for games
Vimimin Wrote:Hylian's day job, little did we know, was saying controversial things on the internet.
Mors Wrote:you fool!!!! you fixed it wrong!!!!

[Image: GGyaUXO.png]

[Image: ggc0JQ0.png] [Image: d7OJc4b.png]
Bibby Team
[-] The following 1 user Likes PaulineGamer's post:1 user Likes PaulineGamer's post
  ↳ GeneSu730
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Messages In This Thread
C++ exception handling - by GeneSu730 - 03-15-2026, 09:52 PM
RE: C++ exception handling - by PaulineGamer - 03-31-2026, 04:56 PM

  • View a Printable Version
Forum Jump:

Mario Fan Games Galaxy - Powered by MyBB | MFGG Staff | Contact Us

Linear Mode
Threaded Mode