Go development from an Android device?

agolangf · · 561 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>Learned about this project (<a href="https://www.sentio.com/" rel="nofollow">https://www.sentio.com/</a>) earlier today and after spending the weekend working with some friends on a side project where we all lugged desktops back and forth, this seems like a great solution to being able to have a mobile machine that could be good enough without having to drop money on a laptop. Curious what options exist.</p> <hr/>**评论:**<br/><br/>adabars: <pre><p>We&#39;ll, you have this if you&#39;re on Android: <a href="https://play.google.com/store/apps/details?id=com.termux" rel="nofollow">https://play.google.com/store/apps/details?id=com.termux</a> Go is in the repo, as well as clang/gcc, and I even have rust (for ripgrep) installed on my little phone.</p> <p>Which does have sshd. So if you can live with emacs or (neo)vim + vim-go, and have a dumb terminal somewhere - that works. Price is also right (free)!</p> <p>You can even just use the phone. Would strongly suggest using an editor config that remaps ESC, though - or use a non-stock keyboard on Android.</p> <p>Downside is I have some hiccups on my Oreo device - the Termux API module is currently broken - but you don&#39;t need that for coding.</p></pre>ChristophBerger: <pre><p>I installed Go and VSCode on a cheap (99€) Windows 10 tablet PC with Atom processor. Although everything is pretty slow, it works. </p> <p>Downside: Windows takes most of the RAM for itself. I plan to try installing Linux when I have some time left.</p></pre>shark1337: <pre><p>Try with Raspbian ;)</p></pre>ChristophBerger: <pre><p>Does VSCode run on ARM? (If &#34;run&#34; is the right verb to use in this case.)</p></pre>shark1337: <pre><p>VSCode run on the browser since it&#39;s build using electron so I doubt it that the architecture would be the problem. I&#39;ve made some quick search and there&#39;s people successfully using it, but an code editor should not stop you from installing an os that will make you&#39;re coding experience better ;)</p></pre>ScuzzerMKIV: <pre><p>As <a href="/u/adabars" rel="nofollow">u/adabars</a> said, the Termux app has Go repos you can install. It&#39;s a pretty awesome Linux client on its own too!</p> <p>A couple days ago, I had a chance to try my hand at a simple chat client and I was pretty surprised that I could expose localhost:8080. At least I could access it via the different web-browsers in my device. I didn&#39;t test if it could be accessed from other devices in the same network though.</p> <p>I&#39;m using a Phab 2 Pro which is stuck in Marshmallow which might be why I&#39;m not seeing the hiccups <a href="/u/adabars" rel="nofollow">u/adabars</a> is seeing. Or maybe I haven&#39;t been pushing it yet. </p> <p>For writing your code, I would suggest Hacker&#39;s keyboard. An even better solution would be a bluetooth keyboard. I&#39;m using a logitech bluetooth keyboard that has a slot for your device.</p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

561 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传