Re: [go-nuts] Does Golang need the innovation of C++ move semantics too

2018-05-26 Thread Hugh Fisher
On Sunday, May 27, 2018 at 1:22:58 AM UTC+10, Li Jianhua wrote: > > > > Will C++ do move more often and do copy less often with its specific move > semantics. C++ will do move whenever possible, right? > Perhaps. It's difficult to tell, because C++ is a horribly complicated language. Will C++

Re: [go-nuts] Does Golang need the innovation of C++ move semantics too

2018-05-26 Thread T L
On Saturday, May 26, 2018 at 11:22:58 AM UTC-4, Li Jianhua wrote: > > > From: Ian Lance Taylor > > Sent: Saturday, May 26, 2018 2:56 PM > Subject: Re: [go-nuts] Does Golang need the innovation of C++ move > semantics too > To: Li Jianhua > > Cc: > > >

Re: [go-nuts] Does Golang need the innovation of C++ move semantics too

2018-05-26 Thread T L
On Saturday, May 26, 2018 at 11:22:58 AM UTC-4, Li Jianhua wrote: > > > From: Ian Lance Taylor > > Sent: Saturday, May 26, 2018 2:56 PM > Subject: Re: [go-nuts] Does Golang need the innovation of C++ move > semantics too > To: Li Jianhua > > Cc: > > >

Re: [go-nuts] Does Golang need the innovation of C++ move semantics too

2018-05-26 Thread Li Jianhua
From: Ian Lance Taylor Sent: Saturday, May 26, 2018 2:56 PM Subject: Re: [go-nuts] Does Golang need the innovation of C++ move semantics too To: Li Jianhua Cc: On Fri, May 25, 2018 at 8:15 PM, Li Jianhua wrote: > > Why does C++ introduce move semantics anyway? What problems is it go

Re: [go-nuts] Does Golang need the innovation of C++ move semantics too

2018-05-26 Thread Matthias B.
On Sat, 26 May 2018 03:15:45 + Li Jianhua wrote: > 1. Why does C++ introduce move semantics anyway? What problems is > it going to solve? 2. How come Golang, C (Without ++) don’t have > that move semantics yet? Will they need the move soon? > C++ is a language used among other things fo

Re: [go-nuts] Does Golang need the innovation of C++ move semantics too

2018-05-25 Thread Ian Lance Taylor
On Fri, May 25, 2018 at 8:15 PM, Li Jianhua wrote: > > Why does C++ introduce move semantics anyway? What problems is it going to > solve? > How come Golang, C (Without ++) don’t have that move semantics yet? Will > they need the move soon? Move semantics in C++ permit classes that are expensive

[go-nuts] Does Golang need the innovation of C++ move semantics too

2018-05-25 Thread Li Jianhua
1. Why does C++ introduce move semantics anyway? What problems is it going to solve? 2. How come Golang, C (Without ++) don’t have that move semantics yet? Will they need the move soon? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group.