4 ms·
One example: librsvg was rewritten from C into Rust, gradually, while retaining the C API: https://gitlab.gnome.org/GNOME/librsvg https://gitlab.gnome.org/GNOM
by ploxiln 6y ago
One example: librsvg was rewritten from C into Rust, gradually, while retaining the C API:
https://gitlab.gnome.org/GNOME/librsvg https://gitlab.gnome.org/GNOME/librsvg
https://people.gnome.org/~federico/news-2016-10.html https://people.gnome.org/~federico/news-2016-10.html
(I do not necessarily endorse this, as I find the dependency on a Rust compiler of very recent vintage, to be much more annoying than depending on any decent C compiler from the last 7 years or so.)
- tialaramex 6y agoBut the vastly many more users don't need that compiler right? If you merely write a program to render SVG you don't care, your program just got safer "magically" ? If you run such a program you aren't even aware anything happened, the updated version is apparently safer.
- NullPrefix 6y agoExcept for all the corner cases that were covered by the original and are not by the rewrite.
- tialaramex 6y agoThe librsvg author doesn't list any such corner cases. Perhaps you can list some and why they were casualties of the Rust language rather than reasonable cleanup that would have happened in any rewrite?