DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
API Development Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
API Development
How does gRPC's approach to type safety compare to tRPC's, per Under the Hood?
A
They are identical in every respect
B
gRPC achieves cross-LANGUAGE type safety via a separate schema (.proto) and code generation; tRPC achieves TypeScript-to-TypeScript type safety via TypeScript's own inference, with zero separate schema file needed
C
tRPC only works with binary protocols like gRPC
D
gRPC cannot provide any type safety at all
Check Answer