News for hackers. Stuff that matters.
Re:Fleet, a Lightweight IDE from JetBrains by torginus on Monday November 29, 2021 @04:07AM (#29377733)
I really hope it's not Electron-based.
Re:Fleet, a Lightweight IDE from JetBrains by zRedShift on Monday November 29, 2021 @06:53AM (#29378765)
Official response: https://blog.jetbrains.com/blog/2021/11/29/welcome-to-fleet/...

It’s written in Kotlin mainly, a little bit of Rust for native parts, Skiko (Skija + AWT)

The UI framework is similar to Compose, but we started when Jetpack Compose wasn’t there :)

Re:Fleet, a Lightweight IDE from JetBrains by ksec on Monday November 29, 2021 @12:56PM (#29382871)
Damn I was hoping to see some GraalVM AOT Java Magic.

I wonder if they have plan to use Kotlin Native. But dogfooding is always good.

Re:Fleet, a Lightweight IDE from JetBrains by dunefox on Monday November 29, 2021 @04:57PM (#29385784)
I think that would have been a great case for Kotlin native.
Re:Fleet, a Lightweight IDE from JetBrains by ac130kz on Monday November 29, 2021 @04:21AM (#29377813)
I really hope it's not Java mess either: no Wayland support, lags
Re:Fleet, a Lightweight IDE from JetBrains by pb82 on Monday November 29, 2021 @05:50AM (#29378345)
Really? I'm using their IDEs on Fedora 35 with Wayland. Seems to be working fine.
Re:Fleet, a Lightweight IDE from JetBrains by ac130kz on Monday November 29, 2021 @06:46AM (#29378706)
Now disable XWayland and try again
Re:Fleet, a Lightweight IDE from JetBrains by mariusmg on Monday November 29, 2021 @04:36AM (#29377900)
No chance of that, everything they do is in Java...
Re:Fleet, a Lightweight IDE from JetBrains by Hamuko on Monday November 29, 2021 @06:38AM (#29378653)
It's actually Kotlin aka "I Can't Believe It's Not Java!"
Re:Fleet, a Lightweight IDE from JetBrains by nicoburns on Monday November 29, 2021 @07:02AM (#29378836)
Makes sense given that Kotlin is their own in-house language.
Re:Fleet, a Lightweight IDE from JetBrains by xyproto on Monday November 29, 2021 @04:55AM (#29378009)
To be fair, Wayland is still new (compared to how long Java has existed), and Java/OpenJDK may improve support in the future.
Re:Fleet, a Lightweight IDE from JetBrains by ac130kz on Monday November 29, 2021 @05:19AM (#29378160)
Wayland is almost 15 years old by now, and it's on track to be enabled by default on most distros as well.
Re:Fleet, a Lightweight IDE from JetBrains by xyproto on Wednesday December 01, 2021 @11:02AM (#29405091)
Java is 26 years old.

The first distro to use Wayland by default was Hannah Montana Linux, 10 years ago. Only recently have more widespread distros started using Wayland by default.

Java is old, and Wayland is comparatively new.

Re:Fleet, a Lightweight IDE from JetBrains by jatone on Monday November 29, 2021 @09:40AM (#29380354)
there also isn't a reason for them to use it xwayland works fine for the usecase.

I hope they support wayland natively but its just not necessary atm.

Re:Fleet, a Lightweight IDE from JetBrains by T6-R9 on Tuesday November 30, 2021 @03:54AM (#29390247)
XWayland does not work fine for multi-monitor setups with mixed dpi. All XWayland applications will look blurry and there is no intention to fix this for XWayland because its already considered obsolete.
Re:Fleet, a Lightweight IDE from JetBrains by jatone on Tuesday November 30, 2021 @01:27PM (#29395574)
x11 has problems this is known. not moving to wayland isn't a regression its just maintenance of the status quo.
Re:Fleet, a Lightweight IDE from JetBrains by arnvald on Monday November 29, 2021 @04:58AM (#29378035)
Apparently it's not: https://twitter.com/himanshub16/status/1465238053979447296

In the thread someone from JB mentions it's mostly JVM + some Rust

Re:Fleet, a Lightweight IDE from JetBrains by robm50 on Monday November 29, 2021 @05:16AM (#29378147)
Re:Fleet, a Lightweight IDE from JetBrains by he_is_legend on Monday November 29, 2021 @04:13AM (#29377772)
Unlikely. The rest of their programmers toolset are mostly java based.
Re:Fleet, a Lightweight IDE from JetBrains by f311a on Monday November 29, 2021 @04:55AM (#29378010)
Google translate from a dev vacancy:

You will be surprised, but we decided to create a new IDE from scratch and put together a bold team with a proven success track in creating tools inside JB. And right now we have a prototype and a bunch of bicycles.

Our program consists of several parts that communicate with each other over the network.

The first part is an editor that is written in a new cross-platform UI framework. When we made this framework, we were inspired by React.js and Swift UI.

The second part is a small program written in Rust that tells about the arrangement of files on disk and starts processes. File watcher, process monitor and HTTP client in one binary.

The third part is a server that analyzes the source code of the project. It can be IntelliJ, ReSharper, or LSP server.

This architecture adds flexibility: if you run all the parts on one computer, you get a classic IDE. And if on different machines, it will be convenient to work in the cloud or in a container.

Re:Fleet, a Lightweight IDE from JetBrains by ac130kz on Monday November 29, 2021 @05:18AM (#29378155)
Now that's interesting, let's hope it's not immediate mode based and is closer to SolidJS (without Virtual DOM) than modern React, which clearly has no long-term future.
Re:Fleet, a Lightweight IDE from JetBrains by zxcq544 on Tuesday November 30, 2021 @07:45AM (#29391519)
I guess they mean their GUI framework architecture is close to React's architecture rather than actually using JS for GUI.
Re:Fleet, a Lightweight IDE from JetBrains by drpotato on Monday November 29, 2021 @02:07PM (#29383817)
> modern React, which clearly has no long-term future

Curious, why do you think that?

Re:Fleet, a Lightweight IDE from JetBrains by ushakov on Monday November 29, 2021 @06:41AM (#29378677)
they didn’t say it’s a JS framework though
Re:Fleet, a Lightweight IDE from JetBrains by mikkelam on Monday November 29, 2021 @05:49AM (#29378337)
The UI is probably written with compose https://github.com/JetBrains/compose-jb
Re:Fleet, a Lightweight IDE from JetBrains by asattarmd on Monday November 29, 2021 @06:36AM (#29378635)
I believe so as well. Compose is very similar to Electron. Jetbrains Toolbox (which uses compose) uses 500mb memory which is on par with what Electron would use for such a simple app.
Re:Fleet, a Lightweight IDE from JetBrains by kaba0 on Monday November 29, 2021 @09:08AM (#29380011)
Why would it be similar? It doesn’t need all the unnecessary abstraction of a browser/DOM. Also, initial memory usage doesn’t mean it scales the same way from then on.
Re:Fleet, a Lightweight IDE from JetBrains by zxcq544 on Tuesday November 30, 2021 @11:02AM (#29393569)
It uses JVM and JVM tends to hunk all memory for object pools so it can allocate fast if needed.
Re:Fleet, a Lightweight IDE from JetBrains by iruoy on Monday November 29, 2021 @07:21AM (#29378978)
I just checked. On my Windows laptop from work it uses 18.5 MB in the background. It uses 220-240 MB in the foreground though. Which seems totally unnecessary.

I already ditched the Toolbox app on macOS, because it marks the binaries as Intel only (while they're universal). The IDE's built in updater seems fine if you're only using the stable versions. So I think I'm just going to remove the Toolbox app from all my machines.

Re:Fleet, a Lightweight IDE from JetBrains by torginus on Monday November 29, 2021 @09:41AM (#29380369)
I really hope that's not the case - at least the browser has an excuse of being a scripting platform, a 3D and 2D rendering and layout engine, a video streaming platform, a database, a server and who knows what rolled into one - that Toolbox thing hopefully has less than 5% of that in its codebase.
Re:Fleet, a Lightweight IDE from JetBrains by wiseowise on Monday November 29, 2021 @06:59AM (#29378810)
Except Electron is 8 years old, and Compose desktop has started active development half a year ago.
Re:Fleet, a Lightweight IDE from JetBrains by bscphil on Monday November 29, 2021 @04:50AM (#29377966)
Same. Similarly, since VS Code is the obvious comparison here, I really hope they're planning to open source the basic version of this once it's out of beta. I could really see myself using this if it manages to be both open source and actually lightweight and not a 300+ MB blob.