3 ms·
It looks like inventing GraphQL for kernel: On the web: instead of combining results of several RESTful API calls on the client, send a GraphQL request and com
by d0mine 7y ago
It looks like inventing GraphQL for kernel:
On the web: instead of combining results of several RESTful API calls on the client, send a GraphQL request and combine the REST call on the server.
On a host: instead of combining results of several syscalls in user-space, send a program to an in-kernel interpreter that would combine the syscalls kernel-side aka define a syscall such as readfile() on the fly.
- hinkley 7y agoYeah I had that though while writing up my first follow up, but the compositing here is between multiple, small endpoints and GraphQL is subsetting one large endpoint. Maybe you could model kernel calls as a single large subsystem that allows multiple questions, but GraphQL seems a lot less imperative that syscalls so I’m having trouble picturing how that would translate.