You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gsoc@community.apache.org by "Chaokun Yang (Jira)" <ji...@apache.org> on 2026/02/20 07:42:00 UTC
[jira] [Updated] (GSOC-321) Fory C++ gRPC integration
[ https://issues.apache.org/jira/browse/GSOC-321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chaokun Yang updated GSOC-321:
------------------------------
Summary: Fory C++ gRPC integration (was: Implement Fory C++ gRPC integration)
> Fory C++ gRPC integration
> -------------------------
>
> Key: GSOC-321
> URL: https://issues.apache.org/jira/browse/GSOC-321
> Project: Comdev GSOC
> Issue Type: New Feature
> Reporter: Chaokun Yang
> Priority: Major
> Labels: c++, fory, gsoc2026, mentor
>
> *Description:*
> Apache Fory can generate high-performance C++ model code from IDL, but it does not yet generate C++ gRPC service
> bindings.
> This project will add C++ gRPC code generation to the Fory compiler. For each service definition, the compiler should
> generate service.h (service API), service.grpc.h (gRPC declarations), and service.grpc.cc (gRPC implementations),
> using a Fory codec instead of protobuf runtime payload types.
> The implementation should follow Fory compiler conventions and prioritize low-overhead, performance-first behavior.
> *Potential Outcomes:*
> - Parse service IR and generate C++ gRPC outputs for unary and streaming methods.
> - Generate service.h, service.grpc.h, and service.grpc.cc with clear separation between API abstractions and transport
> bindings.
> - Generate abstract service interfaces and client stub classes compatible with gRPC C++.
> - Implement Fory-based request/response serialization hooks for gRPC marshalling.
> - Implement zero-copy deserialization buffer support for inbound gRPC payloads, with a safe fallback path when zero-
> copy cannot be applied.
> - Add golden codegen tests for generated file names and key signatures.
> - Provide a runnable C++ server/client example using generated bindings and Fory codec.
> - Update compiler documentation for C++ gRPC code generation usage and constraints.
> *Skills:*
> C++ 17, gRPC, compiler/code generation, serialization internals, testing, performance optimization.
> {*}Difficulty{*}: Medium
> *Project size:* 175 hours
> *Potential mentors:* Chaokun Yang, Weipeng Wang
> *Source links:* * [https://github.com/apache/fory/issues/3276]
> * [https://fory.apache.org/docs/next/compiler/compiler_guide]
> * [https://github.com/apache/fory/tree/main/compiler]
> * [https://github.com/apache/fory/tree/main/cpp]
> * [https://fory.apache.org/docs/guide/cpp/]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: gsoc-unsubscribe@community.apache.org
For additional commands, e-mail: gsoc-help@community.apache.org