News for hackers. Stuff that matters.
Re:Why LSP? by adwn on Monday April 25, 2022 @11:08AM (#31155942)
> You can load code written in different languages into different address spaces, you know.

That's basically what separate processes are, so what's your point?

> Calling into a native library is tough in JS because there's no standardized FFI

No need for using anything standardized: VS Code brings its own custom browser engine – for better or for worse – so it's not limited to what any Web standards allow or forbid.

> you're going to end up blocking the one JS thread you've got

There are worker threads in JS.

Re:Why LSP? by mike_hearn on Monday April 25, 2022 @11:17AM (#31156062)
Er, sorry, that was a brainfart. I meant you can load them into the same address space.

JS has workers but they aren't sharing memory, so they aren't really threads.