Mike Schilling wrote:
> "jmcgill" <> wrote in message
> news
_R8g.4871$_c1.217@fed1read05...
>> Mike Schilling wrote:
>>
>>> That's a shame; you should. One describes a language, one describe an
>>> implementation of that language. They are not the same thing.
>> In my narrow corner of the real world, there is only Sun. I'm not
>> particularly proud of that 
>>
>
> I'd go further than Sun vs. other JVMs, though. My claim is that Java is a
> language with its own definition, and that JVM-related restrictions are not
> part of that language definition per se.
>
> Thought experiment: consider a Java environment that isn't JVM-based;
> rather, it compiles Java to .class files, and allows you to link those files
> into a native executable. If it can compile methods too large for javac,
> would you consider this a violation of the language spec? Does is matter if
> they can theoretically be presented in 65K of bytecode?
>
>
Mike we're much closer to full agreement than you seem to think.
But I've got the mindset where, if something doesn't work in practice,
you miss the delivery of your iteration. All the theory in the world
won't put words in the email to your project manager that spins it like
a positive thing
I saw the OP's routine. It's in some vector-based language that I think
I haven't ever seen. It's obvious that, where the original language
declares things as sets, the translation to java has to implement
loops... and naturally, unrolls those loops. 8K iterations, some of them.
I have to admit that I don't understand the source language, that if I
did understand it, I don't understand the physics or geometry behind
the original problem (Ising model/thermodynamic analysis; I got far
enough in physics to have heard of it, but not far enough to understand
what it's useful for.)
I'm still really curious though, because it's rare that I see a
programming language I don't recognize.
What language is this?
topology = torus in {bounded,torus};
width = 512 in {64..4096}; #defines a default and a range.
height = 512 in {64..4096};
or this:
bonds = ([0,1] << 0) + ([0,-1] << 1) + ([1,0] << 2) + ([-1,0] << 3);