Re:Why Discord is switching from Go to Rust (2020)
by meepmorp on Monday February 22, 2021 @01:48PM
(#26228605)
>C# requires a ringtone be installed.
This confused the hell out of me until I realized it's supposed to be runtime.
Re:Why Discord is switching from Go to Rust (2020)
by tantalic on Monday February 22, 2021 @02:17PM
(#26229094)
On the other hand, would you be surprised to learn the .NET runtime includes a ringtone?
Re:Why Discord is switching from Go to Rust (2020)
by meepmorp on Monday February 22, 2021 @02:45PM
(#26229537)
That's probably why it confused me so much; I couldn't rule out that interpretation reliably enough to interpret it as a typo.
Re:Why Discord is switching from Go to Rust (2020)
by philwelch on Monday February 22, 2021 @01:53PM
(#26228708)
Thanks. I assumed it was an allusion to the .Net runtime having a bunch of unnecessary crap built into it, including a ringtone for some arcane reason.
Re:Why Discord is switching from Go to Rust (2020)
by thaumasiotes on Monday February 22, 2021 @02:07PM
(#26228947)
Autocorrect: turning simple, obvious mistakes into opaque, irrecoverable mistakes.
It's never been clear to me why someone would want this.
Re:Why Discord is switching from Go to Rust (2020)
by carlosrg on Monday February 22, 2021 @01:59PM
(#26228822)
> Go produces a statically linked binary and C# requires a runtime be installed
Not true since .NET Core 3.
$ dotnet publish --self-contained --runtime osx.11.0-x64 -p:PublishSingleFile=true
Re:Why Discord is switching from Go to Rust (2020)
by doodpants on Monday February 22, 2021 @02:31PM
(#26229318)
Not disagreeing with you, but just to be pedantic:
In .NET Core 3, you can build and distribute a single-file executable which, when run, will actually unpack an executable and a ton of DLLs into a temp directory, and run it from there.
In .NET 5 they changed it, so that when you build a "single-file" executable, you actually get an executable plus a few DLLs, which must be distributed together.
Re:Why Discord is switching from Go to Rust (2020)
by tonyedgecombe on Monday February 22, 2021 @01:50PM
(#26228646)
You can do that with C#: https://docs.microsoft.com/en-us/dotnet/core/deploying/singl...
Re:Why Discord is switching from Go to Rust (2020)
by juskrey on Monday February 22, 2021 @01:52PM
(#26228669)
With C# and Java, we have learned that time and battle tested VMs can remove terrible pain points in proper hands.
If we’ve learned nothing from Java and Python, it’s that managing runtimes and environment can be a huge pain point.
EDIT: swipe keyboard put ringtone instead of runtime and I missed it. Corrected.