Reactive applications are difficult to implement. Traditional solutions based on event systems and the Observer pattern have a number of inconveniences, but programmers bear them in return for the benefits of OO desig...
详细信息
ISBN:
(纸本)9783642550997;9783642550980
Reactive applications are difficult to implement. Traditional solutions based on event systems and the Observer pattern have a number of inconveniences, but programmers bear them in return for the benefits of OO design. On the other hand, reactive approaches based on automatic updates of dependencies - like functional reactive programming and dataflow languages - provide undoubted advantages but do not fit well with mutable objects. In this paper, we provide a research roadmap to overcome the limitations of the current approaches and to support reactive applications in the OO setting. To establish a solid background for our investigation, we propose a conceptual framework to model the design space of reactive applications and we study the flaws of the existing solutions. Then we highlight how reactive languages have the potential to address those issues and we formulate our research plan.
In the paper, we present principles of an object-orientedprogramming language for Physarum polycephalum computing. Physarum polycephalum is a one-cell organism that can be used for developing a biological architectur...
详细信息
ISBN:
(纸本)9781479933037
In the paper, we present principles of an object-orientedprogramming language for Physarum polycephalum computing. Physarum polycephalum is a one-cell organism that can be used for developing a biological architecture of different abstract devices. Both, theoretical foundations and assumptions for a language specification are considered. Especially, we focus on selected approaches (ladder diagrams, Petri nets, and transition systems) enabling us to model behaviour of Physarum polycephalum in the created programming language.
As a partner of the Tesys Rail Project, the University of Florence has developed an innovative model of the longitudinal railway vehicle dynamics that can be easily adapted to different kind of applications and missio...
详细信息
As a partner of the Tesys Rail Project, the University of Florence has developed an innovative model of the longitudinal railway vehicle dynamics that can be easily adapted to different kind of applications and mission scenarios, ranging from tramways or freight to passenger or even high speed train. The aim of the model is the efficiency and energy optimization of railway systems. A particular attention has been paid to the modularity of the proposed approach and to the possibility of real time implementation on different application targets. The proposed modeling approach reaches a good compromise between the capability of the model to reproduce the behavior of the simulated physical systems and the simplification needed to make the model more general and suitable to represent different technological solutions. In this work, the proposed modeling approach is exposed and, in order to highlight its main features, some benchmark tests are shown.
Event-driven user interface applications typically have a single thread of execution that processes event handlers in response to input events triggered by the user, the network, or other applications. Programmers mus...
详细信息
ISBN:
(纸本)9781450325851
Event-driven user interface applications typically have a single thread of execution that processes event handlers in response to input events triggered by the user, the network, or other applications. Programmers must ensure that event handlers terminate after a short amount of time because otherwise, the application may become unresponsive. This paper presents EventBreak, a performance-guided test generation technique to identify and analyze event handlers whose execution time may gradually increase while using the application. The key idea is to systematically search for pairs of events where triggering one event increases the execution time of the other event. For example, this situation may happen because one event accumulates data that is processed by the other event. We implement the approach for JavaScript-based web applications and apply it to three real-world applications. EventBreak discovers events with an execution time that gradually increases in an unbounded way, which makes the application unresponsive, and events that, if triggered repeatedly, reveal a severe scalability problem, which makes the application unusable. The approach reveals two known bugs and four previously unknown responsiveness problems. Furthermore, we show that EventBreak helps in testing that event handlers avoid such problems by bounding a handler's execution time.
To solve the difficulties in training on ship,a new simulator was developed by importing,digesting and recreating the Kongsberg *** model-based and object-oriented design following by modular programming method,the wh...
详细信息
ISBN:
(纸本)9781510805750
To solve the difficulties in training on ship,a new simulator was developed by importing,digesting and recreating the Kongsberg *** model-based and object-oriented design following by modular programming method,the whole set of system is developed by VB under Windows platforms and Sequence Query Language(SQL) Server *** has functions of liquid cargo handling simulation training,training results evaluation,operation management,real-time monitoring,and simulation data *** than 20 kinds of mathematical model were established,including the model of the temperature,pressure,precooling,liquid level,pump,liquid cargo tank and so *** the experimental test,the training of loading and unloading simulation operation has been completely realized and the result has successfully fulfilled practical *** work laid the foundation of the follow-up improvement and development for LNG carrier liquid cargo handling simulator.
Traditionally, object-oriented software adopts the Observer pattern to implement reactive behavior. Its drawbacks are well-documented and two families of alternative approaches have been proposed, extending object-ori...
详细信息
With object-orientedprogramming languages, object Relational Mapping (ORM) frameworks such as Hibernate have gained popularity due to their ease of use and portability to different relational database management syst...
详细信息
ISBN:
(纸本)9781450330015
With object-orientedprogramming languages, object Relational Mapping (ORM) frameworks such as Hibernate have gained popularity due to their ease of use and portability to different relational database management systems. Hibernate implements the Java Persistent API, JPA, and frees a developer from authoring software to address the impedance mismatch between objects and relations. In this paper, we evaluate the performance of Hibernate by comparing it with a native JDBC implementation using a benchmark named BG. BG rates the performance of a system for processing interactive social networking actions such as view profile, extend an invitation from one member to another, and other actions. Our key findings are as follows. First, an object-oriented Hibernate implementation of each action issues more SQL queries than its JDBC counterpart. This enables the JDBC implementation to provide response times that are significantly faster. Second, one may use the Hibernate Query Language (HQL) to refine the object-oriented Hibernate implementation to provide performance that approximates the JDBC implementation.
NOESIS is a software framework for the development of data mining techniques for networked data. As an open source project, released under a BSD license, NOESIS intends to provide the necessary infrastructure for solv...
详细信息
ISBN:
(纸本)9781509019670
NOESIS is a software framework for the development of data mining techniques for networked data. As an open source project, released under a BSD license, NOESIS intends to provide the necessary infrastructure for solving complex network data mining problems. Currently, it includes a large collection of popular network-related data mining techniques, including the analysis of network structural properties, community detection algorithms, link scoring and prediction methods, and network visualization techniques. The design of NOESIS tries to facilitate the development of parallel algorithms using solid object-oriented design principles and structured parallel programming. NOESIS can be used as a stand-alone application, as many other network analysis packages, and can be included, as a lightweight library, in domain-specific data mining applications and systems.
Distinctions between approaches to programming for design applications are marked by the split between Visual programming languages (VPLs) and Textual programming languages (TPLs).1 While this distinction has proven u...
详细信息
The proceedings contain 10 papers. The topics discussed include: of scripts and programs: tall tales, urban legends, and future prospects;beyond static and dynamic scope;groovy package templates: supporting reuse and ...
ISBN:
(纸本)9781605587691
The proceedings contain 10 papers. The topics discussed include: of scripts and programs: tall tales, urban legends, and future prospects;beyond static and dynamic scope;groovy package templates: supporting reuse and runtime adaption of class hierarchies;contracts for first-class modules;language embedding and optimization in Mython;directing JavaScript with arrows;context-oriented software transactional memory in common Lisp;fast type reconstruction for dynamically typed programming languages;optimization of dynamic languages using hierarchical layering of virtual machines;the Ruby intermediate language;and hosting an object heap on manycore hardware: an exploration.
暂无评论