Category:V (Vlang): Difference between revisions
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
''Simple, fast, safe, compiled. For developing maintainable software.'' |
''Simple, fast, safe, compiled. For developing maintainable software.'' |
||
[https://vlang.io V] first appeared in 2019 in a trial web sandbox, The V Playground. Sources published on [https://github.com/vlang/v GitHub] as version 0.2.x, in June |
[https://vlang.io V] first appeared in 2019 in a trial web sandbox, The V Playground. Sources published on [https://github.com/vlang/v GitHub] as version 0.2.x, in June 2022. |
||
V is similar to Go in design and the v compiler tool is similar in implementation as a multi purpose command processor. |
V is similar to Go in design and the v compiler tool is similar in implementation as a multi purpose command processor. |
Revision as of 14:08, 27 April 2022
This programming language may be used to instruct a computer to perform a task.
Official website |
---|
Garbage collected: | Allowed |
---|---|
Type strength: | Strong |
Type checking: | Static |
See Also: |
|
NOTE: Vlang is V. There was a language naming collision.
Vlang was chosen for use here. The V page on rosettacode.org is for a different programming language, also called V.
The spelling Vlang is a convenience for the language named V. Vlang is used here on RosettaCode to disambiguate from the other language called V, with a side benefit of more concise web searching.
The V Programming Language
Simple, fast, safe, compiled. For developing maintainable software.
V first appeared in 2019 in a trial web sandbox, The V Playground. Sources published on GitHub as version 0.2.x, in June 2022.
V is similar to Go in design and the v compiler tool is similar in implementation as a multi purpose command processor.
prompt$ v help
for more information on V and the v compiler tool.
Some of the code snippets will be available at the V-Community GitHub
Pages in category "V (Vlang)"
The following 200 pages are in this category, out of 475 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/Text
- Here document
- Hex words
- Hofstadter-Conway $10,000 sequence
- Horner's rule for polynomial evaluation
- Horse racing
- Hostname
- Hourglass puzzle
- HTTP
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
- 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
- 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
- Monty Hall problem
- Multi-dimensional array
- Multisplit
- Musical scale
N
P
R
- Random number generator (included)
- Random numbers
- Rate counter
- Read a file character by character/UTF8
- Read a file line by line
- Real constants and functions
- Remove duplicate elements
- Remove vowels from a string
- Rep-string
- Repeat
- Repeat a string
- 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/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
- 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
- Sorting algorithms/Cocktail sort
- Sorting algorithms/Comb sort
- Sorting algorithms/Counting sort
- Sorting algorithms/Gnome sort
- Sorting algorithms/Heapsort
- Sorting algorithms/Insertion sort
- Sorting algorithms/Merge sort
- Sorting algorithms/Quicksort
- Sorting algorithms/Shell sort
- Sorting algorithms/Sleep sort
- Special characters
- Spelling of ordinal numbers
- Split a character string based on change of character
- Square root by hand
- Stack
- Start from a main routine
- Statistics/Basic
- Strange numbers
- Strange plus numbers
- String append
- String case
- String comparison
- String concatenation
- String interpolation (included)
- String length