Skip to content

Commit 8f92a0d

Browse files
committed
[gsoc26] Add compiler-research and affiliated projects
1 parent 1299d86 commit 8f92a0d

File tree

5 files changed

+109
-0
lines changed

5 files changed

+109
-0
lines changed

_gsocorgs/2026/compres.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: "Compiler Research"
3+
author: "Aaron Jomy"
4+
layout: default
5+
organization: CompRes
6+
logo: CompRes-logo.png
7+
description: |
8+
The Compiler Research Group is a group of programming language enthusiasts at Princeton University and CERN. It's primary goal is to foster innovation and excellence at the intersection of compiler research and data science. Our main focus areas include Interpretative C/C++/CUDA, Automatic Differentiation tools, and C++ Language Interoperability with Python. We aim to catalyze transformative advancements in scientific computing, fostering a community that thrives on shared knowledge and innovation.
9+
10+
Open projects beyond the following list can be found at https://compiler-research.org/open_projects
11+
12+
In addition to reaching out to the mentors, prospective candidates are required to complete the following form:
13+
---
14+
15+
{% include gsoc_proposal.ext %}

_gsocprojects/2026/project_Clad.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
project: Clad
3+
layout: default
4+
logo: Clad-logo.png
5+
description: |
6+
[Clad](https://clad.readthedocs.io/en/latest/) enables
7+
automatic differentiation (AD) for C++. It is based on LLVM compiler
8+
infrastructure and is a plugin for Clang compiler. Clad is based on
9+
source code transformation. Given C++ source code of a mathematical
10+
function, it can automatically generate C++ code for computing derivatives
11+
of the function.
12+
summary: |
13+
[Clad](https://clad.readthedocs.io/en/latest/) is an automatic differentiation (AD) tool for C++
14+
---
15+
16+
{% include gsoc_project.ext %}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
project: CppInterOp
3+
layout: default
4+
logo: InterOp-logo.png
5+
description: |
6+
[CppInterOp](https://github.com/compiler-research/CppInterOp) is a C++ Interoperability library, which leverages ROOT's Cling and LLVM's Clang-REPL C++ interpreters, to provide a minimalist and backward-compatible API facilitating seamless language interoperability. This provides downstream interactive C++ tools with the compiler as a service by embedding Clang and LLVM as libraries in their codebases. By enabling dynamic Python interactions with static C++ codebases, CppInterOp enhances computational efficiency and rapid development in high-energy physics. The library offers primitives enabling cppyy, an automatic, run-time, Python-C++ bindings generator. The CppInterOp library provides a minimalist approach for other languages to bridge C++ entities (variables, classes, etc.). This enables interoperability with C++ code, bringing the speed and efficiency of C++ to simpler, more interactive languages like Python.
7+
summary: |
8+
The [CppInterOp](https://github.com/compiler-research/CppInterOp) library provides a minimalist approach for other languages to bridge C++ entities (variables, classes, etc.). This enables interoperability with C++ code, bringing the speed and efficiency of C++ to simpler, more interactive languages like Python.
9+
---
10+
11+
{% include gsoc_project.ext %}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
project: Xeus-Cpp
3+
layout: default
4+
logo: Xeus-Cpp-logo.png
5+
description: |
6+
[Xeus-Cpp](https://xeus-cpp.readthedocs.io/en/latest/index.html) is a Jupyter kernel
7+
for C++ based on the native implementation of the Jupyter protocol [xeus](https://github.com/jupyter-xeus/xeus).
8+
It provides users with an interactive execution environment for C++ in Jupyter notebooks, built on LLVM's
9+
[Clang-Repl](https://clang.llvm.org/docs/ClangRepl.html) C++ interpreter, provided by
10+
the [CppInterOp](https://github.com/compiler-research/CppInterOp/) interoperability library.
11+
12+
This REPL (read-eval-print-loop) nature allows rapid prototyping and iterations without the overhead
13+
of compiling and running separate C++ programs, allowing users to write and execute C++ code interactively.
14+
summary: |
15+
[Xeus-Cpp](https://xeus-cpp.readthedocs.io/en/latest/index.html) is a Jupyter kernel for C++ based on the native implementation of the Jupyter protocol [xeus](https://github.com/jupyter-xeus/xeus).
16+
---
17+
18+
{% include gsoc_project.ext %}
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
title: Implement CppInterOp API exposing memory ownership and thread safety
3+
layout: gsoc_proposal
4+
project: CppInterOp
5+
year: 2025
6+
difficulty: medium
7+
duration: 350
8+
mentor_avail: June-October
9+
organization:
10+
- CompRes
11+
project_mentors:
12+
13+
organization: CERN/CompRes
14+
first_name: Aaron
15+
last_name: Jomy
16+
is_preferred_contact: yes
17+
18+
organization: CERN/Compres
19+
first_name: Vipul
20+
last_name: Cariappa
21+
22+
organization: CompRes
23+
first_name: Vassil
24+
last_name: Vassilev
25+
---
26+
27+
## Description
28+
29+
Incremental compilation pipelines process code chunk-by-chunk by building an ever-growing translation unit. Code is then lowered into the LLVM IR and subsequently run by the LLVM JIT. Such a pipeline allows creation of efficient interpreters. The interpreter enables interactive exploration and makes the C++ language more user friendly. The incremental compilation mode is used by the interactive C++ interpreter, Cling, initially developed to enable interactive high-energy physics analysis in a C++ environment.
30+
31+
Clang and LLVM provide access to C++ from other programming languages, but currently only exposes the declared public interfaces of such C++ code even when it has parsed implementation details directly. Both the high-level and the low-level program representation has enough information to capture and expose more of such details to improve language interoperability. Examples include details of memory management, ownership transfer, thread safety, externalized side-effects, etc. For example, if memory is allocated and returned, the caller needs to take ownership; if a function is pure, it can be elided; if a call provides access to a data member, it can be reduced to an address lookup. The goal of this project is to develop API for CppInterOp which are capable of extracting and exposing such information AST or from JIT-ed code and use it in cppyy (Python-C++ language bindings) as an exemplar. If time permits, extend the work to persistify this information across translation units and use it on code compiled with Clang.
32+
33+
## Project Milestones
34+
35+
* Collect and categorize possible exposed interop information kinds
36+
* Write one or more facilities to extract necessary implementation details
37+
* Design a language-independent interface to expose this information
38+
* Integrate the work in clang-repl and Cling
39+
* Implement and demonstrate its use in cppyy as an exemplar
40+
* Present the work at the relevant meetings and conferences.
41+
42+
## Requirements
43+
44+
* C++ programming
45+
* Python programming
46+
* Familiarity with Clang and LLVM IR
47+
48+
## Links
49+
* [Repo](https://github.com/compiler-research/CppInterOp)

0 commit comments

Comments
 (0)