On 4/18/14, 1:53 PM, Russel Winder wrote:
> I am trying to update a few of my (miniscule) X10 codes. I thought I
> would do a little "microbenchmarking" of the C++ and JVM backends. This
> of course entails "warming up" the JVM to get any kind of fair
> comparison. Is there a way for a code to know whether it is running on
> the C++ backend or a JVM?
>
> This is a RTFM type question I know, so a reference to the FM would be
> great!
>
> Thanks.
>
Heh. The FM (or for that matter the AM -- awesome of course) is at 
x10-lang.org, click on Documentation.

Interesting point -- you may just have to pass an argument for now to 
permit the program to figure out which back-end it is running on. Or 
maybe there is some method on some standard class which returns a 
different behavior in the two cases..

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to