News for hackers. Stuff that matters.
Re:Sketch: Proud to Build a Truly Native Mac App by alfalfasprout on Tuesday October 27, 2020 @09:32PM (#24914030)
Compare it to plain vim and you'll be shocked at the responsiveness difference. I even find the jetbrains IDEs kinda laggy.
Re:Sketch: Proud to Build a Truly Native Mac App by tomduncalf on Wednesday October 28, 2020 @04:23AM (#24916484)
I’ve always found Jetbrains stuff really laggy, even when I tried Clion on my current maxed out 16” MBP, to be honest it’s one of the things that has always put me off their software. The text entry might not be laggy but the general UI has that “laggy Java” (sorry, I know it’s not a Java fault but I just associate it with Java GUI apps!) feel. Personally I find VS Code much more responsive on the whole.
Re:Sketch: Proud to Build a Truly Native Mac App by nl on Tuesday October 27, 2020 @09:45PM (#24914126)
I've been a software developer since the 1990s. I know how Vi(m) feels and I much prefer the affordances offered by VS.Code.

Ironically Jetbrains IDEs are Java, using Java Swing for the UI[1]! This is even less native than VS.Code where at least native widgets are used.

I guess this shows how much our impressions are formed by expectations!

[1] https://stackoverflow.com/a/12311981/280795

Re:Sketch: Proud to Build a Truly Native Mac App by jolux on Wednesday October 28, 2020 @12:31AM (#24915244)
Swing is definitely not "less native" than Electron. The entire window is a web view in Electron apps. I believe Java Swing was even an officially supported UI toolkit on the Mac a long time ago.
Re:Sketch: Proud to Build a Truly Native Mac App by saagarjha on Wednesday October 28, 2020 @04:49AM (#24916643)
Not in the way Cocoa is, but it had a PLAF coming from Apple at the time.
Re:Sketch: Proud to Build a Truly Native Mac App by nl on Wednesday October 28, 2020 @04:53AM (#24916674)
The menus in Swing aren't native but are in Electron.
Re:Sketch: Proud to Build a Truly Native Mac App by Liquid_Fire on Wednesday October 28, 2020 @06:45AM (#24917286)
Maybe Electron supports native menus, but VS Code certainly doesn't use them, at least on Windows and Linux.

Simple experimental proof: resize the window to be very small, and open a menu. The menu can't go outside the bounds of the window.

Re:Sketch: Proud to Build a Truly Native Mac App by jolux on Wednesday October 28, 2020 @07:31PM (#24925370)
What menus?
Re:Sketch: Proud to Build a Truly Native Mac App by FpUser on Tuesday October 27, 2020 @11:02PM (#24914616)
>"I even find the jetbrains IDEs kinda laggy."

On my laptop (6 core 3,9GHz 32GB RAM and NVME) VS Code is fast and responsive, still wastes lots of RAM though. Jetbrains tools meanwhile were way more laggy on the same setup.