Skip to main content

OSUI v0.2.0 is here!

· 2 min read
Klesti
Creator of OSUI

Wow, 2 years into this project, i was 14 years old when i started this project, aside from my first Rust project This was my second project and my most important for learning how rust actually works.

I'll be honest, i wasn't the best developer back then, but i've learned so much, and i'm excited for a new era, i want to get back into this project to thank it for placing me where i'm at.

Enough said though, let's get into the changes.

Rewrite

This rewrite has been one of the best yet, while not fully frontend featured, the engine and structure matters a lot, this is a much more resilient architecture than any other OSUI structure.

Performance

The performance is much better and it's more predictable, however i do not have a clue on why the spikes appear on those specific iterations. Dot Scatter

Scoping

Scoping allows for the separation of dynamic and static DOM, for a more flexible UI, this makes for loops and if statements work perfectly without any bugs.

Scoping

What's missing

I've only worked on this version for about 2-3 weeks, so it's not fully featured, here are the features that will be added on future versions:

  • Positioning and sizing API, Position::Center, etc.
  • Styling API, fg: #fff, etc.
  • RSX string dependencies (or ref cloning) (%state "{state}").