Skip to content

p7g/gqljit

Repository files navigation

gqljit

The idea: A graphql-core ExecutionContext which JIT-compiles queries rather than interpreting them every time.

Still to do

A lot.

  • Code generation
    • Structs to hold query results
    • Functions to execute query
    • Call into Python to run resolvers
      • Get pointers to Python functions callable by JIT-compiled code
    • Default resolver (for fields without defined resolvers)
    • Lists
    • Handle nullability
    • Promises
    • Properly increment and decrement Python object refcounts
  • Invoke compiled code from Python
  • Error handling
  • Error reporting

About

A GraphQL query JIT compiler using LLVM.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages