@raphamorimsi
iAccount based inSweden
About this account
- Account based in
- Sweden
- Connected via
- Sweden App Store
Account-level information from X, not a live location or the device used for a specific post.
Stockholm
Joined April 2011
- Tweets13.2K
- Following308
- Followers6.3K
- Likes14.4K
Pinned Tweet
Today I'm announcing Canario, a new terminal for macOS.
It uses Rio under the hood 🐤
Spaces with their own colors (⌘1–9), splits, a ⌘K command bar, live tab previews, session restore, and a floating quick terminal on ⌥⌘T.
macOS only for now, Linux and Windows are coming.
I saw yesterday the issue @sapphi_red has posted in OJ repository, asking to update the benchmark since it was misleading. In fact I did a mistake in the bench and I acknowledge it.
I updated the bench to the new OJ version towards to Vite 8.2.1.
@evanyou @sapphi_red please lemme know anything, if I did a mistake again I am super OK in acknowledge and fix it.
Re-run with the corrections applied (M-series Mac, vite 8.2.1, whole process trees, all sizes measured in one session, OJ at the 0.2.8 candidate).
So the honest gap is roughly 3x at 1k growing to 6x at 10k: smaller than the README claimed, and the README now says so.
People are asking me about OJ bundled mode.
OJ today has similar performance in the unbundled mode to Vite bundled. So today OJ isn’t necessarily faster, it just consumes less memory.
I don’t want to follow bundled mode architecture for different reasons, so started to sketch something different that is designed for agentic era.
I will share more about when time is due.
Raphael Amorim retweeted
At @Lovable, @raphamorims rewrote Vite in Rust and I am seeing the performance numbers at scale as it's rolled out. What a beast, can't wait to share more!
lovable.dev/blog/faster-prev…
I deleted most of my social media last year, and have been back to back on deleting Twitter (delete, activate, delete, activate, loop).
@caarlos0 and some folks advocated to me why just exist on Twitter is a good thing.
Since then, I decided to stay and Rio multiplied by 11x times number of users, big companies started to use rio-vt or/and librio, etc.
A lot of times you can build great stuff, but no one knows about it. You need to make sure that other people know about it (unfortunately it's the type of work I am the least interested but I am learning).
Raphael Amorim retweeted
Acabei de migrar o DCC de Vite para OJ + Tauri 🚀
Benchmark local:
Vite: 1,29s na primeira subida
OJ: 0,77s na primeira subida
Com cache aquecido, ambos ficaram praticamente empatados.
O mais importante: o OJ já está funcionando no fluxo de desenvolvimento e build, com desktop, mobile e testes validados.
✅ 895 testes passando
✅ Vite removido do fluxo de build/dev
✅ Tauri funcionando normalmente
Não é uma promessa de “10x mais rápido”; é uma migração de pipeline com desempenho equivalente e uma base mais alinhada ao OJ. 🚀
OJ 0.2.0 is out! 🍊
JavaScript workloads now run in-process on @deno_land isolates, no more JS sidecars (yey)
On one internal app:
• 6 to 2 processes
• 4.1 to 1.5 GB
• memory stays flat across HMR edits.
less machinery and lower overhead
No, the sandbox isn't dead, we just migrated from Vite to OJ 🦀
This was an internal sandbox broadly and heavy used in @Lovable.
Fun fact: 09/15 was my first attempt to migrate it to OJ 😂
More details about OJ migration soon.
OJ 0.2.0 is out! 🍊
JavaScript workloads now run in-process on @deno_land isolates, no more JS sidecars (yey)
On one internal app:
• 6 to 2 processes
• 4.1 to 1.5 GB
• memory stays flat across HMR edits.
less machinery and lower overhead
OJ 0.2.0 is out! 🍊
JavaScript workloads now run in-process on @deno_land isolates, no more JS sidecars (yey)
On one internal app:
• 6 to 2 processes
• 4.1 to 1.5 GB
• memory stays flat across HMR edits.
less machinery and lower overhead
Let's talk about the future of OJ
Next up: WebAssembly support: Edits hit an in-memory fs, oxc transforms the TS/JSX, Lightning CSS does the styles, and the preview rebuilds in ~5ms per keystroke. no dev server. The compiler runs in your browser tab.
Thanks Fabian and Lovable for trust my work, yet more to be announced soon
We rewrote the vite dev server in rust.
By removing Node.js, we achieved 4x better memory usage and cold starts is 2x faster.
This has resulted in our sandboxes acquisition time to go from 14s to 3s (4.6x improvement).
When i say we, i mean @raphamorims
Today I am moving OJ to @Lovable
I started OJ out of frustration watching Vite eat gigabytes under my agents. Now it's open source at github.com/lovablelabs/oj and rolling out under real Lovable previews.
More to be shared soon 🍊