|
| 1 | +- name: "CaaS Monthly Meeting" |
| 2 | + date: 2022-03-10 17:00:00 +0200 |
| 3 | + time_cest: "17:00" |
| 4 | + connect: "[Link to zoom](https://princeton.zoom.us/j/92393493356?pwd=SHYxY0MxdFNPZm5wdzRCeDZxK3VYQT09)" |
| 5 | + label: caas_10Mar2022 |
| 6 | + agenda: |
| 7 | + - title: "ez-clang: experimental C++ REPL for bare metal" |
| 8 | + speaker: "Stefan Gränitz, LLVM Orc JIT developer" |
| 9 | + description: | |
| 10 | + In 2021 a new remote-JIT layer "RemoteEPC" landed in LLVM's OrcJIT |
| 11 | + library [0]. It separates serialization from transport, streamlines |
| 12 | + error behavior and integrates well with ExecutorProcessControl. Combined |
| 13 | + with the clean design and extensibility of ORCv2 and JITLink, it lowers |
| 14 | + the bar for building exotic out-of-process LLVM bitcode JITs. |
| 15 | +
|
| 16 | + The ez-clang project [1] makes use of all these to build a pure |
| 17 | + out-of-process REPL specifically designed for very low-resource embedded |
| 18 | + devices. The executor endpoint on the device is very simple and fits |
| 19 | + into a few Kilobytes of memory. All heavy lifting happens in the JIT |
| 20 | + process on the host. |
| 21 | +
|
| 22 | + I want to present my proof-of-concept implementation, which is based on |
| 23 | + a hacked-up version of cling [2] (bringing in Clang-integration, a |
| 24 | + command line and the concept of transaction-based incremental |
| 25 | + compilation). Right now, it supports a small selection of Cortex-M |
| 26 | + development boards. The smallest is the TeensyLC [3] with an ARMv6-M |
| 27 | + instruction set, 62kb Flash memory and 8kb RAM. |
| 28 | +
|
| 29 | + [0] https://github.com/llvm/llvm-project/commit/bb27e4564355 |
| 30 | + [1] https://echtzeit.dev/ez-clang |
| 31 | + [2] https://github.com/root-project/cling |
| 32 | + [3] https://www.pjrc.com/teensy/teensyLC.html |
| 33 | + - title: Update |
| 34 | + speaker: Vassil |
| 35 | + - title: Round Table |
| 36 | + - title: Next meeting |
| 37 | + link: 7 Apr 1700 |
| 38 | + |
1 | 39 | - name: "CaaS Monthly Meeting"
|
2 | 40 | date: 2022-02-03 17:00:00 +0200
|
3 | 41 | time_cest: "17:00"
|
|
0 commit comments