News for hackers. Stuff that matters.
Re:Kotlin-Lsp: Kotlin Language Server and Plugin for Visual ... by jeroenhd on Thursday May 22, 2025 @03:44AM (#44059693)
Kotlin may have been relatively IDE-locked without a proper LSP being available, but C# is cross-platform in terms of both editors and runtimes (assuming you're not targeting Windows' .NET stack).

At this point I wouldn't consider it any more or less proprietary than any other Microsoft language, like TypeScript for instance.

Re:Kotlin-Lsp: Kotlin Language Server and Plugin for Visual ... by exyi on Thursday May 22, 2025 @04:16AM (#44059897)
Kotlin did not have open LSP, C# still does not have an open debugger.

The C# VSCode extension works in Microsoft's build of VSCode, not when someone else forks it and builds it themselves.

Re:Kotlin-Lsp: Kotlin Language Server and Plugin for Visual ... by martypitt on Thursday May 22, 2025 @04:21AM (#44059933)
Kotlin has had an OSS (MIT) Language Server for years. It's written and maintained by the community - but isn't that exactly the point of open source?

[0]: https://github.com/fwcd/kotlin-language-server

Re:Kotlin-Lsp: Kotlin Language Server and Plugin for Visual ... by jeroenhd on Thursday May 22, 2025 @10:00AM (#44062140)
The debugger is proprietary but still works cross-platform. I don't know how Jetbrains does C# debugging in Rider exactly, but that shows that you don't have to use VS (Code) to do C# development if you don't want to.

Thanks to Samsung of all companies, there's an open source C# debugger on GitHub (https://github.com/Samsung/netcoredbg). That seems to be the basis of the open source C# extension's debugging capabilities: https://open-vsx.org/extension/muhammad-sammy/csharp

The VSCodium C# community wants Microsoft to open source their debugger instead of having to maintain an open source version themselves, but that doesn't mean you need to use Microsoft's open source version. If anything, this forceful separation makes it so that there never will be only one implementation (like there is for languages like Rust which have always been open and therefore only have one way of doing things).

Re:Kotlin-Lsp: Kotlin Language Server and Plugin for Visual ... by exyi on Friday May 23, 2025 @04:36AM (#44071051)
I know about netcoredbg, but I did not have much success using it. If we count this as the C# debugger, then the tooling quality is not comparable to other mainstream languages like Scala, D or Julia.

JetBrains have their own closed debugger, which doesn't really help.

Since Rust is native code, you can use pretty much any debugger for it, there is definitely not a single implementation. Yes, Rust has a single compiler, but does C# have any other compiler than Microsoft's Roslyn? (I don't think this is a problem, though)

Re:Kotlin-Lsp: Kotlin Language Server and Plugin for Visual ... by cess11 on Thursday May 22, 2025 @09:36AM (#44061924)
C# is partially cross-platform. Might be fine for web applications, but e.g. GUI frameworks aren't as cross in practice as they make it out to be, which I've wasted tens of hours figuring out before going back to Java and Racket.

The nice language on the CLR, F#, also doesn't seem to be very well liked by MICROS~1 anymore.

Re:Kotlin-Lsp: Kotlin Language Server and Plugin for Visual ... by jeroenhd on Thursday May 22, 2025 @09:53AM (#44062073)
MAUI is cross platform for every platform most businesses care about (mobile+Windows+macOS). For the rest, there's Avalonia (and a bunch of alternatives, but Avalonia comes closest to Microsoft's systems I think).

You won't be writing visual bootloaders in plain C# any time soon, but the GUI side of C# is fine

Re:Kotlin-Lsp: Kotlin Language Server and Plugin for Visual ... by cess11 on Friday May 23, 2025 @02:10AM (#44070333)
Avalonia wasted most of the time I spent.