JTR can use dictionary attacks, brute force attacks, rainbow tables, and crack in different modes, like “single-crack mode” that can draw on information in password files (unobscured things like usernames) to better guess passwords (Sharma, 2020). Hashcat has similar functionality (Tavares, 2020). Both Hashcat and JTR are both command line-based tools, albeit with optional GUIs that can be installed (CrackerJack and Johnny, respectively). There are, however, some differences why one might choose one tool over the other: JTR is primarily CPU-based, and thus doesn’t require OpenCL or CUDA as Hashcat does. This is because Hashcat can, to a much greater extent than JTR, utilize GPUs (read: graphics cards) (Ethical Hacking, n.d.) Depending on what is being cracked, Hashcat is potentially faster, given its ability to distribute the tasks across CPUs and GPUs. Speed depends on what is being cracked of course so Hashcat is not necessarily faster than JTR if it is not doing something that requires GPUs.
Each has some bells and whistles the other lacks, like the aforementioned single crack mode in JTR. There isn’t perfect overlap in what these tools cover, however both will work fine for basic password cracking. Both are available cross-platform (Linux, Mac and Windows), however the Crackerjack GUI seems only to work in Linux.