11 ms·
Show HN: Visual Studio Code for ARM, submitted to core
- Lerc 10y agoGreat to see. I use VS-code on my Arm Chromebook and it makes for a nice on-the-go dev environment. Also nice to see ARM getting some attention. Still too many places offer Linux builds in 32 and 64 bit where It's like the Blues brothers line "we have both kinds of music here, County _and_ Western"
- headmelted 10y agoGreat to see another Chromebook Coder! (There are some of us, we do exist, world) :-)
- brunoluiz 10y agoI don't have one, but I am bit curious how is a development workflow on a Chromebook. Do you know any article which shows it?
- david-given 10y agoI run Debian in a chroot on my Asus Flip via Crouton. It works brilliantly. Chrome manages the hardware, power management, networking, etc; and then I can pull up a terminal and it's a full Debian system. There is X integration, but I don't use it, so I can't comment there. If you don't want to install Crouton, it's possible to do some moderately clunky development using Chrome Developer Tool's little-known IDE feature; you can point it at a local directory and edit files there. That allows HTML/JS development directly on an unmodified Chromebook, including the integrated debugger. It's not brilliant, though. If you want to go that route your best bet is a cloud development platform (which requires a network connection, of course). I wonder if its possible to port vscode to run inside Chrome as a downloadable webapp?
- headmelted 10y agoI discussed this here this morning. There's a few roadblocks to this: https://github.com/Microsoft/vscode/issues/1031 https://github.com/Microsoft/vscode/issues/1031
- Touche 10y agoI don't understand why people run Linux on a Chromebook. The point of a Chromebook is ChromeOS. If you're running Linux it's just another Linux computer. I develop on a Chromebook some times. I use a DigitalOcean VPS, using tmux + vim to code and ChromeOS to debug.
- daurnimator 10y agoBecause i wanted a cheap ($250) semi-disposable laptop to use when travelling. Has 1080p screen; great battery life; HDMI output (to present at conferences). I use it mainly on long plane flights (3-23 hours), in hotel rooms and at conferences. Why shouldn't I buy a chromebook and put linux on it?
- pjmlp 10y agoBecause there are Linux sellers selling laptops on that price range. I got an Asus delivered with Linux for 300 €.
- daurnimator 10y agoI couldn't find any at the time; especially ones with long battery life and a 1080p screen. Also 300 euro is more than $250. Do you have links to models you'd recommend?
- pjmlp 10y agoI got the Eee 1512B with 8GB and is still able to hold about 6h working time, which is plenty of time for my plane travels. Sure it doesn't have 1080p, but most apps aren't able to use it anyway.
- nilliams 10y agoWhich Chromebook model are you using? That does sound good for $250
- 10y ago
- wastedhours 10y agoI use Caret[0] where my project is saved in an SFTP folder on a server, so it's kept off the machine in any case (and guessing you can set up some kind of deployment hook from it?). If you've not tried Caret, do give it a go, really speedy and whilst not as good as VSCode, makes development on a Chromebook (and work laptops that don't let you install 3rd party programmes, but do allow Chrome extensions ;) ) [0] https://chrome.google.com/webstore/detail/caret/fljalecfjciodhpcledpamjachpmelml?hl=en https://chrome.google.com/webstore/detail/caret/fljalecfjcio...
- godot 10y agoI do the exact same thing (Caret with SFTP folder) on my chromebook for lightweight dev (when I only have access to my chromebook at a coffee shop and only have to do some light work, not really deep stuff). Caret is passable but VSCode or even Sublime are better. My main issue though is flakey internet (which is often the case in coffee shops that are not starbucks) makes life really hard. Connections to the SFTP folder keeps dropping, etc. I've been waiting forever for a good local Git client for chromebooks but it seems like there's just no one working on it. The few that are on the chrome app store haven't been updated since 2013-14 and are full of bugs and don't actually even work. If one existed, I would be able to clone a repo locally and at least edit code in a stable way even when internet is flakey.
- zamalek 10y agoOut of curiosity, what's the performance of VSCode on ARM compared to X86?
- qeternity 10y agoWell, it's Electron...
- popey456963 10y agoI swear Electron is incredibly fast in every instance I've used it. Unless you're doing heavy computation with complex algorithms, it's really nice. I don't believe VS Code has to do any computationally expensive computations, and it enables many more people to work on a project (JavaScript being a truly universal language). I'm currently working on a Mail application and my benchmark test case is an email account with 20,000 emails to be displayed. Noting we currently have no lazy loading and all these are loaded from an on-disk database and put inside their own Shadow DOM it truly did surprise me when it took just over 400ms for an entire page load on my development laptop (~3 years old with an i5, nothing special). Even if you need to do complex algorithms, just write that particular part in C and use it in the rest of your JS code like normal.
- gant 10y agoOf course electron is fast, it builds on years of work making v8 fast. My main issue is battery life. I just need to open one electron app (Discord, Slack, Spotify even though that's CEF, but close enough) to have powertop drop from 10 hours expected battery life to 3-4.
- popey456963 10y agoI'm sorry, what's CEF? I haven't come across that acronym before.
- my123 10y ago
- DorothySim 10y agoWow, very nice! I think this comment on issues is also relevant: https://github.com/Microsoft/vscode/issues/1031#issuecomment-294782620 https://github.com/Microsoft/vscode/issues/1031#issuecomment...
- headmelted 10y agoThanks for the support :-)
- merb 10y ago> be to re-implement the Electron API's that Code uses in HTML5 Javascript with local storage, such that VS Code could run entirely as a HTML5 web application. This does not look fancy. Microsoft uses VSCode for their online Editor in Azure and VSS: - https://channel9.msdn.com/Series/Visual-Studio-Online-Monaco https://channel9.msdn.com/Series/Visual-Studio-Online-Monaco Or to say it differently, at least the Editor part is working directly inside the browser: - https://github.com/Microsoft/monaco-editor https://github.com/Microsoft/monaco-editor (P.S.: I'm not related to Microsoft, I just tumbled upon while trying to work with App Services on Azure)
- headmelted 10y agoTotally agreed, the Monaco component is already in place and pre-dates VS Code. It raises queries about what you do after the editor is running though (i.e. where does your terminal live? What about your interpreters/compilers?). It quickly gets to the point of looking at SSH to another box like Cloud9 does it, at which point you may as well just run Code there and remote to it.
- skybrian 10y agoNot really buying it. Sending each keystroke and paint update over the network isn't a great experience on slow networks; even just ssh has noticeable lag. (Mosh is designed to fix this, but it's not trusted in most places yet.) Being able to run the UI locally and using ssh to load/save edits to files seems like a better way to deal with latency.
- brunoluiz 10y agoWhile VS Code will support ARM, paid solutions such as Sublime Text aren't. This is why I love FOSS.
- swah 10y agoSublime is like 2 people. VSC is an open source project with a strong backing from Microsoft.
- headmelted 10y agoI should mention that I don't work for Microsoft. I just wanted this for a long time. Although it does speak to the benefits of FOSS in this case I guess :-)
- swah 10y agoYep, but you are building on top of stuff built by paid people, I guess.
- icemelt8 10y agoFOSS is communism
- bhouston 10y agoVS Code is subsidized by Microsoft. Sublime Text is a single guy. FOSS in this case is a big company copying a single individual and destroying their business by doing a better job than that single individual. I'm using VS Code (and I also bought Sublime) but I am a little reserved about championing FOSS here. Maybe if Sublime had gone open source it might be different, but then what would his revenue source be?
- wazanator 10y agoOne could make an argument that you could get enough via a donation subscription service like patreon and offer your backers something extra like a set of plugins or the newest build compiled for their platform.
- nergal 10y agoWow, I haven't tried vs-code until today after I read this post. I'm surprised how well it works on my mac and it is so far awesome with VIM plugin. I might actually change from my exVIM environment to this one. Btw, nice to have ARM support as well :)
- yitchelle 10y agoAlso just tried it on my Mac as well just a couple of days ago, and was pleasantly surprise. I am using it to do python and Javascript tom foolery at the moment and found its support for these two language to be quite good. There are some quirks that I need to get use to, ie when searching, I had to click on the left and right arrows to go to the next found items. Intuitively, it should be the up and down arrow, unless the found item is literally on the left or right of current position of your cursor.
- nergal 10y agoIf you are used to vim, the highest rated vim plugin works like a charm with search etc.
- hibbelig 10y agoWhat is exVIM?
- nergal 10y agoA kit of bundled plugins for vim. https://exvim.github.io https://exvim.github.io
- at-fates-hands 10y agoI actually just went back to it yesterday after dropping it six months ago in favor of JetBrains WebStorm. I was a pretty early user of VS Code and it felt really clunky. The whole tabs vs. sections thing was a fierce debate at the time I started using it and took me a while to get used to it. Looks as though they continue to integrate full Visual Studio functionality and have added in tabbed navigation, which is great. I'm going to stick with it for a while now since it feels much snappier and easy to use.
- prophesi 10y agoThanks so much for this, headmelted. I've been using your ARM builds of VS Code on my Pine64 for quite a while now; glad to see it's finally made its way to the core.
- headmelted 10y agoIt's good to know that some folks are getting use out of the builds. Hopefully the releases can be a bit more consistent once it's in the main repository (sorry about that!) :-) How do you find the performance of the Pine64? I looked at it previously and was interested in getting one, but wasn't sure of how well supported it would be with drivers etc.
- prophesi 10y agoThe performance is tolerable on the Pine64. It would run much smoother if it had better driver support on Linux. Sadly, I'd only recommend the Pine64 if you're going to run Android on it, or use it as a server/something to tinker with on Linux.
- socmag 10y agoI adore VS Code and everyone on the team that is cranking it out has my deepest respect. It really is a phenomenal piece of work and is just getting better and better. Looking forward to see how it performs with Chakra Core as the script engine one of these days.
- jmkni 10y agoNice work mate!