On Thu, 30 Mar 2023, 20:07 Michael Orlitzky, <mich...@orlitzky.com> wrote:
> On 2023-03-30 10:50:32, Curran McConnell wrote: > > Hi folks! > > > > I am scoping out a project to write an algebra/combinatorics package. It > > would be a shame if the project was a success, and then there was > > difficulty integrating with Sage if people wanted to redistribute the > > routines there. Are Rust additions to the Sage ecosystem welcomed? > > > > It depends on what you mean by an addition to the ecosystem. You can > pretty easily write an external library or program in rust, and then > create a Sage interface to that using Cython or popen. In that > scenario the language used to implement your package is irrelevant. > > If instead you want to write a standard piece of Sage in rust, that > would be more of a problem. Sage is built from source and ships its > own miniature linux distribution down to the compilers. I believe that this minilinux will disappear sooner or later, and it's not really complete in any way, either (e.g. we don't ship C/C++ compilers on macOS - for it should be clang, as gcc cannot cope with some important macOS headers) So not distributing a compiler does not bother me. The maturity of the rust toolchain is another story, and probably such a rust part cannot be in a standard package for the time being. Dima It would have > to be an extemely compelling package to justify adding the whole rust > toolchain to the mix. I'd go farther and say that there are serious > maturity problems in the rust ecosystem that make it impossible in the > near future. Even if sage was willing to use system packages in this > case, there are, for those same reasons, no distributions attempting > to correctly package rust software right now. > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/ZCXdywyRyIr91vI0%40stitch. > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAAWYfq0OnbWGA9yWoo1rHXPgevecnrEwDBmYM0zKf9GhXSDqxQ%40mail.gmail.com.