34 lines
1.7 KiB
Markdown
34 lines
1.7 KiB
Markdown
---
|
|
title: OSUI v0.2.0 is here!
|
|
description: New codebase, new strucutre, new everything.
|
|
date: 2026-01-31 18:52
|
|
slug: osui-0.2.0
|
|
authors:
|
|
- kleo-dev
|
|
---
|
|
|
|
Wow, 2 years into this project, i was 14 years old when i started this project, aside from my first [Rust project](https://github.com/wyst-lang/wyst/tree/legacy) This was my second project and my most important for learning how rust actually works.
|
|
<!-- truncate -->
|
|
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.
|
|

|
|

|
|
|
|
## 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.
|
|
|
|

|
|
|
|
## 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}"`). |