Rust Programming Language

Typical Use of Rust Programs in Different Linking Ways in Trading Systems

Speakers
Date / Time
2024-10-17
17:10

This talk will delve into the fundamental concepts of workspace, target, and crate-type. It will explore three cases within a trading system, highlighting code dependencies and static links using -crate-type=lib, dynamic link with -crate-type=cdylib, and static link using -crate-type=rlib. Furthermore, the talk will expand on important aspects such as the performance differences between dynamic and static links and the trade-offs in terms of toolchain version flexibility when using rlib.