V, also known as vlang, is a statically typed, compiled programming language created by Alexander Medvednikov in early 2019.
V was initially created in order to develop a desktop messaging client known as Volt.
[4][12] Key design goals behind the creation of V were being easy to learn and use, higher readability, fast compilation, increased safety, efficient development, cross-platform usability, improved C interoperability, better error handling, modern features, and more maintainable software.
To ensure greater safety, the checking of errors are mandatory in V. By default, the following are immutable: variables, structs, and function arguments.
V uses value types and string buffers to reduce memory allocations.
To allocate a struct on the heap and get a reference to it, the & prefix can be used:[14] Methods in V are functions defined with a receiver argument.
The receiver appears in its own argument list between the fn keyword and the method name.