A modern, high-performance programming language with clean syntax, built-in Raylib 2D/3D engine, procedural world generation, and one-click compilation into a standalone .exe.
// 3D game with FPS camera & world primitives in 15 lines fn main() { init_window(1280, 720, "Venk 3D World"); set_fps(60); let cam = vek3d_camera_create(0.0, 5.0, 10.0, 0.0, 0.0, 0.0, 60.0); while !should_close() { let dt = time_delta(); vek3d_camera_update_fps(cam, dt, 8.0, 0.15); begin_drawing(); clear(15, 20, 35); vek3d_camera_begin(cam); vek3d_draw_grid(20, 1.0); vek3d_draw_house(0.0, 0.0, 0.0); vek3d_draw_tree(5.0, 0.0, -4.0); vek3d_camera_end(); end_drawing(); } }
Venk is designed for developers who want to create games and network apps without complex engine setups or manual pointer arithmetic.
Architect of the Venk syntax, native Rust interpreter, and built-in modules for 2D/3D graphics, networking, and system programming. Open-source under the MPL-2.0 license.
Open venk-lang Repository →Place venk.exe and raylib.dll in the same folder and run commands from your terminal:
# Run a Venk script > venk run script.venk # Launch the Graphical IDE > venk ide # Compile into standalone .exe > venk build script.venk
Powered by a native Rust interpreter with an upcoming LLVM backend for C++-level execution speed.
Direct Raylib integration: 3D cameras, skeletal animations (.gltf/.obj), particle systems, shaders, and ready-made prefabs.
Built-in noise functions (vek3d_world_noise) and maps for generating massive RimWorld / WorldBox style worlds.
Bundle your entire project into a standalone .exe with build("game.venk") and manage packages via VIP.
Version 0.0.3 expands Venk beyond single-player games: multiplayer networking, web servers, browser integration, and memory stability.
nvenk Module (Servers & Net)Full WebSocket client & server for multiplayer games, plus a built-in HTTP web server to host HTML pages directly from Venk.
.exe Build FixFixed packaging issues when compiling scripts into standalone Windows executables via venk build and build().
bvenk Module (Browsers)Upcoming standard module for browser automation, webview control, and seamless web-to-Venk app integration.
Resource lifecycle optimization in the Rust runtime for textures, 3D meshes, and sockets during long sessions.
Powered by tungstenite and non-blocking TCP sockets, nvenk lets you poll network events right inside your 60 FPS game loop:
nvenk_ws_connect(url) — connect WebSocket client (ws://...)nvenk_ws_send(id, msg) / nvenk_ws_recv(id) — non-blocking messagingnvenk_ws_server_start(addr) — launch multiplayer servernvenk_ws_server_poll(id) — poll connect, disconnect & player messagesnvenk_ws_server_send(srv, cid, msg) — send packet to one playernvenk_ws_server_broadcast(srv, msg) — broadcast state to all playersnvenk_http_serve_html(addr, html) — serve HTML web pages over HTTP// Multiplayer WebSocket server powered by nvenk fn main() { let srv = nvenk_ws_server_start("127.0.0.1:8080"); print("Server listening on port 8080!"); while true { let events = nvenk_ws_server_poll(srv); for ev in events { let client_id = ev[0]; let data = ev[1]; if data == "connect" { nvenk_ws_server_send(srv, client_id, "Welcome!"); } else { // Broadcast player coordinates or chat to everyone nvenk_ws_server_broadcast(srv, data); } } sleep(16); // ~60 ticks per second } }
Familiar constructs inspired by Rust, TypeScript, and Python — clean, expressive, and easy to read.
// Immutable (let) and mutable (mut) variables let x = 10; mut y = 20; let pi: float = 3.14; // Conditional branching if x > 10 { print("Greater than 10"); } elif x == 10 { print("Equal to 10"); } else { print("Less than 10"); } // Loops: while & for-in-range while y > 0 { y -= 1; } for i in range(0, 10) { print(i); }
// Typed functions fn add(a: int, b: int) -> int { return a + b; } // Structs and methods (impl) struct Player { name: string, hp: int } impl Player { fn heal(mut self, amount: int) { self.hp += amount; } } // Functional array operations let nums = [1, 2, 3, 4, 5]; let doubled = map(nums, fn(n) { return n * 2; });
init_window(800, 600, "2D Arcade"); mut px = 400.0; mut hp = 85; while !should_close() { if key_down("D") { px += 5.0; } if key_down("A") { px -= 5.0; } begin_drawing(); clear(20, 22, 30); circle(px, 300.0, 25.0, 0, 229, 255); draw_health_bar(20, 20, 200, 20, hp, 100, 0, 230, 118); if gui_button(20, 60, 140, 36, "Heal (+10)") { hp = clamp(hp + 10, 0, 100); } end_drawing(); }
// pvenk: File System & Regex pvenk_dir_create("saves"); let is_email = pvenk_regex_match("dev@venk.dev", "^.+@.+\\..+$"); // jvenk: HTTP & JSON let raw = jvenk_http_get("https://example.com"); let data = json_parse(raw); // gdvenk: Timers & Signals (Godot-style) let t = gdvenk_timer_start(); gdvenk_signal_connect("player_died", fn() { print("Game Over!"); }); // cppvenk: Threads, Queues & Raw Memory cppvenk_thread_spawn("worker.venk"); let ptr = cppvenk_mem_alloc(64);
Interactive search across all built-in functions in v0.0.2 Beta and the new v0.0.3 networking module.