|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/data-serialization-in-cpp-using-flatbuffers/
课程评论:没有评论
**课程名称:C++ 中的 FlatBuffers 数据序列化** **课程概述:** 本课程将带您深入了解数据序列化,并介绍如何在 C++ 中有效地实现它。数据序列化对于网络传输、桌面应用保存设置或游戏存档等场景至关重要。课程将重点介绍二进制序列化及其相对于 JSON 或 XML 等方法的优势,包括高效的数据准备和读取速度。 **FlatBuffers 介绍:** * 由 Google 开发,是一种高效的数据序列化机制。 * 与 Google 的另一款产品 Protocol Buffers (ProtoBuf) 相比,FlatBuffers 更轻量级且用途更广泛。 * 您可以学习 FlatBuffers 的 Schema 语言,这些知识也适用于 ProtoBuf 和 gRPC 通信。 * FlatBuffers 支持跨语言编译,允许您实现 C++ 服务器与 EcmaScript 客户端等异构系统间的通信。 **学习重点:** * 数据序列化的概念和重要性。 * 二进制序列化的优势。 * FlatBuffers 的工作原理和使用方法。 * FlatBuffers Schema 语言。 * 跨语言数据序列化实践。 **技术环境:** * 本课程主要在 Windows 操作系统上进行教学,但适用于其他操作系统。 **本课程适合:** * 需要进行高效数据传输和存储的 Web 开发者。 * 需要处理数据持久化的桌面应用程序和游戏开发者。 * 对跨语言通信感兴趣的工程师。 * 希望提升 C++ 编程技能的学习者。
WelcomeIn this bite-sized course you will learn what data serialization is and how to do it properly. Data serialization is crucial for various tasks. It is essential for web developers who need to transmit data over the network. It is also important for desktop applications and games where the ability to save and retrieve settings or game saves is necessary.In any of the above cases you would like to have a fast method of preparing data for being sent and also read back on the other side. So I will introduce binary serialization and its benefits compared to the more widespread JSON or XML alternatives.FlatBuffersThis library is developed by Google and is a really efficient mechanism for serializing data. It is one of the two libraries available that are really popular, and the second one is also developed by Google and is called ProtoBuf, which is used mostly for their other technology called gRPC. The FlatBuffers library is more lightweight and versatile, though, and you can use it for so much more than ProtoBuf.I will be teaching the FlatBuffers schema language for most of this course. But a lot of the ideas taken from FlatBuffers are also applicable to ProtoBuf and gRPC communication. You will also be able to compile FlatBuffers for other languages as well and not just for C++-so you can have a C++ server and an EcmaScript client, for example.This course is primarily taught on the Windows OS, but the knowledge gained can easily translate into other operating systems as well.