Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nail down Unknown vs Known function calls #107

Open
doyougnu opened this issue Feb 13, 2024 · 1 comment
Open

Nail down Unknown vs Known function calls #107

doyougnu opened this issue Feb 13, 2024 · 1 comment
Assignees
Labels

Comments

@doyougnu
Copy link
Collaborator

doyougnu commented Feb 13, 2024

We have a decent overview of this now, but we really should have a much more robust section (probably in the STG chapter #14) that covers:

  • known vs unknown functions: across different boundaries: modules, packages
  • fast and slow stg applies, genutils
  • how to check for known and unknown (prof report)
  • performance consequences of exporting a function from a module
  • How these interact with interface files
  • probably something about unfoldings

Some resources:

Basically, as a user of GHC I want to:

  • understand the consequences of exporting a function with respect to runtime performance.
@doyougnu doyougnu added the ghc label Feb 13, 2024
@doyougnu doyougnu self-assigned this Feb 13, 2024
@doyougnu
Copy link
Collaborator Author

doyougnu commented May 1, 2024

the generic apply functions are referenced in the upcoming perf chapter because they crop up during a conversation about PAPs and info tables. Be sure to refine the link for this ticket.

  • update the perf chapter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: To do
Development

No branches or pull requests

1 participant