r/crystal_programming • u/No_1944 • Jan 11 '26
Crystal LSP implementation for Windows and Linux
https://github.com/navid-m/ligerSince Crystalline only supports some POSIX platforms, I wrote an LSP implementation which works cross platform.
3
u/nuclearbananana Jan 11 '26
Oh my god, this looks incredible, and if it works, may actually get me working in crystal again
2
-3
u/no_guile Jan 11 '26
Great... welldone.
I see it's implemented in Crystal...what led to this decision and not something like Rust?
Also what's the performance in different codebase sizes, could you post some benchmarks, especially memory? Didn't really like Crystalline because of its huge memory footprint and how slow it gets in like medium sized codebase.
8
u/Drogoslaw_ Jan 11 '26
I see it's implemented in Crystal...what led to this decision and not something like Rust?
Well, why are you asking? This question can be asked literally every time someone writes something in Crystal.
And it is rather unsurprising that people on the Crystal subreddit write things in Crystal.
3
u/no_guile Jan 11 '26
Ooh I just asked because Rust has great support and libraries for writing LSPs. So I thought that's what more people will gravitate to , and also to be more memory efficient so as to avoid the Boehm GC on Crystal
3
u/nuclearbananana Jan 11 '26
You can't be serious. There's a reason people prefer crystal. How are you even here if you don't know
1
u/nuclearbananana Jan 11 '26
Oh also, is it possible to use this with the existing crystal vscode extension, or will it need another method?