A fast, memory-safe programming language designed for both low-level and high-level applications. Vix combines the speed of C with the safety of Rust, while remaining simple and easy to learn.
From website: Go to offical website and then select your OS and press Install. To make a new project in vix:
-- project_folder
|- myfile.vix
|- config.toml # optional
To compile your file:
vix myfile.vix -o myapplication.exe- Fast: Performance comparable to C/C++ using Clang compiler
- Memory Safe: Built in safety without garbage collection overhead and using borrow checker and ownership system
- Simple Syntax: Easy to read and write, quick to learn and develop with. No using of "{}" only "end"
- Flexible: Write low level system code or high level applications fast and easily
- Error handling & Help: Easy to read & know the issues from the error msg
[Warning]: Warning, Unexpected type:
| main.vix:10
|
| create input = input("ask me something")
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| > Unkowen type cannot be knowen in compilion time
|--------------------------------------------------
|
|-> help:
|
| create input: Type = input("ask me something")
|-> Example types:
| "word" -> str/String
| number -> int/float for 3.14
| bool -> true/false
| ... learn more about types: https://vixlanguage.github.io/help/types.html
func main()
print("Hello, world")
end
Alpha - Active development. More features coming soon!
Join our Discord for help and updates: https://discord.gg/CAemjRc4ya
| Feature | Python | Lua | Rust | Zig | Nim | C | Vix |
|---|---|---|---|---|---|---|---|
| Speed | ❌ Slow | ✅ Fast | ✅ Fast | ✅ Fast | ✅ Fast | ✅ Fast | |
| Memory Safety | ✅ Borrow Checker | ❌ Manual | ✅ Safe | ||||
| Easy to Learn | ✅ Simple | ✅ Simple | ❌ Complex | ✅ Simple | |||
| Development Speed | ✅ Fast | ✅ Fast | ✅ Fast | ❌ Slow | ✅ Fast | ||
| Compile Time | N/A | N/A | ❌ Slow | ✅ Fast | ✅ Fast | ✅ Fast | |
| Low-Level Control | ❌ No | ❌ No | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | |
| High-Level Features | ✅ Rich | ✅ Yes | ✅ Yes | ❌ No | ✅ Rich |
Built for developers who want speed without complexity.