News for hackers. Stuff that matters.
Re:Crystal 1.0 – What to expect by rafaelvasco on Monday March 22, 2021 @10:21PM (#26550263)
C# ? Not complicated at all. In fact it's currently one of the most cross platform language/runtime in existence after .NET Core appeared, and now more than ever with .NET 5.0. I even managed to AOT compile code and run it without a trace of .NET. Just amazing.
Re:Crystal 1.0 – What to expect by nonbirithm on Monday March 22, 2021 @10:42PM (#26550406)
C# is a really good language, but I had nothing but problems trying to develop with it on Linux exclusively. MonoDevelop doesn't support Linux anymore since a bunch of proprietary components were added to it (and this isn't even mentioned on its homepage), so you have to use a community fork. That didn't bode well for me. The fork didn't have packages for my distro and I couldn't get it to compile for two hours. VS Code wasn't much different, given I couldn't seem how to get OmniSharp working for my project. Eventually I found the only thing that worked half the time was Rider, which actually allows you to manage NuGet packages but costs $139. And still, I often had to load and unload projects or even create new projects entirely just to get it to find the new assemblies I added.

It left a bad taste, but maybe that was because I wasn't using a distro like Ubuntu.

Re:Crystal 1.0 – What to expect by Const-me on Monday March 22, 2021 @11:59PM (#26550934)
Matches my experience. Linux runtime worked great for me, SDK has not. To use it to full extent, I think you have to develop on a Windows PC with Visual Studio. However this way you can only debug on Windows i.e. if you want debugger, the project has to be runnable on Windows too.
Re:Crystal 1.0 – What to expect by oblio on Tuesday March 23, 2021 @03:51AM (#26552217)
Use Rider.
Re:Crystal 1.0 – What to expect by metaltyphoon on Tuesday March 23, 2021 @12:08AM (#26550990)
What a weird case. I have successfully used dotnet core on these distros (alpine, centos, fedora, debian, ubuntu) without a single problem. If you don't mind, what distro are you using ?
Re:Crystal 1.0 – What to expect by nonbirithm on Tuesday March 23, 2021 @02:44AM (#26551814)
Arch Linux.
Re:Crystal 1.0 – What to expect by rafaelvasco on Tuesday March 23, 2021 @08:02AM (#26554020)
Yeah, I tested it on Ubuntu, had no problems. But yeah, VSCode doesn't cut it completely. Rider is as better or better than VS in some regards but it's paid.
Re:Crystal 1.0 – What to expect by nullsense on Tuesday March 23, 2021 @02:37AM (#26551771)
I use Ubuntu + Rider and works pretty darn good for me.