TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Go for Rubyists

5 pointsby babawereover 11 years ago

2 comments

bsaulover 11 years ago
A bit of a sidenote, but i had yet another (failed) attempt at starting a real go project : I very recently wondered whether i wouldn&#x27;t implement a very simple Server Side Event service in golang. My stack is python, and i didn&#x27;t want to install yet another series of tech (gevent, gunicorn, etc..) for dealing with non-blocking services on the server side, as my server configuration already has way too many dependencies for my taste.<p>So, I thought, hey why not create a very simple binary in go. I would simply download the compiler, code 50 lines using a couple of libs, compile and deploy. Boom. done.<p>Well, as it turns out, my dev environment is Mac, and my production is running on the cloud, in an Ubuntu environment. So i realized that i would need to compile my code for every hardware target i plan to deploy my code on. That means, download the compiler from source, and use cross-platform compilation options. I know, it kind of goes with having a single binary.<p>It probably would have taken me 2 hours max to figure things out, but going back to hardware consideration really felt a bit weird and kind of tamed my enthusiasm of the moment. So, i simply postponed that project, swearing to myself I would take the time to look into it some day.
评论 #6901866 未加载
评论 #6907722 未加载
评论 #6900951 未加载
dhaivatpandyaover 11 years ago
Original writer here. Let me know if you guys have questions, etc. Was about to post this to HN, then noticed it was already here!