Skip to content

Spyxpo/oxide-lang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Oxide Programming Language Logo - Best Modern Systems Programming Language

Oxide Programming Language

The Next-Generation Programming Language Built for Speed, Safety, and Cross-Platform Excellence

Created by Spyxpo — Pioneering the Future of Software Development

WebsiteDocumentationDownloads

Oxide Version Cross-Platform Support


Why Developers Choose Oxide — The Best Programming Language for Modern Development

Oxide is a revolutionary programming language developed by Spyxpo that combines the performance of C/C++ with the safety of Rust and the simplicity of Python. Whether you're building high-performance systems software, cross-platform desktop applications, or mobile apps, Oxide delivers unmatched developer experience.

Blazingly Fast Performance

Compiled directly to native machine code with zero-cost abstractions. No garbage collector overhead, no runtime penalties — just pure, optimized performance that rivals C and C++.

Memory Safe by Design

Oxide's innovative ownership system guarantees memory safety at compile time without garbage collection. Eliminate null pointer exceptions, buffer overflows, and data races forever.

True Cross-Platform GUI Development

Build beautiful, native GUI applications for Android, iOS, macOS, Windows, Linux, and embedded systems — all from a single, unified codebase. Write once, deploy everywhere.

World-Class Developer Tooling

Fully integrated package manager, code formatter, and linter out of the box. First-class IDE support with official VSCode extension for seamless development workflow.

Growing Ecosystem

Rapidly expanding collection of packages, libraries, and frameworks. Effortless dependency management with the powerful Oxide package manager.

Thriving Developer Community

Join thousands of developers worldwide. Comprehensive documentation, tutorials, and an active community ready to help you succeed.

Consistent Updates & Long-Term Support — Monthly updates on the 1st with bug fixes and improvements. Major yearly releases on August 15th.


Install Oxide — Get Started in Seconds

Getting started with Oxide is quick and easy. Install the Oxide compiler and toolchain with a single command.

macOS / Linux Installation

curl -fsSL https://oxide-lang.dev/install.sh | sh

Windows Installation

irm https://oxide-lang.dev/install.ps1 | iex

Or download pre-built binaries from the official Downloads Page.


Quick Start Guide — Write Your First Oxide Program

Hello, World! in Oxide

Create a file named hello.ox:

print "Hello, World!"

Run it:

oxide hello.ox

Oxide Language Overview — Clean, Intuitive Syntax

Oxide features a clean, Python-like syntax that's easy to learn yet powerful enough for complex systems programming. No semicolons, no verbose boilerplate — just write code that works.

Variables and Type Inference

# Numbers
age = 25
pi = 3.14159

# Strings
name = "Oxide"
message = "Hello, " + name + "!"

# Booleans
is_active = True
is_complete = False

Built-in Data Types

Oxide provides a rich set of built-in data types for all your programming needs:

Type Example Description
Integer 42 Whole numbers with arbitrary precision
Float 3.14 IEEE 754 floating-point decimal numbers
String "Hello" UTF-8 encoded text values
Boolean True, False Logical values for conditionals
List [1, 2, 3] Dynamic ordered collections

Powerful Control Flow Statements

if age >= 18
    print "You are an adult."
elseif age >= 13
    print "You are a teenager."
else
    print "You are a child."
endif

Flexible Loop Constructs

# For loop
for i = 1 to 5
    print i
endfor

# For-each loop
fruits = ["apple", "banana", "cherry"]
for fruit in fruits
    print fruit
endfor

# While loop
counter = 0
while counter < 5
    print counter
    counter = counter + 1
endwhile

First-Class Functions

func add(a, b)
    return a + b
endfunc

func greet(name)
    print "Hello, " + name + "!"
endfunc

result = add(10, 20)
greet("World")

Object-Oriented Programming with Classes

class Person
    func init(name, age)
        self.name = name
        self.age = age
    endfunc

    func greet()
        print "Hello, my name is " + self.name
    endfunc
endclass

person = new Person("Alice", 30)
person.greet()

Oxide Modules — Extend Your Applications

Oxide's powerful module system lets you import functionality with a simple use statement:

use math
use string
use http

print abs(-10)
print pow(2, 8)

Package Manager — Install Modules Instantly

Explore hundreds of modules available through Oxide's official package registry at Modules.

oxide install <module>
oxide uninstall <module>
oxide list
Module Description
math Comprehensive mathematical functions and constants
string Advanced string manipulation utilities
list Powerful list operations and transformations
http Full-featured HTTP client for REST APIs
ogre Spyxpo's native cross-platform GUI engine

Build Native GUI Applications — Cross-Platform Desktop & Mobile Apps

Create stunning native graphical applications using Spyxpo's powerful OGRE rendering engine. Build once, deploy to Windows, macOS, Linux, Android, and iOS:

use ogre

scaffold = Scaffold()

appBar = AppBar()
appBar.title("My App")
appBar.backgroundColor("#6200EE")

body = Center()
column = Column()
column.mainAxisAlignment("center")

title = Text("Welcome to Oxide!")
title.fontSize(24)

button = Button("Click Me")
button.backgroundColor("#03DAC6")

column.add(title)
column.add(button)
body.add(column)

scaffold.appBar(appBar)
scaffold.body(body)

RunApp("My Application", 400, 600, scaffold)

Foreign Function Interface (FFI) — Seamless C/C++ Integration

Oxide provides a powerful FFI that lets you call native C/C++ libraries directly, giving you access to millions of existing libraries:

link "./libmymath.dylib"

native func add(a, b) from "native_add"
native func sqrt(x) from "native_sqrt"

result = add(10, 20)
root = sqrt(16.0)

HTTP Requests — Built-in Networking Support

Oxide includes a powerful HTTP client out of the box for building web services, REST API clients, and networked applications:

use http

response = get("https://api.example.com/data")
print response

result = postJson("https://api.example.com/users", '{"name": "John"}')
download("https://example.com/file.zip", "output.zip")

Supported Development Platforms

Develop with Oxide on all major operating systems:

Platform Architecture Status
Windows x64, ARM64 ✅ Supported
macOS Intel, Apple Silicon ✅ Supported
Linux x64, ARM64 ✅ Supported

Build Targets — True Cross-Platform Compilation

Compile your Oxide applications for all major platforms from a single codebase — no code changes required:

Target Platform Architecture Status
Windows x64, ARM64 ✅ Supported
macOS Intel, Apple Silicon ✅ Supported
Linux x64, ARM64 ✅ Supported
Android ARM64 🚧 In Development
iOS ARM64 🚧 In Development
Web WebAssembly 🚧 In Development

Resources & Documentation


About Spyxpo

Oxide is developed and maintained by Spyxpo, a technology company dedicated to building innovative developer tools and programming languages. Our mission is to empower developers with fast, safe, and enjoyable tools that make software development better for everyone.


Oxide Programming Language — Built with ❤️ by Spyxpo

The future of programming is here. Start building with Oxide today.

About

Oxide is a modern systems programming language focused on performance, safety, and developer experience. Write code that's both fast and fearless.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors