On Wed, Feb 20, 2013 at 10:05 PM, Ralph Castain <r...@open-mpi.org> wrote:
>
> On Feb 20, 2013, at 11:39 AM, Dmitri Gribenko <griboz...@gmail.com> wrote:
>
>> On Wed, Feb 20, 2013 at 9:34 PM, Jeff Squyres (jsquyres)
>> <jsquy...@cisco.com> wrote:
>>> If someone could write some generic java code to figure out the size of a 
>>> java type (and either printf it out, or write it to a file, or otherwise be 
>>> able to give that value to a shell script), that would be a good start.
>>
>> No need for that -- type sizes in Java are fixed.
>>
>> http://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html
>
> True - but the ones on the C-side are not, and that's the problem.

My point was that there is no need to write java code to detect type
sizes.  About C types -- don't we already check those anyway?  Sure,
we need to match these with java side, but there's no need to write
new code to check type sizes.

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <griboz...@gmail.com>*/

Reply via email to