News for hackers. Stuff that matters.
Re:Programming Languages Going Above and Beyond by FrustratedMonky on Thursday June 29, 2023 @09:36AM (#36520180)
Shout out to F#. I think it does a lot of this, doesn't get much respect I think because it is from MS and runs on .NET.

Love the type checking, which I think is better than Rusts. But since I think Rust will win the market, I hope it improves.

Re:Programming Languages Going Above and Beyond by lolinder on Thursday June 29, 2023 @09:52AM (#36520386)
Dafny also originated in MS and initially targeted .NET.

https://www.microsoft.com/en-us/research/project/dafny-a-lan...

Re:Programming Languages Going Above and Beyond by janAkali on Thursday June 29, 2023 @11:31AM (#36521802)
I believe, Nim also has this functionality, although, it uses the [0]Z3Prover tool with a nim frontend [1]DrNim for proving.

[0]https://github.com/Z3Prover/z3

[1]https://nim-lang.github.io/Nim/drnim.html

Re:Programming Languages Going Above and Beyond by manaskarekar on Thursday June 29, 2023 @11:50AM (#36522106)
> Love the type checking, which I think is better than Rusts. But since I think Rust will win the market, I hope it improves.

Could you please elaborate on this? What specific stuff are you suggesting that F# does so well?

Re:Programming Languages Going Above and Beyond by FrustratedMonky on Thursday June 29, 2023 @02:01PM (#36524247)
I'm in-experienced with Rust. So bit subjective.

F# uses algebraic types, and compiler can do pretty extensive type checking. I understand Rust also does this, it just seemed like Rust allows some options that make it not as complete. But, I'm not expert on Rust.