v-lang is an actively used programming language created in 2018.

2Years Old ?Users ?Jobs
  • the v-lang website
  • v-lang first appeared in 2018
  • Have a question about v-lang not answered here? Email me and let me know how I can help.

Example code from the web:

package main

import ui 

type Context struct {
    input ui.TextBox

fn main() {
    wnd := ui.new_window(ui.WindowCfg{
        width: 600 
        height: 300 
        title: 'hello world' 
    ctx := Context{
        input: ui.new_textbox(wnd) 
    ctx.input.set_placeholder('Enter your name')
    btn := ui.new_button(wnd, 'Click me', ctx.btn_click)
    for {

fn (ctx mut Context) btn_click() { 
    name := ctx.input.text()
    ui.alert('Hello, $name!')

Last updated August 9th, 2020

Edit v-lang on GitHub