Hacker News new | ask | show | jobs
by hhariri 1667 days ago
It's based on the JVM (Kotlin) and parts of it with Rust.
2 comments

Is the JVM portion still using Swing? And can you share any details about what you're using Rust for?
Briefly: no, it's a custom reactive UI framework similar to Jetpack Compose. Rust is used for native operations such as accessing file system, launching processes, etc
Interesting that you would use Rust for those operations since the JVM was already presumably giving you cross-platform implementations. Was that a significant performance bottleneck that got alleviated by using Rust, or was there another reason?
Whole architecture of Fleet is distributed, so we need a small binary without dependencies that could be uploaded to the dev container. All the access goes through that binary (even in local case)
It's interesting and says something about the state of tooling that, in response to those requirements, it was easier to switch to an entirely different language and ecosystem than it was to build off the existing work and convince the toolchain you were using to produce output with those properties.
Is it / does it? I thought the JRE as a deploy-time dependency was the very first conscious tradeoff one makes with Java, and always has been.
Well, you can make standalone binaries with both Kotlin and Java these days, so this may be related to when Fleet was started rather than how you'd do it in 2021.
That makes sense. Thanks for sharing!
We'll be publishing a blog post with more detailed information soon.
Awesome, looking forward to it. I hope Clojure/Scala wind up getting supported in the future, I'd love to try it out :) Keep up the good work!
JVM rocks for cross platform development!