Live data from Hacker News

Portable Cloud Programming with Go Cloud

blog.golang.org

151–158 of 158 posts

Re: Portable Cloud Programming with Go Cloud

#151

Earlier quoted context omitted.

Why the MySQL support? Seems pretty weird to include support for an Oracle offering from the get-go, especially given the bad blood between Google and Oracle.

It's more important to us to address what developers want and many developers are using MySQL even on clouds.

Was there consideration for going with (say) MariaDB instead?

Re: Portable Cloud Programming with Go Cloud

#152
post #78

Earlier quoted context omitted.

> but I'm sure that takes much longer? Your people can pick up go reflect package or go routines/channels and co in 1-2 weeks and start contributing? impressive... most people can pick up for loops, if,switch statements, variable and function declaration in a week in any language as well... In fact, a lot of non programmers use JS regularly to write scripts in the browser. I imagine your people know how to program be…

> So what do you think takes longer to learn? mastering go threading model or being able to add interactivity to the DOM? For me, the go threading model is easier. I just can't stand DOM and web programming in general. Currently working on a problem doing some computation across dozens of cores on multiple servers and go makes it a lot easier to spawn the 1000 goroutines and coordinate between them. I guess everyone…

> For me, the go threading model is easier. I just can't stand DOM and web programming in general.

Because you didn't take the time to learn the DOM, that's all. I doubt learning a simple composite API made of dumb nodes is more difficult than writing thread safe programs in Go. I'm not talking about tastes or interests, I'm talking about ease of learning.

Go isn't 'easy to pick up'. For loops, if statements and co are basic, and they are in all languages, that's my point. There is nothing particularly easy with Go.

Re: Portable Cloud Programming with Go Cloud

#153

Earlier quoted context omitted.

> but I'm sure that takes much longer? Your people can pick up go reflect package or go routines/channels and co in 1-2 weeks and start contributing? impressive... most people can pick up for loops, if,switch statements, variable and function declaration in a week in any language as well... In fact, a lot of non programmers use JS regularly to write scripts in the browser. I imagine your people know how to program be…

go reflect is not commonly used, goroutines are pretty simple to pick up. I have used several large codebases with zero use of reflection. The point of go is it restricts you to 25 keywords (the basics that you sneer at above) so senior people can't get fancy and produce an impenetrable mess/marvel that beginners will take months to orient themselves in. It is definitely easier to write well than js IMO, and harder t…

[deleted]

Re: Portable Cloud Programming with Go Cloud

#155
post #6

Earlier quoted context omitted.

Our company uses Go. Most people who join have no experience in Go yet usually they can get comfortable with the language in 1-2 weeks to start contributing. I know nothing about Node/JS but I'm sure that takes much longer?

Most people who join have no experience in Go yet usually they can get comfortable with the language in 1-2 weeks to start contributing. A lot of what makes anything hard to learn are the non-obvious gotchas. The design philosophy of golang is aimed at avoiding the non-obvious gotchas and the creep-up-on-you-at-scale gotchas.

[deleted]

Re: Portable Cloud Programming with Go Cloud

#156

Earlier quoted context omitted.

Concurrency is hard and channels make it somewhat easier. Agreed. That's not relevant to the fact that the use of channels in Go is full of gotchas.

I think his point was that concurrency is riddled with gotchas regardless, and channels reduce them, but not remove them.

People completely misread my comment about doing concurrency with only synchronous code. Basically, channels let you do concurrency with only synchronous code as in Node JS, but without using callbacks.

Re: Portable Cloud Programming with Go Cloud

#157

Earlier quoted context omitted.

It's more important to us to address what developers want and many developers are using MySQL even on clouds.

Was there consideration for going with (say) MariaDB instead?

I haven't looked in detail, but aren't they compatible? Wouldn't it work with mariadb as well?

Re: Portable Cloud Programming with Go Cloud

#158
post #27

Hey ho. I worked on this project. The majority of the team is in SF for Google Cloud Next to present this. I'm about to hop into the car to head up myself to watch, so I can do a little AMA throughout the day. Reply to this to make sure I see your question! Here's a question I've already seen: > Is this a Google project or a Go project? It is a project led by the Go team, and we are very aware of our responsibility t…

Is there a session or talk on this at Cloud Next?

https://youtu.be/_2ZwhvIkgek
Post reply on HN