Re: Can OpenEuphoria Help Solve This?
- Posted by ghaberek (admin) Aug 20, 2018
- 1938 views
Since we can translate/compile, aren't we essentially using C?
Oh boy, that's a loaded question. Like Irv said, yes it's C but it's not hand-written C.
The compiler does a pretty good job of optimizing what the translator spits out, but if you hand-converted your Euphoria code to C it would still be measurably faster. I'm guessing at least 10-15%.
With hand-written C you can tune the crap out of it and use threading, or by inserting hand-coded inline assembly, or with stupid C tricks like Duff's device.
Plus there are better languages out there for expressing and solving big math problems, like R or OCaml.
And if you want to get as much speed as possible, using OpenCL or Vulkan will yield amazing results by leveraging modern GPUs.
-Greg