GSoC'22 Work Submission and closing remarks Link to heading
Closing remarks Link to heading
Participating in Google Summer of Code 2022 with NumPy was more than just contributing to a summer coding internship for me. I remember walking around my college hostel along with my friend during the first year of my engineering in 2019 discussing what do we want to achieve over the course of our undergraduate education. Back then too, I remember that my first wish ever, even before I knew what open sources was to participate in the Google Summer of Code.
We study in a relatively new institution and our seniors were just graduating and the alumni were beginning to leave their mark in the world. No one had ever participated in a GSoC from our college, and barely anyone knew what it was. Nevertheless, with the help of YouTube and GitHub I got exposure to Open Source, with the GirlScript Summer of Code being the first Open Source program I participated in. Then I started participating in SciPy’s pull requests, fixing its bugs and improving documentation in 2021.
Slowly and steadily, I began to talk to maintainers and attend weekly Community Call meetings in the second half of the year 2021. I had never encountered such lovely and welcoming communities ever before. Neither at gaming discord servers nor at school, college or anywhere. They promoted curiosity and rewarded questions and contributions. It is as perfect a learning environment and support group a person can imagine.
From the start of my exposure, I loved open source. I loved talking to these people building their exciting projects, learning from them, being a part of their communities and contributing to these projects at the cutting edge of software development.
I remained an active contributor to SciPy till December 2021. In January 2022, SciPy posted their idea list for GSoC'22. Being an electrical engineering student, I first tried to go for this signal processing project but within a first couple of days discussing this project with the maintainers I could tell that there was no mentor for this project. So I switched my project preference to Restructuring F2PY frontend which I knew nothing about.
Now, I know a lot of people would disagree with my approach towards GSoC. GSoC is viewed as a program where you get a chance to improve projects you are interested in and have knowledge about and get financial renumeration as a stipend for it. Coming clean about the fact that I switched to a different project I had never heard about would seem strange to a lot of contributors and past GSoC participants.
I appreciate this current notion of GSoC. In fact, I prefer this current idea of GSoC. It ensures that students aren’t motivated by the stipend, but by their genuine interest in the project. However, shying away from GSoC just because your favourite organisation didn’t participate with the project your wanted to work on is an ill conceived plan. When you are studying for a bachelors degree and have barely any exposure to real world industry or software development experience, you should always grab any oppurtunity, especially something aimed for newcomers as per the new (2022) GSoC guidelines.
Now, I knew absolutely nothing about the project I wanted to contribute to - the F2PY tool. I started by contacting the NumPy mentor for the project - Rohit Goswami and asking some questions about how to get started with F2PY, which codebases I should familiarise myself with, what are the project goals etc. One thing that has left an indelible mark on me and probably I will never forget is how welcoming he was towards newcomers asking about f2py
. I remember he immediately scheduled a call with me, and patiently explained to me all the my initial inqueries and was kind enough to make the meeting notes and share it with me.
I loved my GSoC timeline and contributions, but more than that, I am happy about having met my mentor and having the oppurtunity to work with him. I learned a lot of things from the way he believes in pragmatically approaching problems to puzzle out solutions. At the same time, he has an easy vibe around him which makes talking to him and discussing problems much easier. More than just being a GSoC student, he motivated me to be a better student (he having been being an excellent student himself), to think big, work smart and hard, be a kid at heart, and take it easy. My experience throughout GSoC working with my mentor has made me a better individual altogether.
Work report Link to heading
You can have a look at my GSoC proposal here - Restructuring F2PY frontend and integrationg Meson Build System. My entire work is divided into 2 giant Pull Requests -
- https://github.com/numpy/numpy/pull/21923
- Contains changes to the frontend command line parser.
- https://github.com/numpy/numpy/pull/22225
- Consists Meson build system integration code.
These pull requests together involve over 1600 lines of code changes spread accross 132 commits. You can dive through my blog posts if you are interested in getting an overview of my changes. I have tried to keep my blog-posts beginner friendly without getting too deep into the nitty-gritty implementation details.
The frontend parser successfully compiles SciPy which was a major goal for us to address. The Meson build system is working, but without many tests beyond documentation examples or benchmarking suites we cannot yet assert that it is feature complete and bug free.
Post GSoC, I plan to work on:-
- Creating a testing and benchmarking suite for F2PY.
- Developing F2PY APIs.
- Implementing derived types support.
- Start contibuting again to SciPy’s stats module.
My contributions and work have just started, and I am grateful to have been welcomed by the larger f2py
community beyond Rohit, including Dr. Pearu Peterson and Dr. Melissa Weber Mendonça. The NumPy community has also been very accomodating, including Inessa Pawson and Dr. Ralf Gommers (also our sub-org admin).