The latest Mac Neo will likely outperform an older laptop on every metric. Battery life will be the thing you notice more than any other as you go to classes for the day. Linux has always been behind in this regard. You can always spin up a cloud vm for pure linux if you need to, and more likely than not the university will have labs and other linux resources that are free.