View Single Post
  #4   Spotlight this post!  
Unread 23-01-2015, 17:27
Greg McKaskle Greg McKaskle is online now
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Using shared variables instead of global variables

The big difference is that global variables are scoped to your application, specifically the target context within your application. Shared variables are shared between computers, between processes, and that brings a decent amount of overhead with it. I know teams who successfully use them, but we don't use them for the default framework because global variables are all most teams need.

Greg McKaskle
Reply With Quote