Improving C/C++ Open Source Software Discoverability by Utilizing Rust and Node.js Ecosystems

Abstract : Discovering Open Source Software (OSS) components efficiently is not always an easy task. Node.js is a popular JavaScript runtime environment, whereas Rust is widely used for system programming, and both can be utilized for OSS discovery purposes. In this work, we examine whether Rust and Node.js can be used, along with their respective tooling and package repositories, in order to achieve improved discoverability of existing OSS implemented in C/C++. The paper describes how the capabilities of Rust in C/C++ interoperability can be combined with novel compilation techniques of low-level code to asm.js and WebAssembly, in order to harness JavaScript’s popularity as the medium to publicize hard to discover C/C++ OSS. A proposed incremental methodology is presented and the main, as well as the collateral, effects of enforcing the proposed methodology in a proof-of-concept situation are examined. Our findings indicate potential increase in discoverability, code quality, portability, along with viable performance degradation of portable binaries, demonstrating 8.7 times slower execution compared to machine code, in a worst-case scenario.
Document type :
Conference papers
Complete list of metadatas

Cited literature [31 references]  Display  Hide  Download

https://hal.inria.fr/hal-01875486
Contributor : Hal Ifip <>
Submitted on : Monday, September 17, 2018 - 2:35:31 PM
Last modification on : Monday, September 24, 2018 - 2:28:49 PM
Long-term archiving on : Tuesday, December 18, 2018 - 1:35:38 PM

File

 Restricted access
To satisfy the distribution rights of the publisher, the document is embargoed until : 2021-01-01

Please log in to resquest access to the document

Licence


Distributed under a Creative Commons Attribution 4.0 International License

Identifiers

Citation

Kyriakos-Ioannis Kyriakou, Nikolaos Tselikas, Georgia Kapitsaki. Improving C/C++ Open Source Software Discoverability by Utilizing Rust and Node.js Ecosystems. 14th IFIP International Conference on Open Source Systems (OSS), Jun 2018, Athens, Greece. pp.181-192, ⟨10.1007/978-3-319-92375-8_15⟩. ⟨hal-01875486⟩

Share

Metrics

Record views

236