I am developing my first plugin with VST SDK.
I would like to know how to deal with the choice between Sample32 and/or Sample64.
I built a 32 bit prototype and was happy with the results. Next I tried to introduce support for both 32bit and 64 bit using C++ template and the code started becoming ugly at a very rapid rate even for my simple prototype.
Makes me wonder , how do others deal with it.
Here are some questions
- Is C++ template, the suggested way to target both ? Any suggestions on coding in general ?
- Is it better to keep two version of the code - so two builds - one targeted at 32 bit another at 64 bit ?
- If I had to keep only one version, would I cover more end users by sticking to 32 bit or 64 bit ?
- Some forums on the net claim that 64 bit would be more efficient. Is that somehow true ?
I searched the forum but could not find any discussions on the topic.
Any suggestions would be appreciated