‹ BackHN Continuity

Thread

Using any C++ library in Godot

168 points · 66 comments · czoido

  1. zerr · · focus · HN ↗
    > // Copy the position of every entity into the MultiMesh buffer

    So, is a zero-copy impossible due to world (C++ vs Godot) boundaries?

    1. czoido · · focus · HN ↗
      Hi! I don't think the boundary itself is the issue, although I'm not an expert on that part of Godot. My understanding is that the copy in this example comes from converting data from flecs into the layout MultiMesh expects. A different layout might reduce that work, but I haven't explored if fully zero-copy is possible.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.