The C++ versions were compiled using gcc version 4.4.5 using the compiler flags “-O6 – lpthread”. Isn't -O6 the same as -O3 ?
Nodejs+Fabric as fast as multi-threaded C++
21–30 of 68 posts
Re: Nodejs+Fabric as fast as multi-threaded C++
#22Fabric Server isn't available to play with?
Re: Nodejs+Fabric as fast as multi-threaded C++
#23Not 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++
#24Not 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…
I would agree. To me it looks they have made an easier way to create programs that process data in parallel efficiently and made it easy to use them from dynamic languages. It's not so much "java script is as fast as C++", but "our system is a fast as C++ and you can use it from java script". They are using "Node.js" and "JavaScript" in title for the marketing angle if anything, because people don't use Node.js and J…
We picked node as a first target because we were already using it for our client-side work - it was a very fast integration.
Re: Nodejs+Fabric as fast as multi-threaded C++
#25So this software involves installing a plugin in the browser? In an age where users are being warned by the browser makers themselves to be careful about that sort of thing? I can't see this ending well.
We are likely to build support for NaCl in the future.
On the server-side, there is no requirement for a client to install a plug-in - it's for high-performance on the server i.e. semantic analysis, compute bound problems etc
Last point - we also think a lot about hybrid models where performance can be accessed on both client and server. This is much longer term, but the design of Fabric allows for it.
Re: Nodejs+Fabric as fast as multi-threaded C++
#26Not 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…
Any ideas on how this model compares to HipHop (Facebook's PHP-to-C system)?
Fabric is most impressive when problems lend themselves well to parallelism - this first benchmark test is ridiculously good for us. Other tests are likely to vary significantly - however, even single-threaded we are running fast.
Another note - right now the only parallelism model we offer is the dependency graph, which is great for some problems (particular in 3D). As we move to other models for the server (like MapReduce), we may see better performance for certain classes of problem.
Re: Nodejs+Fabric as fast as multi-threaded C++
#27So this software involves installing a plugin in the browser? In an age where users are being warned by the browser makers themselves to be careful about that sort of thing? I can't see this ending well.
Hi there - it depends on who you're targeting. Our client-side focus is on native developers looking for high-performance in web applications e.g. medical visualization http://vimeo.com/31970502 - the benefits of web applications are great, but performance is the current limiting factor. We are likely to build support for NaCl in the future. On the server-side, there is no requirement for a client to install a plug-i…
You can how we've extended Fabric to include existing C++ libraries - great for custom data types, streaming data etc
It is not really a consumer web technology - we're acutely aware of the plug-in friction/antipathy. However - if you want HPC in the browser, this is one of the only ways to do it.
Re: Nodejs+Fabric as fast as multi-threaded C++
#28Re: Nodejs+Fabric as fast as multi-threaded C++
#29Is Fabric Engine commercial software? If so, the authors of this post ought to disclose their interests as the owners.
Re: Nodejs+Fabric as fast as multi-threaded C++
#30Not 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…