Back to browse
GitHub Repository

A new general purpose compiled language featuring first-class data manipulation, and compile time execution with I/O.

65 starsFLUX

A New Programming Language

by kvthweatt·Mar 9, 2026·4 points·0 comments

AI Analysis

MidNiche Gem

Endianness in the type system is clever, but another language in a saturated field.

Strengths
  • Built-in endianness conversion on assignment is a genuinely useful niche feature.
  • Flexible data packing between arrays, structs, and integers reduces boilerplate.
  • Opt-in ownership syntax avoids Rust's borrow checker complexity.
Weaknesses
  • 24 stars suggests very early stage — no ecosystem, packages, or real adoption yet.
  • Rust, Zig, and Carbon already solve systems programming with stronger communities.
Target Audience

Systems programmers interested in low-level data manipulation

Similar To

Rust · Zig · Carbon

Post Description

Not sure why I can't have a link & discussion so here's this: https://github.com/kvthweatt/FluxLang

Flux is a compiled, statically typed, general purpose language with the power of C++ and readability of Python.

Offering first-class data manipulation features like packing arrays to types like integers, floats, or structs, or structs to integers, or structs to arrays. Nearly all combinations you could think of for packing, unpacking, and restructuring.

Endianness is built into the type system, and performs automatic conversion on assignments. Example: Say we have A as BE, and B as LE, and B = 0xFAF0, when we do A = B the value of A = 0xF0FA.

// Pack two floats into a u64

def ff_pack(float hi, float lo) -> u64 { float[2] parts = [hi, lo]; return (u64)parts; };

Simple templates allow generic programming without SFINAE. Opt-in ownership syntax without a borrow checker. Universal FFI with the ability to target compiled library functions. Custom operators, OOP with object traits to enforce behavior, so much it sounds too good to be true, but it's real.

I built Flux in about 8 months while homeless. I hope it becomes of use to some of you.

Similar Projects

Developer Tools●●Solid

Lumina – a statically typed web-native language for JavaScript and WASM

Built-in reactive runtime and dual JS/WASM targets challenge React and TypeScript dominance.

WizardryBold Bet
light_ideas
202mo ago