ilmenit Posted December 27, 2016 Share Posted December 27, 2016 The talk is great and compilers got really good nowadays. Take a look however at this moment https://youtu.be/zBkNBP00wJE?t=1663. Without checking the compilation output constantly you cannot be sure if compiler removed all unnecessary code. This applies also to CC65. Writing His Dark Majesty I didn't really look at what is generated. If I would the computer AI could work at least twice as fast. I had no idea at the time of the overhead added by using structs in CC65. Quote Link to comment Share on other sites More sharing options...
Blues76 Posted December 27, 2016 Author Share Posted December 27, 2016 The talk is great and compilers got really good nowadays. Take a look however at this moment https://youtu.be/zBkNBP00wJE?t=1663. Without checking the compilation output constantly you cannot be sure if compiler removed all unnecessary code. This applies also to CC65. Writing His Dark Majesty I didn't really look at what is generated. If I would the computer AI could work at least twice as fast. I had no idea at the time of the overhead added by using structs in CC65. I think checking assembly for large programs becomes hard sometimes. But there are some people that take a look at it still. One useful exercise is to write a small C++ program with the feature that one wants and check output. In particular, differences between clang, gcc, and visual c++ ). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.