3 ms·
I saw that TimescaleDB is mostly C, like other PG extensions. Have you all put any thought into using Rust? Just curious about why or why not.
by shay_ker 6y ago
I saw that TimescaleDB is mostly C, like other PG extensions. Have you all put any thought into using Rust? Just curious about why or why not.
- k-rus 6y agoTimescaleDB uses heavily PostgreSQL API and hooks, which expose many data structures, macros and functions. My understanding is that using Rust or even C++ will require to write large FFI and also maintain it between PG major versions, which are released every year. Also, just having FFI is unlikely enough, and will require to write wrappers on top of it to use the best of Rust and not just another syntax on top of C.