Authors: Damian Lyons 1 ; Saba Zahra 1 and Thomas Marshall 2

Affiliations: 1 Department of Computer and Information Science, Fordham University, New York, NY and U.S.A. ; 2 Bloomberg LP, New York, NY and U.S.A.

ISBN: 978-989-758-379-7

ISSN: 2184-2833

Keyword(s): Software Engineering, Programming Languages, Multilingual Software, Software Metrics, Lakosian Metrics, Software and Systems Quality.

Abstract: Large software systems often comprise programs written in different programming languages. In the case when cross-language interoperability is accomplished with a Foreign Function Interface (FFI), for example pybind11, Boost.Python, Emscripten, PyV8, or JNI, among many others, common software engineering tools, such as call-graph analysis, are obstructed by the opacity of the FFI. This complicates debugging and fosters potential inefficiency and security problems. One contributing issue is that there is little rigorous software design advice for multilingual software. In this paper, we present our progress towards a more rigorous design approach to multilingual software. The approach is based on the existing approach to the design of large-scale C++ systems developed by Lakos. The FFI is an aspect of physical rather than logical architecture. The Lakosian approach is one of the few design methodologies to address physical design rather than just logical design. Using the MLSA toolkit developed in prior work for analysis of multilingual software, we focus in on one FFI – the pybind11 FFI. An extension to the Lakosian C++ design rules is proposed to address multilingual software that uses pybind11. Using a sample of 50 public GitHub repositories that use pybind11, we measure how many repositories would currently satisfy these rules. We conclude with a proposed generalization of the pybind11-based rules for any multilingual software using an FFI interface. (More)


Sign In Guest: Register as new SciTePress user now for free.

Sign In SciTePress user: please login.

PDF ImageMy Papers

You are not signed in, therefore limits apply to your IP address

In the current month:
Recent papers: 100 available of 100 total
2+ years older papers: 200 available of 200 total

Paper citation in several formats:
Lyons, D.; Zahra, S. and Marshall, T. (2019). Towards Lakosian Multilingual Software Design Principles.In Proceedings of the 14th International Conference on Software Technologies - Volume 1: ICSOFT, ISBN 978-989-758-379-7, ISSN 2184-2833, pages 306-314. DOI: 10.5220/0007958303060314

author={Damian M. Lyons. and Saba B. Zahra. and Thomas M. Marshall.},
title={Towards Lakosian Multilingual Software Design Principles},
booktitle={Proceedings of the 14th International Conference on Software Technologies - Volume 1: ICSOFT,},


JO - Proceedings of the 14th International Conference on Software Technologies - Volume 1: ICSOFT,
TI - Towards Lakosian Multilingual Software Design Principles
SN - 978-989-758-379-7
AU - Lyons, D.
AU - Zahra, S.
AU - Marshall, T.
PY - 2019
SP - 306
EP - 314
DO - 10.5220/0007958303060314

Login or register to post comments.

Comments on this Paper: Be the first to review this paper.