News for hackers. Stuff that matters.
Re:Electron 9.0 by rubber_duck on Monday May 18, 2020 @09:28PM (#23230387)
Meh - I used IntelliJ IDEA, Visual Studio and Visual Studio Code on a daily basis and VSCode is the most responsive environment by far - both in terms of UI responsiveness and operation speed. Now you can argue it's not as fully featured as the mentioned IDEs but it's obviously not just about native vs electron, and electron can provide a good enough experience.
Re:Electron 9.0 by gruez on Monday May 18, 2020 @10:30PM (#23230743)
Your anecdotes seem to be directly contradicted by hard data. IDEA with zero latency typing[1] has an order of magnitude lower latency than vscode[2]

[1] https://pavelfatin.com/typing-with-pleasure/

[2] https://github.com/Microsoft/vscode/issues/27378

Re:Electron 9.0 by rubber_duck on Tuesday May 19, 2020 @01:16AM (#23231468)
The performance I'm talking about is stuff like code analysis chugging and stalling the editor so I don't understand how your link is contradicting anything from my post.

Lint/hints taking forever to update after code editing, autocomplete popup takes a second to show, etc. This depends on codebase naturally but in my experience for the cases where VS Code works well (mostly typescript) on the same codebase and same PC it's much more responsive than IDEA tools or Visual Studio (and I'm running this on a i9 MBP with 32GB ram so not a weak HW thing).

I type on a 60hz monitor and I'm not particularly sensitive to that kind of latency (this is where I consider VS Code good enough)

Re:Electron 9.0 by chillee on Monday May 18, 2020 @10:43PM (#23230832)
Latency of the typing is not the same thing as general UI responsiveness.
Re:Electron 9.0 by aPoCoMiLogin on Tuesday May 19, 2020 @05:20AM (#23232905)
The zero latency sounds cool, but there are other issues with the IDE on OSX. There is issue [1] how the UI is repainted on any interaction with the IDE [2]

[1] - https://youtrack.jetbrains.com/issue/JBR-526

[2] - https://photos.app.goo.gl/UmZ8GiVmrGYBbzyV9

Re:Electron 9.0 by veidr on Tuesday May 19, 2020 @04:03AM (#23232454)
That is like comparing cars based on the latency of the door unlock button.

I mean sure, faster is better, but door unlock speed is probably not the problem that makes people think a car is “slow”.

Re:Electron 9.0 by mekster on Wednesday May 20, 2020 @03:12PM (#23250579)
Definitely VS code feels so much more responsive than IntelliJ.

If the feature becomes on par with IntelliJ, everyone would jump ship. But not today.

Re:Electron 9.0 by fermienrico on Monday May 18, 2020 @09:31PM (#23230406)
Is JetBrain stack native? I don't think it is.
Re:Electron 9.0 by jvolkman on Monday May 18, 2020 @09:40PM (#23230469)
No, it's based on Java's Swing.
Re:Electron 9.0 by rubber_duck on Monday May 18, 2020 @09:42PM (#23230479)
Visual Studio is, JetBrains is JVM - but still closer to native than DOM.
Re:Electron 9.0 by Avi-D-coder on Monday May 18, 2020 @10:02PM (#23230595)
How is Swing closer to native than DOM?
Re:Electron 9.0 by rubber_duck on Tuesday May 19, 2020 @01:21AM (#23231496)
You aren't sandboxed - you can reach out to native API/code if you hit some limits, you have threads, etc.
Re:Electron 9.0 by tomc1985 on Monday May 18, 2020 @10:04PM (#23230611)
For one, Swing isn't build on top of technologies that specialize in displaying interactive documents
Re:Electron 9.0 by Avi-D-coder on Tuesday May 19, 2020 @12:08AM (#23231190)
Intuitively it it feels like that should make swing faster, but experientially swing feels heavy and slow.

Is swing poorly optimized, is it due to being in Java?

I'm not a UI dev and have not thought about it much.

Re:Electron 9.0 by tomc1985 on Tuesday May 19, 2020 @01:15AM (#23231462)
I'd agree that Swing feels heavy... but Electron feels an order of magnitude heavier.

Though, when done right, it feels fairly close to native. I earn my pay working with IDEA and if you turn off the plugins you don't need its actually quite snappy where you would reasonably expect it to be. I would bet it takes far less optimization to get there than an equivalent Electron application

Re:Electron 9.0 by Iwan-Zotow on Monday May 18, 2020 @09:37PM (#23230443)
Java/Kotlin mix, I believe
Re:Electron 9.0 by fermienrico on Monday May 18, 2020 @09:39PM (#23230459)
That's another thing, Java apps just feel heavy. Like its got a couple of kilos of lead attached to it. Ever used Eclipse IDE? Holycrap.

Also, Eclipse and Jet Brains software feel more similar to each other and now that you mentioned Java, that makes sense.

Re:Electron 9.0 by meddlepal on Monday May 18, 2020 @09:44PM (#23230486)
Have you actually ever used IntelliJ? It doesn't feel "heavy" compared to say Visual Studio (the real one, not Code).
Re:Electron 9.0 by TylerE on Monday May 18, 2020 @10:21PM (#23230688)
I have used IntelliJ for years. I have found nothing I prefer to it. It is absolutely, beyond a shadow of a doubt, heavier than depleted uranium.
Re:Electron 9.0 by tomc1985 on Monday May 18, 2020 @10:03PM (#23230604)
VS on small projects feels pretty light. It's only on the larger projects and maybe Resharper in the mix that it becomes difficult
Re:Electron 9.0 by fermienrico on Monday May 18, 2020 @09:48PM (#23230515)
I haven't used IntelliJ per se but I've used CLion which is similar sofware from Jet Brains. To me, both feel super heavy.
Re:Electron 9.0 by TylerE on Monday May 18, 2020 @11:28PM (#23231039)
It's not similar, it's the exact same code, just with features turned off. If I open a C project in IntelliJ it's literally the CLion plug-in.
Re:Electron 9.0 by new_realist on Monday May 18, 2020 @10:03PM (#23230601)
They’ve piled everything on the UI thread like a freshman, now they are paying the price.