TheCee ( TheCee@programming.dev ) deleted by creator to Programming Languages@programming.devEnglish · 3 年前Question - Could an embedded scripting interpreter at the same time be a language server?ceesstuff.github.ioexternal-linkmessage-square6linkfedilinkarrow-up14file-textcross-posted to: programming@lemmy.mlprogramming
arrow-up14external-linkQuestion - Could an embedded scripting interpreter at the same time be a language server?ceesstuff.github.ioTheCee ( TheCee@programming.dev ) deleted by creator to Programming Languages@programming.devEnglish · 3 年前message-square6linkfedilinkfile-textcross-posted to: programming@lemmy.mlprogramming
minus-squarearmchair_progamer ( armchair_progamer@programming.dev ) linkfedilinkarrow-up2·3 年前 Can they live in the same process (which is their host application) I believe so, since you can host a client and server in the same process. You could use threads, co-routines, or polling to get the server to listen while the interpreter is running and vice versa
I believe so, since you can host a client and server in the same process. You could use threads, co-routines, or polling to get the server to listen while the interpreter is running and vice versa