{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreid4o2imitauyb7fleax7dgjyk5un5mrekg2vil5o4an2lphh3m2eu",
    "uri": "at://did:plc:dxjzgxe7cvirxkwfjr2tjspt/app.bsky.feed.post/3mkiuc3b2oki2"
  },
  "path": "/t/the-use-of-foreign-memory-api-in-game-engine/49572#post_2",
  "publishedAt": "2026-04-27T14:33:53.000Z",
  "site": "https://hub.jmonkeyengine.org",
  "tags": [
    "blog post"
  ],
  "textContent": "Hello and welcome to the community!\n\nFor foreign memory, we’re currently waiting on lwjgl4, which I understand is waiting on project valhalla to be finalized. There is also some question of if we should drop java 8 support or not. So I think the foreign API is a bit further down the road, but I could be wrong.\n\nIn the meantime, lwjgl3 provides a couple memory management APIs that are reasonably performant and don’t rely on direct buffer allocation, which we are using for lwjgl3 apps. Here’s a blog post that goes into more detail if you’re interested.",
  "title": "The use of Foreign Memory API in game engine"
}