Random Programming Questions
Posted 18 September 2016 - 09:47 AM
Worse yet, because games take a while to develop, and Microsoft is very bad at backwards compatibility, game developers very frequently aren't using the latest version of Visual Studio. Last studio I've worked at only switched to MSVS 2012 last year, and they were basically forced into that version by XBOne development. Up to that point, studio was using 2010, which has actual compiler bugs that aren't being fixed by MS because the version is no longer supported. So they had to switch from one outdated version to another, encountering new unsupported compiler bugs along the way, some of which I had to fix personally.
So the problem really isn't with the language so much as with the tools available to game developers for that language. That's not to say that C++ is perfect. But right now, I work at a company that's all C++14 under clang. Between new language features, clang's helpful error messages, and tools like clang-format, it's a completely different work process. I hope, game developers working exclusively on PS4 titles are making the best of this as well.
Posted 5 days ago
I have a question about a PHP:
In a combo box connected with MYSQL, I use a while to pick the data from a column, but I wonder how much data can pick the "while"? If I have a table with +100 data, the while will pick all the data and print on the combo box or pick less?
Sorry for my english...
Posted 5 days ago
With big data sets, it is sometimes desirable to set a limit to how many rows you fetch.
SELECT * FROM table_name LIMIT 1000;will return the first 1000 rows. You can combine it with WHERE and some index to break up data into pages. This is often done to reduce memory requirements and to otherwise improve performance.
However, 100+ rows are usually no problem to get in one query. You only really start having to think about it at 1000+ mark.
- EarthGaia likes this
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users