News for hackers. Stuff that matters.
Re:Storing unboxed trait objects in Rust by Gladdyu on Saturday December 15, 2018 @06:58PM (#18691002)
Would this not require all impls to be in the same translation unit or the linker has to be explicitly aware of it?
Re:Storing unboxed trait objects in Rust by v_lisivka on Sunday December 16, 2018 @02:25PM (#18694670)
In case of embedded firmware, all impls will be in same unit. In case of a program with linked libraries, only main program will know sizes of all possible impls.