Why is that a good thing?
Why is that a good thing?
- LSP are a good idea but a terrible execution, YAGNI, etc.
- LSP are god send, burn my cpus I don't care
I'm being a little sarcastic but I think that's the gist of it. I'm neither pro or against LSPs. I use them when available.
Though honestly I think it's the best we have right now and it's worth the cost. Partially because I don't like IDEs and LSP doesn't need to be integrated and tailored to one specific environment.
Modern hardware is powerful enough to go back to classical UNIX IPC for plugins, while achieving security and host stability in the process.
Plus, shared memory is still a possibility for performance, with the same caveats as loading in-process foreign code.
It is also how Plan 9 works, everyone loves Plan 9.
Agree generally.. But I gotta admit, MS's LSP protocol has been successfully implemented by many non-MS IDEs. I'm doubtful this would be the case had they defined a c api instead.
Also yeah, I use LSPs and I myself don't have a strong grasp of the use of dynamically linked libraries. I don't mean it as a put-down of web programmers (I am one). There is value in this microservice type approach, though it does feel very "webby".
0: https://en.wikipedia.org/wiki/Language_Server_Protocol#Techn...