Category:V (Vlang)
This programming language may be used to instruct a computer to perform a task.
Official website |
---|
Execution method: | Compiled (machine code) |
---|---|
Garbage collected: | Allowed |
Type safety: | Safe |
Type strength: | Strong |
Type checking: | Static |
|
The V Programming Language
Simple, fast, safe, compiled. For developing maintainable software.
Note: V (or Vlang). There was a language naming collision, so V (Vlang) was chosen.
V (Vlang) is used here on Rosetta Code to disambiguate from the other language called V.
V is an easier to learn, read, and use language.
V first appeared in 2019 in a trial web sandbox, "The V Playground".
V's design has been influenced by Go, Oberon, Rust, Swift, Kotlin, and Python. For V's FAQ
V's sources are published at GitHub, presently on version 0.4.x.
V's compiler tool is similar in implementation to a multi purpose command processor: prompt$ v help
V language review and documentation are here.
Helpful links
- V in Wiki
- V language overview and introduction by Erdet Nasufi
- V language overview and introduction on behalf of the Sydney Computing Society
- V language overview and presentation for IBM
- Some of the code snippets are available at the archived V-Community (V Rosetta) GitHub
- More info on the below can be found at modules used by V
No. | Module name | No. | Module name | No. | Module name | ||
---|---|---|---|---|---|---|---|
1 | arrays | 2 | benchmark | 3 | bifield | ||
4 | cli | 5 | clipboard | 6 | compress | ||
7 | context | 8 | crypto | 9 | websocket | ||
10 | datatypes | 11 | main | 12 | dl | ||
13 | dlmalloc | 14 | encoding | 15 | eventbus | ||
16 | flag | 17 | fontstash | 18 | gg | ||
19 | gx | 20 | hash | 21 | io | ||
22 | json | 23 | log | 24 | math | ||
25 | mssql | 26 | mysql | 27 | net | ||
28 | orm | 29 | os | 30 | pg | ||
31 | picoev | 32 | veb | 33 | picohttpparser | ||
34 | rand | 35 | readline | 36 | regex | ||
37 | runtime | 38 | semver | 39 | sokol.sapp | ||
40 | sqlite | 41 | stbi | 42 | strconv | ||
43 | strings | 44 | sync | 45 | szip | ||
46 | term | 47 | time | 48 | toml | ||
49 | vweb | 50 | wasm | 51 | maps | ||
52 | sokol.audio | 53 | ttf | 54 | json2 |
Pages in category "V (Vlang)"
The following 200 pages are in this category, out of 523 total.
(previous page) (next page)G
H
- Hailstone sequence
- Halt and catch fire
- Hamming numbers
- Happy numbers
- Harshad or Niven series
- Hash from two arrays
- Haversine formula
- Hello world/Graphical
- Hello world/Newline omission
- Hello world/Standard error
- Hello world/Text
- Here document
- Hex words
- Hofstadter-Conway $10,000 sequence
- Horner's rule for polynomial evaluation
- Horse racing
- Hostname
- Hourglass puzzle
- HTTP
- Humble numbers
I
J
K
L
- Lah numbers
- Largest five adjacent number
- Largest proper divisor of n
- Last Friday of each month
- Last list item
- Leap year
- Length of an arc between two angles
- Leonardo numbers
- Letter frequency
- Levenshtein distance
- Literals/Integer
- Literals/String
- Logical operations
- Logistic curve fitting in epidemiology
- Long stairs
- Longest common prefix
- Longest common substring
- Longest common suffix
- Longest substrings without repeating characters
- Look-and-say sequence
- Loop over multiple arrays simultaneously
- Loops/Break
- Loops/Continue
- Loops/Do-while
- Loops/Downward for
- Loops/For
- Loops/For with a specified step
- Loops/Foreach
- Loops/Increment loop index within loop body
- Loops/Infinite
- Loops/N plus one half
- Loops/Nested
- Loops/While
- Loops/Wrong ranges
- Lucas-Lehmer test
- Ludic numbers
- Luhn test of credit card numbers
M
- MAC vendor lookup
- Magic 8-ball
- Magic squares of odd order
- Mandelbrot set
- Matrix with two diagonals
- Maximum difference between adjacent elements of list
- McNuggets problem
- MD5
- Menu
- Mertens function
- Middle three digits
- Minimum number of cells after, before, above and below NxN squares
- Minimum numbers of three lists
- Modular inverse
- Modulinos
- Monads/List monad
- Monads/Maybe monad
- Monty Hall problem
- Morse code
- Multi-dimensional array
- Multisplit
- Musical scale
N
O
P
- Palindrome detection
- Pangram checker
- Parse an IP Address
- Parsing/RPN calculator algorithm
- Pascal's triangle
- Penney's game
- Perfect numbers
- Periodic table
- Perlin noise
- Phrase reversals
- Pick random element
- Pig the dice game
- Playfair cipher
- Primality by trial division
- Probabilistic choice
- Program name
- Program termination
R
- Random number generator (included)
- Random numbers
- Rate counter
- Read a file character by character/UTF8
- Read a file line by line
- Read a specific line from a file
- Real constants and functions
- Remove duplicate elements
- Remove vowels from a string
- Rep-string
- Repeat
- Repeat a string
- Return multiple values
- Reverse a string
- Reverse words in a string
- Rock-paper-scissors
- Roman numerals/Decode
- Roman numerals/Encode
- Roots of unity
- Rot-13
- RSA code
- Run-length encoding
- Runge-Kutta method
S
- Scope modifiers
- Scope/Function names and labels
- Search a list
- Search a list of records
- Selectively replace multiple instances of a character within a string
- Sequence of primes by trial division
- SHA-1
- SHA-256
- Shape-Machine
- Short-circuit evaluation
- Show ASCII table
- Sierpinski carpet
- Sieve of Eratosthenes
- Simple windowed application
- Sleep
- Sleeping Beauty problem
- Smith numbers
- Snake and ladder
- Sort an integer array
- Sorting algorithms/Bogosort
- Sorting algorithms/Bubble sort
- Sorting Algorithms/Circle Sort