JavaScript is an interpreted language mainly known for its inclusion in web browsers, making them a container for rich Internet based applications. This has inspired its use, for a long time, as a tool for evolutionary algorithms, mainly so in browser-based volunteer computing environments. Several libraries have also been published so far and are in use. However, the last years have seen a resurgence of interest in the language, becoming one of the most popular and thus spawning the improvement of its implementations, which are now the foundation of many new client-server applications. We present such an application for running distributed volunteer-based evolutionary algorithm experiments, and we make a series of measurements to establish the speed of JavaScript in evolutionary algorithms that can serve as a baseline for comparison with other distributed computing experiments. These experiments use different integer and floating point problems, and prove that the speed of JavaScript is actually competitive with other languages commonly used by the evolutionary algorithm practitioner.
翻译:JavaScript是一种解释语言,主要以将其纳入网络浏览器而著称,使其成为基于互联网的丰富应用程序的容器。这长期以来激励人们将其用作进化算法的工具,主要是在基于浏览器的自愿计算环境中。一些图书馆也已经出版,并正在使用中。然而,在过去几年里,人们对该语言的兴趣重新抬头,成为最受欢迎的语言之一,从而促使其实施得到改进,而该语言现已成为许多新的客户服务器应用程序的基础。我们为运行分布式基于自愿的进化算法实验提供了这样的应用程序,我们还进行了一系列测量,以确定进化算法中JavaScript的速度,这些算法可以作为与其他分布式计算实验进行比较的基线。这些实验使用了不同的整数和浮动点问题,并证明JavaScript的速度实际上与进化算法操作者通常使用的其他语言具有竞争力。