flatbuffers icon indicating copy to clipboard operation
flatbuffers copied to clipboard

flatbuffer vector 2G limitation question

Open linchuan4028 opened this issue 1 year ago • 2 comments

Hi teams I recently noticed that [v23.5.9] released a new feature on the C++ side that supports larger buffers than 2G. That is awesome and there are 2 questions in my mind:

  1. if we use C++ generate a flatbuffer file with the schema that contains a vector larger than 2G, and Golang to read it. What will happen?
  2. Do you have any plan to support it in golang sdk

thx

linchuan4028 avatar Sep 19 '23 10:09 linchuan4028

Languages other than C++ will just not see those fields, as the generators don't emit accessors for them. The rest of the buffer should still be readable as is.

I don't have any immediate plans to include 64bit support for other languages, but i will definitely review PRs that add them.

dbaileychess avatar Nov 18 '23 23:11 dbaileychess

This issue is stale because it has been open 6 months with no activity. Please comment or label not-stale, or this will be closed in 14 days.

github-actions[bot] avatar May 19 '24 20:05 github-actions[bot]

This issue was automatically closed due to no activity for 6 months plus the 14 day notice period.

github-actions[bot] avatar Jun 03 '24 20:06 github-actions[bot]