Skip to content

v3.3/glfw: Annotate functions with #cgo noescape/nocallback where possible #407

@Jacalz

Description

@Jacalz

Go 1.24 is supposed to be releasing any day now and it includes support for new two new annotations #cgo noescape and #cgo nocallback (see https://tip.golang.org/doc/go1.24#cgo).

I'm not sure to which degree these are relevant for us but if they are, then we should likely be able to squeeze a but more performance out of the package.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions