Skip to content

Driver scanning API#377

Open
ncruces wants to merge 6 commits intomainfrom
go127
Open

Driver scanning API#377
ncruces wants to merge 6 commits intomainfrom
go127

Conversation

@ncruces
Copy link
Copy Markdown
Owner

@ncruces ncruces commented Apr 16, 2026

@ncruces
Copy link
Copy Markdown
Owner Author

ncruces commented Apr 18, 2026

If this gets merged upstream, add:

  • bool if it causes allocs (it probably doesn't)
  • float32
  • NullFoo for the foo
  • Null[foo] for the foo (including int)

It's probably not worth supporting unsigned ints, or 32 and 16-bit ints; 8-bit ints should avoid allocs already.

Their use is less common, and I'd rather avoid replicating the overflow behavior (which is why int is only supported on 64-bit platforms).

I could revaluate unsigned. But the error path would go through the fallback.

NullFoo I want to support because it avoids allocs, in a way *foo never will.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant