←back to thread

39 points mattrighetti | 1 comments | | HN request time: 0.208s | source
Show context
duped ◴[] No.45074956[source]
I'm curious what design led them to split code between two shared libraries but also require the state of them to be synchronized across calls to dlopen and dlclose. It sounds like that state should be in one library and not two.
replies(1): >>45075087 #
theamk ◴[] No.45075087[source]
they kinda mention this - one of those is Rust, other is C++.

My guess they made an all-new Rust plugin which used an existing C++ library. Pretty common case when existing code base is slowly being converted to rust.

replies(3): >>45075459 #>>45078985 #>>45088372 #
1. 01HNNWZ0MV43FF ◴[] No.45075459[source]
I guess the C++ library might be binary-only or difficult to compile but, for curious readers, you can definitely link C++ and Rust into a single binary library or exe