Skip to content

What is ExtVec3f for ? #863

Discussion options

You must be logged in to vote

The need for ExtVec came from two design goals:

  1. for "default" state vector containers, using a vector that is compatible / derive from std::vector
  2. for simulation outputs (i.e. to be sent to the GPU or wherever the application need), enabling support for "zero-copy" by allowing to specify an external pointer where the data should be written. For example, the pointer could be pointing to a mapped OpenGL VBO.

However, looking back at what was used in practice, both goals are not really useful:

  • compatibility with std::vector makes it more complex to adapt features like GPGPU support, and is painful with visual c++ because of the awful debug performances it has
  • no visual model were implemen…

Replies: 7 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by guparan
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #863 on December 11, 2020 09:51.