106 points · by soapdog · 6y ago · 79 comments
Still this is still an electron-based editor and even in native arm64 it uses a lot of RAM. On my Surface Pro X, I just launched both VSCode compiled for ARM64 and Sublime Text compiled for ia32. VSCode is using about 300MB+ and Sublime Text (working under built-in ia32 emulation) is using 15MB.
I’m happy to have native VSCode, not only because many people rely on that but because it means that Electron, NodeJS, and node-gyp must be working for Windows on ARM in a somewhat stable manner and that will open the doors for other applications to arrive in the platform soon (I hope).
I know that most readers here are not keen on anything Microsoft related, I understand that and in many cases share the sentiment and views but there might be readers that got an SPX and were waiting for this release like I was. If you were running the insider preview compiled for ia32, it won’t automatically change to arm64, you’ll need to download again.
I'd love to have sublime text, textadept, or any other real native editor running under ARM64 on Windows but so far they are not available. This VSCode is the first editor shipping ARM64 binaries, even if Electron stuff.
Also it is important to notice that many developers using that machine are using the ia32 version of VSCode and this version will benefit them (and it more native to the platform).
My point is that we shouldn’t embrace for Electron just because we want applications in Linux.
In addition, Election is not a guarantee of a Linux port either.
and yet on Linux you had already the entirety of debian already available in native ARM64 years ago, which is a lot more than what you have on windows ARM64.
Though, it is usually easy to rewrap the version from another platform using Electron on Linux. E.g. writing a Nix derivation for Notion on Linux isn't much more work than for any other Electron application:
https://github.com/danieldk/nix-packages/blob/master/pkgs/no...
(Not tested more recently though, I don't use Notion a lot.)
On my mac VSCode sits at ~380MB without any files open, but opening one empty plaintext file brings that up to 460MB, opening one tiny Lua (a language known for being especially small and efficient) file makes that 500MB, and opening a second tiny Lua file makes that 535MB. Does Sublime increase like that?
Microsoft is leveraging this by allowing you to open up VSCode in Github for any file, no installation necessary. Amazon is doing the same with Cloud9 on AWS that they acquired earlier.
Many editors have had remote editing support for a while. It requires that you have installed the editor locally, but why wouldn't I have an editor on my laptop or desktop?
(Tramp + LSP all the way ;).)
Though being able to open VS Code in GitHub is a really nice feature!
I just loaded the source for Luarocks on Sublime Text and my RAM usage while browsing some Lua code in it is 31MB, pretty decent.
If you're doing Lua, there is always Zero Brane Studio (https://studio.zerobrane.com/) which is built with Lua and very nimble (uses wxLua which is wxWidgets + Lua), unfortunately it is not playing well with my hidpi screen. Another good option for Lua developers is TextAdept (https://foicica.com/textadept/) which has wonderful support for extending it using Lua, IMO it is like an Emacs but with Lua. Those editors are available as ia32. I didn't succeeded in compiling ZeroBrane studio for arm64 even though I managed to compile both Lua and wxWidgets for it. As for TextAdept it uses GTK and that is not available for Windows on ARM.
For the past week I've been using sublime text and am quite happy with it. I also use VSCode when I need some more intelisense help.
A large part of that with the current stable builds is syntaxes that embed others - so Markdown fenced code blocks and LaTeX files. For simpler syntaxes you’ll see a much smaller jump in ram usage.
See also: https://github.com/jhallen/joes-sandbox/blob/master/editor-p...
I kind of want to compare this to some older laptops I've been given before.
However, based on our experiences with the Pi 3B+ and Microsoft's promise to get an update out "real soon now" (probably over year late at this point), we've concluded that Microsoft is not serious about Windows on the Pi. So we decided to not do any more development on the RPi Win10 IoT platform, and move future development to .NET Core running on Linux which they seem far more enthusiastic about supporting.
edit: this tweeter is a GitHub employee, can't remember what their title is.
(I know that macOS has Hypervisor.framework)
[0]: https://hub.docker.com/editions/community/docker-ce-desktop-...
https://www.reddit.com/r/webdev/comments/g7rhtw/i_ported_vsc...
https://www.tomshardware.com/reviews/install-windows-10-on-r...
There's also the more official "Windows 10 IoT Core" option which has images specifically for Raspberry Pi.
https://www.microsoft.com/en-us/download/details.aspx?id=550...
8GB RAM
...pick one?