FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

doc: document per-architecture fast FFI argument limits by leah-1ee · Pull Request #65207 · nodejs/node · GitHub

/ node Public

doc: document per-architecture fast FFI argument limits - #65207

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
leah-1ee:doc-ffi-platform-argument-limits
Aug 18, 2026
Merged

doc: document per-architecture fast FFI argument limits#65207
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
leah-1ee:doc-ffi-platform-argument-limits

Conversation

Copy link
Copy Markdown
Contributor

The Fast FFI argument-limit paragraph only documented AArch64 and
x86-64, conflating x86-64 SysV with the stricter Win64 x64 emitter
and leaving five architectures undocumented.

Replaces it with a table covering all seven fast-call architectures,
verified against src/ffi/types.cc and the trampoline generators in
src/ffi/platforms/*.cc.

Follow-up to #63960.

Copilot AI lite review requested due to automatic review settings August 11, 2026 05:15

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/ffi

nodejs-github-bot added doc Issues and PRs related to the documentations. ffi Issues and PRs related to experimental Foreign Function Interface support. labels Aug 11, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Pull request overview

Updates the Fast FFI documentation to clarify when optimized Fast FFI falls back to the generic path by documenting per-architecture trampoline/register constraints.

Changes:

  • Replaces the previous narrative description of Fast FFI argument limits with an architecture matrix.
  • Adds explicit notes/definitions around buffer-shaped arguments and architectures without a fast-call trampoline (e.g., PPC64BE).

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread doc/api/ffi.md Outdated
leah-1ee force-pushed the doc-ffi-platform-argument-limits branch from c337b36 to 3b33d30 Compare August 11, 2026 05:18
The prior text covered only two of the seven supported architectures
and conflated x86-64 SysV with the stricter Win64 emitter.

Signed-off-by: leah-1ee <selee3196@gmail.com>
leah-1ee force-pushed the doc-ffi-platform-argument-limits branch from 3b33d30 to bfab024 Compare August 11, 2026 05:22
daeyeon added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Aug 17, 2026
trivikr added the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 18, 2026
nodejs-github-bot merged commit 5242e13 into nodejs:main Aug 18, 2026
22 checks passed

Copy link
Copy Markdown
Collaborator

Landed in 5242e13

nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 18, 2026
aduh95 pushed a commit that referenced this pull request Aug 25, 2026
The prior text covered only two of the seven supported architectures
and conflated x86-64 SysV with the stricter Win64 emitter.

Signed-off-by: leah-1ee <selee3196@gmail.com>
PR-URL: #65207
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
aduh95 pushed a commit that referenced this pull request Aug 25, 2026
The prior text covered only two of the seven supported architectures
and conflated x86-64 SysV with the stricter Win64 emitter.

Signed-off-by: leah-1ee <selee3196@gmail.com>
PR-URL: #65207
Reviewed-By: Paolo Insogna <paolo@cowtech.it>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. doc Issues and PRs related to the documentations. ffi Issues and PRs related to experimental Foreign Function Interface support.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants


Back | FazBrowse Home | New Git URL