Ericom Blog
 
 
Support Center   |    Forums   |    Blog   |    Contact

Too Much Gold Can Be A Problem

| 750
SHARE:

While I’ve published a few post here about 64-bit computing and its benefits for Server Based Computing, it’s fun to consider some of its additional potential benefits. For example, I recently ran across a report that “Blizzard apparently used signed integers for their World of Warcraft gold values as some people have recently hit the limit of 2^31″ (via Slashdot). When developing 32-bit applications 2^31 (for signed integers) and 2^32 (for unsigned integers) are natural limits. If WoW had been developed as a 64-bit application users would have been able to amass much more gold: 2^63 and 2^64 respectively.

Note: I’ve never played WoW so I don’t know if you can be in debt, i.e. have negative wealth. If not then Blizzard could have postponed the problem by using unsigned numbers. OTOH some programming languages, such as. Java, natively support only signed integers. This makes the processing of unsigned integers more difficult when developing in these languages.

Profile:
Dan Shappir is responsible for all aspects of product design, software development and maintenance of the Ericom's product lines. Mr. Shappir joined Ericom in 2001 and brings over 15 years experience in computer programming, and in the design and architecture of software products. Mr. Shappir holds a B.Sc. in Computer Science (with honors) from the Hebrew University of Jerusalem, Israel and an M.Sc. in Computer Science (with honors) from Tel Aviv University, Israel. | Ericom Software
comments powered by Disqus
 
 

Sign Up!

By subscribing you agree to the terms of our Privacy Policy

Categories

Recent Posts