Skip to content
This repository was archived by the owner on Jul 3, 2023. It is now read-only.
This repository was archived by the owner on Jul 3, 2023. It is now read-only.

[JIT] Design document #391

Description

@ryzhyk

Document JIT architecture and API. The doc should serve two purposes:

  • Explain the semantics of the bytecode supported by the JIT compiler and the architecture of the compiler. This should give the reader enough information to be able to understand the source code of the compiler.
  • Explain how a frontend (e.g., the SQL compiler) and a runtime (e.g., the DBSP pipeline runner) should interact with JIT.
  • Topics to cover
  • String allocation and string lifetimes
  • Block parameters and arguments
  • How to run a JIT program
  • How nested tuples can be implemented using the JIT
  • How to call functions which are not built-in into the JIT (if there will be such functions), e.g., from the SQL runtime library
  • How datatypes such as DECIMAL can be implemented
  • How to pass tuples as function arguments

Activity

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions