Nodejs+Fabric as fast as multi-threaded C++
fabric-engine.com
Nodejs+Fabric as fast as multi-threaded C++
1–10 of 68 posts
Re: Nodejs+Fabric as fast as multi-threaded C++
#2Re: Nodejs+Fabric as fast as multi-threaded C++
#3Re: Nodejs+Fabric as fast as multi-threaded C++
#4Isn't -O6 the same as -O3 ?
Re: Nodejs+Fabric as fast as multi-threaded C++
#5"The high-performance parts of the application are written using a performance-specific extension to JavaScript, called KL (Kernel Language). This language is similar in scope and syntax to JavaScript, but has some key differences that optimize it for writing high-performance code.
Fabric applications are described as a dependency graph (think of a flow chart). The dependency graph describes data, and the transformations that must happen to that data. Fabric analyses the graph to discover where it is possible to perform tasks in parallel. (task-based decomposition) Fabric analyses the graph to discover where it is possible to perform the same instruction on lots of data at the same time.
All of this is possible because Fabric has the LLVM compiler embedded within it. This means that applications are dynamically compiled on target. The Fabric plug-in has to be written for each platform, but Fabric applications only have to be written once.
Fabric handles CPU multi-threading automatically, but the developer must explicitly write code for the GPU using OpenCL."
Re: Nodejs+Fabric as fast as multi-threaded C++
#6Not that it diminishes the interestingness of this post (quite the opposite), but it's worth noting that this is not achieved using plain-vanilla JavaScript. From the product page: "The high-performance parts of the application are written using a performance-specific extension to JavaScript, called KL (Kernel Language). This language is similar in scope and syntax to JavaScript, but has some key differences that opt…
Re: Nodejs+Fabric as fast as multi-threaded C++
#7 real 0m25.680s
My point being, that node.js doesn't work on this box, nor does Fabric. So when developing specialized algorithms you sometimes might want to run them in specialized environments.Re: Nodejs+Fabric as fast as multi-threaded C++
#8Not that it diminishes the interestingness of this post (quite the opposite), but it's worth noting that this is not achieved using plain-vanilla JavaScript. From the product page: "The high-performance parts of the application are written using a performance-specific extension to JavaScript, called KL (Kernel Language). This language is similar in scope and syntax to JavaScript, but has some key differences that opt…
Re: Nodejs+Fabric as fast as multi-threaded C++
#9The C++ versions were compiled using gcc version 4.4.5 using the compiler flags “-O6 – lpthread”. Isn't -O6 the same as -O3 ?