Inquiry About SageMath GSOC 2025 Free Modules Refactoring Project

58 views
Skip to first unread message

Prakhar Kapoor

unread,
Mar 24, 2025, 1:13:58 AMMar 24
to sage-gsoc
Dear Prof. Scrimshaw,

I hope you’re doing well! I’m Prakhar Kapoor, and I’m excited about the GSOC project to refactor FreeModule and CombinatorialFreeModule. I’ve started looking into the code but wanted to clarify a few things as I draft my proposal:

  1. What are the biggest issues right now with having separate FreeModule and CFM implementations?

  2. For the dense CFM, should we create a new class or tweak the existing CFM?

  3. Are there specific parts of the codebase (or Sage tickets) I should focus on first?

Any tips on balancing backward compatibility or Cython best practices would also be super helpful.

Thank You.

tcscrims

unread,
Mar 24, 2025, 8:50:14 AMMar 24
to sage-gsoc
Dear Prakhar,

1. That they are completely separate. So doing something for one does not benefit the other. Nor do they communicate with each other. However, they contain overlap in functionality.
2. I would expect such a project to have a complete restructuring of the classes involved. However, it is your project to propose.
3. It depends on what you want to do. For doing an initial PR, you can probably find an open easy issue to address on our issue tracker on GH.

The code given in this project should be backwards compatible (in particular, since it would likely be basically combining common functionality and internal workings). You can find information on writing Cython code on various online sources, including the main Cython page.

Best,
Travis
Reply all
Reply to author
Forward
0 new messages