When comparing Java vs V, the Slant community recommends V for most people. In the question“What are the best statically typed, compiled, memory safe programming languages?” V is ranked 3rd while Java is ranked 10th. The most important reason people chose V is:
Compile app to run on different OSes.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Verbosity
It makes it easy to debug and to read code.
Pro Mature ecosystem
The language and all its tools have enough time to age and they've aged well.
Pro Type-safe
It is easier to catch errors sooner.
Pro Cross-platform
Compile app to run on different OSes.
Pro Sum types
V has sum types.
Pro GUI support
V comes with (simple) GUI support out of the box.
Pro Clear syntax
Highly understandable language.
Pro Safety
V is very safe.
Pro Fast like C
V is easier than C and fast like C.
Pro Closures
V has closures, which gives the user additional options and usefulness.
Pro Generics
V has generics.
Pro Supports concurrency and channels
Can run functions concurrently that communicate over channels.
Pro C Interop
Can import C libraries, structs, and headers.
Pro Fast compile times
Compiles programs fast, less waiting around, so more productive and fun.
Pro Lambdas
Supports using lambdas, which helps write more concise code without having to use so many lines.
Cons
Con Memory hungry
Running the virtual machine, application server and application itself consumes significant amount of resources.
Con Unnecessarily obtuse and verbose
If you like typing 40 lines of code to open a file, Java is the language for you. If, on the other hand, you’d actually like to get something done, look elsewhere.
Con Oracle
Enough said.
In more detail: Oracle has acquired Java from Sun and continues to surround it with controversy ever since (legendary lawsuit with google, money extortion from the enterprise users etc.).
