Skip to content

CppInterOp version 1.1.0

Compare
Choose a tag to compare
@vgvassilev vgvassilev released this 11 Nov 10:09
· 240 commits to main since this release

Introduction

This document contains the release notes for the language interoperability library CppInterOp, release 1.1. CppInterOp is built on top of Clang and LLVM compiler infrastructure. Here we describe the status of CppInterOp in some detail, including major improvements from the previous release and new feature work. Note that if you are reading this file from a git checkout, this document applies to the next release, not the current one.

CppInterOp exposes API from Clang and LLVM in a backward compatibe way. The API support downstream tools that utilize interactive C++ by using the compiler as a service. That is, embed Clang and LLVM as a libraries in their codebases. The API are designed to be minimalistic and aid non-trivial tasks such as language interoperability on the fly. In such scenarios CppInterOp can be used to provide the necessary introspection information to the other side helping the language cross talk.

What's New in CppInterOp 1.1?

Some of the major new features and improvements to Clad are listed here. Generic improvements to Clad as a whole or to its underlying infrastructure are described first.

External Dependencies

  • Add llvm17 support.
  • CppInterOp now works with cling (based on patched clang13) and clang-repl (based on clang16 with patches and clang17).

Incremental C++

  • Support clang plugins.

Incremental CUDA

  • Support incremental compilation of CUDA. Creating a CUDA-aware infrastructure can be done with Cpp::CreateInterpreter({}, {"--cuda"});

Misc

  • Improve discovery of clang/llvm based on Clang_DIR or LLVM_DIR.
  • Implement facilities connect with find_package(CppInterOp).
  • Add basic OSX support.

Special Kudos

This release wouldn't have happened without the efforts of our contributors, listed in the form of Firstname Lastname (#contributions):

FirstName LastName (#commits)

A B (N)

Vassil Vassilev (25)
Smit1603 (6)
Alexander Penev (5)
Smit Shah (2)
Krishna-13-cyber (1)