You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.xml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -52,8 +52,8 @@ Long-term, we would like to migrate all of our runtime and generated APIs to acc
52
52
Why Use Arena Allocation? Memory allocation and deallocation constitutes a significant fraction of CPU time spent in protocol buffers code. By default, protocol buffers performs heap allocations for each message object, each of its subobjects, and several field types, such as strings.</description></item><item><title>Abseil Support</title><link>https://protobuf.dev/reference/cpp/abseil/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://protobuf.dev/reference/cpp/abseil/</guid><description>In version 22.x, C++ protobuf added an explicit dependency on Abseil.
53
53
Bazel Support If you are using Bazel, to determine the version of Abseil that your protobuf version supports, you can use the bazel mod command:
54
54
$ bazel mod deps abseil-cpp --enable_bzlmod &lt;root&gt; (protobuf@30.0-dev) └───abseil-cpp@20240722.0 ├───bazel_skylib@1.7.1 ├───googletest@1.15.2 └───platforms@0.0.10 bazel mod graph produces the full output:
55
-
$ bazel mod graph --enable_bzlmod &lt;root&gt; (protobuf@30.0-dev) ├───abseil-cpp@20240722.0 │ ├───bazel_skylib@1.7.1 (*) │ ├───googletest@1.15.2 (*) │ └───platforms@0.</description></item><item><title>C++ API</title><link>https://protobuf.dev/reference/cpp/api-docs-link/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://protobuf.dev/reference/cpp/api-docs-link/</guid><description/></item><item><title>C# Generated Code Guide</title><link>https://protobuf.dev/reference/csharp/csharp-generated/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://protobuf.dev/reference/csharp/csharp-generated/</guid><description>You should read the proto3 language guide before reading this document.
56
-
Note The protobuf compiler can generate C# interfaces for definitions using proto2 syntax starting from release 3.10. Refer to the proto2 language guide for details of the semantics of proto2 definitions, and see docs/csharp/proto2.md (view on GitHub) for details on the generated C# code for proto2. Compiler Invocation The protocol buffer compiler produces C# output when invoked with the --csharp_out command-line flag.</description></item><item><title>C# API</title><link>https://protobuf.dev/reference/csharp/api-docs-link/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://protobuf.dev/reference/csharp/api-docs-link/</guid><description/></item><item><title>Dart Generated Code</title><link>https://protobuf.dev/reference/dart/dart-generated/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://protobuf.dev/reference/dart/dart-generated/</guid><description>Any differences between proto2 and proto3 generated code are highlighted - note that these differences are in the generated code as described in this document, not the base API, which are the same in both versions. You should read the proto2 language guide and/or the proto3 language guide before reading this document.
55
+
$ bazel mod graph --enable_bzlmod &lt;root&gt; (protobuf@30.0-dev) ├───abseil-cpp@20240722.0 │ ├───bazel_skylib@1.7.1 (*) │ ├───googletest@1.15.2 (*) │ └───platforms@0.</description></item><item><title>C++ API</title><link>https://protobuf.dev/reference/cpp/api-docs-link/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://protobuf.dev/reference/cpp/api-docs-link/</guid><description/></item><item><title>C# Generated Code Guide</title><link>https://protobuf.dev/reference/csharp/csharp-generated/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://protobuf.dev/reference/csharp/csharp-generated/</guid><description>You should read the proto2 language guide, proto3 language guide, or editions language guide before reading this document.
56
+
Compiler Invocation The protocol buffer compiler produces C# output when invoked with the --csharp_out command-line flag. The parameter to the --csharp_out option is the directory where you want the compiler to write your C# output, although depending on other options the compiler may create subdirectories of the specified directory. The compiler creates a single source file for each .</description></item><item><title>C# API</title><link>https://protobuf.dev/reference/csharp/api-docs-link/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://protobuf.dev/reference/csharp/api-docs-link/</guid><description/></item><item><title>Dart Generated Code</title><link>https://protobuf.dev/reference/dart/dart-generated/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://protobuf.dev/reference/dart/dart-generated/</guid><description>Any differences between proto2 and proto3 generated code are highlighted - note that these differences are in the generated code as described in this document, not the base API, which are the same in both versions. You should read the proto2 language guide and/or the proto3 language guide before reading this document.
57
57
Compiler Invocation The protocol buffer compiler requires a plugin to generate Dart code. Installing it following the instructions provides a protoc-gen-dart binary which protoc uses when invoked with the --dart_out command-line flag.</description></item><item><title>Dart API</title><link>https://protobuf.dev/reference/dart/api-docs-link/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://protobuf.dev/reference/dart/api-docs-link/</guid><description/></item><item><title>Go Generated Code Guide (Open)</title><link>https://protobuf.dev/reference/go/go-generated/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://protobuf.dev/reference/go/go-generated/</guid><description>Any differences between proto2 and proto3 generated code are highlighted - note that these differences are in the generated code as described in this document, not the base API, which are the same in both versions. You should read the proto2 language guide and/or the proto3 language guide before reading this document.
58
58
Note You are looking at documentation for the old generated code API (Open Struct API). See Go Generated Code (Opaque) for the corresponding documentation of the (new) Opaque API.</description></item><item><title>Go Generated Code Guide (Opaque)</title><link>https://protobuf.dev/reference/go/go-generated-opaque/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://protobuf.dev/reference/go/go-generated-opaque/</guid><description>Any differences between proto2 and proto3 generated code are highlighted - note that these differences are in the generated code as described in this document, not the base API, which are the same in both versions. You should read the proto2 language guide and/or the proto3 language guide before reading this document.
59
59
Note You are looking at documentation for the Opaque API, which is the current version. If you are working with .</description></item><item><title>Go FAQ</title><link>https://protobuf.dev/reference/go/faq/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://protobuf.dev/reference/go/faq/</guid><description>Versions What&rsquo;s the difference between github.com/golang/protobuf and google.golang.org/protobuf? The github.com/golang/protobuf module is the original Go protocol buffer API.
0 commit comments