In this introductory guide, we’ll talk about V, aka “Vlang,” and why it may be a preferable alternative to other more complex languages.

V, aka “Vlang,” has a more readable and simpler syntax than many other frameworks, making it clean and easy to use.

So … what is V?

If you’ve managed to end up at this article, it’s probably because you either have no idea what Vlang is or want to know more. Either way, it’s simple: Vlang is a programming language. Does that clear it up? (Just kidding.)

To be more specific, Vlang is a statically typed programming language created by Alexander Medvednikov that became open source in July 2019. According to the creator, the name was shortened to V so as to avoid messing up Git history. It is similar to Go, and inspired by Rust, Swift, and Oberon.

In the documentation, V boasts about C-like compilation time (the main backend code compiles to C), less memory allocation, easy learning curve, built-in serialization(transformation of objects to a streams of bytes) and no dependencies upon compilation. V’s safety is also top notch with no null, no global variables, no undefined, and support for bounds checking. By default, it also supports pure functions, immutable variables, and immutable structs.

With the basics covered, we’ll spend the rest of the article talking a little bit more about these claims and where V could be headed in the future.

#vlang #developer #programming #web-development

What is Vlang? An Introduction
4.60 GEEK