News for hackers. Stuff that matters.
Re:Rust Is Hard, Or: The Misery of Mainstream Programming by AndrewGaspar on Friday June 03, 2022 @01:09AM (#31604521)
> This is why I think we need a high-level, no-BS version of Rust.

F# is probably what you're looking for if you want functional-lite programming with a strong type system, but don't want to deal with the pains caused by static resource management.

Re:Rust Is Hard, Or: The Misery of Mainstream Programming by chalst on Tuesday June 07, 2022 @06:12PM (#31660672)
F# has some nice things in it: I especially like how it handles multiple return values. But compared to the language it is most clearly decended from, OCaml, it ties you to .NET Core and it lacks an ML-like module system and macros.

If you want to use .NET, F# is a fine choice. But otherwise, and especially in the context of an alternative to Rust, I recommend OCaml.

Re:Rust Is Hard, Or: The Misery of Mainstream Programming by olalonde on Friday June 03, 2022 @03:51AM (#31605446)
It might sound superficial but the simple fact that there is seemingly a hard dependency[0] on Visual Studio (Code) is a major turnoff for me. I am quite attached to my Vim/command line workflow.

[0] https://docs.microsoft.com/en-us/dotnet/fsharp/get-started/i...

Re:Rust Is Hard, Or: The Misery of Mainstream Programming by Paradigma11 on Friday June 03, 2022 @05:15AM (#31605972)
Re:Rust Is Hard, Or: The Misery of Mainstream Programming by nickduggets on Friday June 03, 2022 @07:31AM (#31606933)
That link includes documentation for building and running F# projects using only the .net core framework. Seems like the main set of headings is misleading, making it sound like you must install VS or (shudder) VSCode to get F# installed.