Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/p7g/gqljit
A GraphQL query JIT compiler using LLVM.
https://github.com/p7g/gqljit
graphql jit llvm
Last synced: about 1 month ago
JSON representation
A GraphQL query JIT compiler using LLVM.
- Host: GitHub
- URL: https://github.com/p7g/gqljit
- Owner: p7g
- License: mit
- Created: 2021-02-25T03:27:04.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-09-23T23:27:03.000Z (about 1 year ago)
- Last Synced: 2023-09-24T21:48:55.538Z (about 1 year ago)
- Topics: graphql, jit, llvm
- Language: Python
- Homepage:
- Size: 29.3 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# gqljit
The idea: A graphql-core ExecutionContext which JIT-compiles queries rather than interpreting them every time.
## Still to do
A lot.
- [ ] Code generation
- [x] Structs to hold query results
- [x] Functions to execute query
- [x] Call into Python to run resolvers
- [x] Get pointers to Python functions callable by JIT-compiled code
- [x] Default resolver (for fields without defined resolvers)
- [ ] Lists
- [x] Handle nullability
- [ ] Promises
- [ ] Properly increment and decrement Python object refcounts
- [x] Invoke compiled code from Python
- [x] Error handling
- [x] Error reporting