Skip to content

Instantly share code, notes, and snippets.

View Shehab7osny's full-sized avatar
🎯
Focusing

Shehab Hosny Shehab7osny

🎯
Focusing
  • Mentor Graphics
  • Cairo, Egypt
View GitHub Profile
@Shehab7osny
Shehab7osny / GSoC2020.md
Last active October 9, 2021 23:31
Details about my progress throughout GSoC 2020

GSoC 2020 - gRPC R package

Shehab Hosny

Overview and Aim of the project

In this post I will try to wrap up my working progress throught GSoC 2020. I've been working since May trying to add new functionalities to the gRPC R package originally implemneted by Neal Fultz in 2017. There were a total of three functionalities to implement, TLS Encryption, Oauth2 Authentication and finally Streaming. It was required to implement these functionalities in the grpc package from both R and the underlying C wrapper code. Here is the link for my forked repository.

Challenges

Obviously, one of the main challenges that faced me while working n the project was the callback between the R code and the underlying C wrapper code. This required me to go more deep in the callback functions' implementation and returned data types. For the streaming part, this problem consumed a vast amount of time to be solved in a correct way. Additionaly, knowing exactly why each me