Explore chapters and articles related to this topic
Web Application Frameworks
Published in Akshi Kumar, Web Technology, 2018
Ruby is a dynamic, general-purpose object-oriented programming language that combines syntax inspired by Perl (also influenced by Eiffel and Lisp). In Ruby, everything is an object. Ruby is an interpreted language and supports multiple programming paradigms, including functional, object-oriented, imperative, and reflective. It has a dynamic type system and automatic memory management.
A high-fidelity building performance simulation test bed for the development and evaluation of advanced controls
Published in Journal of Building Performance Simulation, 2022
Thibault Marzullo, Sourav Dey, Nicholas Long, José Leiva Vilaplana, Gregor Henze
The first aspect that should be highlighted is the capability to interface to advanced controller development frameworks. The RESTful API allows the interfacing of various programs written in a variety of languages, provided that libraries are available for HTTP web communication and JSON and XML parsing. Such languages include, for example, Python, Perl, Julia, C#, PHP, Java, JavaScript, Ruby, and R. Hence, on the lowest level of development, the ACTB does not limit development to a given programming language or framework but makes it possible for research scientists to develop their own control sequences and to use a variety of existing libraries. This high level of flexibility allows developers to focus on controller development rather than allocating time to mastering a new programming language or usage-specific API.
Comparison of direct and indirect methods for minimum lap time optimal control problems
Published in Vehicle System Dynamics, 2019
Nicola Dal Bianco, Enrico Bertolazzi, Francesco Biral, Matteo Massaro
In all previous test problems nothing has been stated about the solver performance related to the time required to compute the solution. A comparison of such performance for the two algorithm is not an easy task because the two solvers are developed with different programming languages. Pins is entirely written in C++ and, even if it uses a Ruby interpreter to setup the problem data, the solution algorithm and the problem function evaluation are computed by compiled code. GPOPS-II instead is developed as a MATLAB© library, but uses a compiled NLP solver (in this work a compiled version of IPOPT has been used). Thus, function evaluation is done at MATLAB© level (even if the user may compile the functions into mex files) while the NLP solution is calculated by compiled code. Thus a comparison of the solvers performance is not really meaningful to compare the efficiency of the algorithms, but it is certainly interesting from a practical (i.e. user) point of view. In the test problem analysed in this work, it has been noticed that Pins is generally significantly faster than GPOPS-II; the measured computing times are reported in Table 8.
Modeling, analysis and verification of real-time resource access control protocols: a formal approach
Published in International Journal of Computers and Applications, 2018
Rumpa Hazra, Shouvik Dey, Jayashree Singha
ANTLR generates code in various programming languages such as Ada95, Action Script, C, C#, Java, JavaScript, Objective-C, Perl, Python, Ruby, and Standard ML. But at present Java and C# are the main targets of the current released versions.ANTLR (a recursive descent parser) implements a predictive LL(k) parsing strategy to make arbitrary look ahead to remove conflicts in case of ambiguous grammars.One of the advantages of ANTLR is that a single consistent notation is used to specify lexers, parsers and tree parsers in ANTLR. This makes ANTLR easier to use.The greatest advantage of using ANTLR is that it provides a way to design tools as per user requirements by encoding against each parse rules separately.After successful compilation of the formal specification, ANTLR generates a method (for each parse rule) that can be reused during coding for tool design. Developers can also insert their own code inside the generated methods.There is a provision in ANTLR that one can import a grammar from inside another grammar. This can be very helpful for the design of simulator to provide the tool support.