|
version of linux (64 vs. 32)? |
Posted by Michael on Jan-18-2011 21:32 |
|
I plan to install ChartDirector on the current 64 bit development machine in a virtual Linux machine. I assume that I would download the 64 bit version for this. However, I will be moving the development environment to a hosted virtual machine in the next few months, and I'm not sure if they will be running a 64 bit or 32 bit machine.
Should I just go with the 32 bit, which I assume will work on both?
What is the performance difference between the Linux 32 bit and 64 bit versions? |
Re: version of linux (64 vs. 32)? |
Posted by Peter Kwan on Jan-19-2011 02:33 |
|
Hi Michael,
If you are using a scripting language (eg. PHP, Perl, Python or Ruby), you should use ChartDirector for Linux (64-bit) if your scripting language interpreter is 64-bit. You should use ChartDirector for Linux (32-bit) if your scripting language interpreter is 32-bit.
As far as I know, all scripting language interpreters on Linux cannot load shared objects that are of a different architecture from themselves. For example, a 64-bit PHP interpreter is unable to load 32-bit PHP extensions and vice versa.
For your case, you can use the ChartDirector edition that matches your development machine. The scripts you have written will run on other machines too, no matter if those machines are using 32-bit or 64-bit or even other OS. If your hosted machine is 32-bit, you just need to upload the 32-bit ChartDirector shared object to that machine, and your scripts will continue to run.
Like most applications, there is only very little performance difference between 32-bit and 64-bit. (The main advantage of 64-bit is being able to use more than 4GB of RAM per process. This is useful for database engines or other resource hungry applications. As ChartDirector is quite efficient in using memory, and so can run just as efficient under 32-bit.)
Hope this can help.
Regards
Peter Kwan |
|