On 12/2/21 2:46 PM janezz55 wrote:
> CairoWidget is simple and should be easy to port to rust.
Are you sure? I looked at the code in the (previously linked) repo and I
found that it's way too complicated to understand what it's actually doing.
I would have thought that such a "simple" issue might be solved by a
simple self-contained header file and maybe a short (self-contained as
well) implementation but this doesn't seem to be the case.
Are you the author? Please correct me if I'm wrong.
> I am not sure, however, that rust compilers are able to generate the
> same high-quality shuffling code as c++ compilers can (clang in
> particular). That's essential for performance.
I saw that it uses many C++ techniques which we can't use in the FLTK
core because of compatibility issues which precludes using it in the
FLTK core.
But if anybody wants to use it in their own (FLTK) code, that's probably
possible, I didn't want to say anything else.