4–6 Nov 2021
Iasi
Europe/Bucharest timezone

Building an Interface for the D Compiler Library

5 Nov 2021, 17:00
20m
Virtual Room B

Virtual Room B

Paper presentation Pervasive Systems and Computing Network Security && Pervasive Systems and Computing

Speaker

Razvan NITU (University POLITEHNICA of Bucharest)

Description

The D programming language has been at the forefront of the memory safe programming languages scene. However, its adoption has been hindered by the scarce availability of 3rd party tools that aid software development such as: linters, code analyzers, integrated development envirnments (IDE) etc. The fundamental reason for this absence is the underdeveloped compiler library, that does not offer a flexible, easy to use interface and misses some of the important features such as symbol resolution and scope retrieval.

In this work, we aim at improving the D compiler library by defining a proper interface and adding the currently missing features. To understand what are the needs of a well rounded compiler interface, we analyze existing 3rd party tools and extract a series of common needs. Further, we implement these interfaces directly into the source code of the reference D compiler, with no performance loss. Finally, we upgrade existing tools to use the newly defined compiler interface. By doing so, we unify the different implementations of the same logic. This has the advantage that once the compiler is upgraded to a newer version, all the tools that leverage the compiler library will no longer need to be updated.

Authors

Razvan NITU (University POLITEHNICA of Bucharest) Constantin Eduard STANILOIU (University POLITEHNICA of Bucharest) Crisitan CRETEANU Răzvan Victor RUGHINIȘ (University Politehnica of Bucharest)

Presentation materials

There are no materials yet.