Re: init
toby wrote:
boxcenter = centerpt + halfwidth/2.0 (* would also work *)
D'oh! With some extra work you could do that in OCaml or C++ as well. OCaml
would require different operators for different types (or slower, dynamic
typing).
Have a look at Blitz++ and Boost...
--
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/products/ocaml_for_scientists/chapter1.html
.
Relevant Pages
- Re: 64-bit PolyML
... There are dozens of language implementations slower than the ones I've ... OCaml has a stable position for now. ... is from GCC means to me that mlton, gcc, and ocaml are actually ... (comp.lang.functional) - Re: Speed wars 3: OCaml, F#, Clojure, Pascal
... slower than OCaml. ... Your OCaml version spawns *a lot* of processes (and they are not ... spawned to hundreds instead of dozens, in which case it will grind to a ... The Haskell probably has a lower load average and takes longer because ... (comp.lang.functional) - Re: 64-bit PolyML
... adapting the GC of OCaml and the code generator to new processors also ... executing slower than the 64-bit code to the extend it does, ... You can rely that it executes, ... that is a general effect. ... (comp.lang.functional) - Re: OCAML versus C++ ray-tracing benchmark
... Doing tests on another machine, a Pentium 4 3.0 Ghz with 1024 k cache, I find results consistent with Emre, ie ocaml 2 times slower than g++. ... my kernel does not support hyper-threading whereas my CPU is supposed to be hyper-threaded, and although the test app is single threaded, g++ might be too clever for its own good, and generate code that is particularly inefficient in this specific scenario? ... I will install the proper kernel, and see if that makes any difference. ... (comp.lang.functional) - Re: Speed wars 3: OCaml, F#, Clojure, Pascal
... where Haskell is 24x slower than OCaml. ... Your OCaml version spawns *a lot* of processes (and they are not properly ... The Haskell probably has a lower load average and takes longer because it ... (comp.lang.functional) |
|