Where do strings 'exist' ?

  • Thread starter S = k log w
  • Start date
  • Tags
    Strings
In summary, strings exist in a computer's memory, specifically in the Random Access Memory (RAM) or hard drive. They can exist in multiple places in a computer's memory when copied or referenced in different parts of a program. Strings do not exist physically, as they are an abstract data type used to represent text or characters in a computer program. They can exist in any language as long as it can be represented by a sequence of characters. In programming languages, strings exist as a data type and can be declared as variables and stored in memory like any other data type.
  • #1
S = k log w
66
0
Pardon me. I claim ignorance. Where do strings 'exist'? Either? 'String Space'? If so, is there space between on string and the next? What, if anything 'fills' the 'void'(s)? How can strings be fundamental if they have to lay in (some) dimension(s)? Do strings define themselves? If not, what defines strings?
 
Physics news on Phys.org
  • #2
In perturbative string theory, strings exist in ordinary space, just like particles. Some people would like to derive space from string theory, in a non-perturbative, background-independent way, but it is not yet clear how this can be done.
 
  • #3


Strings, in the context of computer programming, exist within the memory of a computer. They are a sequence of characters stored in a specific location within the computer's memory. This location is often referred to as the "string space", and it is where the computer stores and manipulates strings.

There is technically no physical space between strings, as they are simply a series of characters stored in memory. However, in a visual representation of strings, there may appear to be space between them.

As for what fills the void between strings, it is simply empty memory space. This space is not filled with any physical matter, but rather it is utilized for storing and organizing data.

Strings can be considered fundamental in the sense that they are a basic data type in computer programming. They are essential for storing and manipulating text-based data. However, they do not exist in a physical dimension. They are simply a concept and tool used in computer programming.

Strings do not define themselves. They are defined by the programmer who creates them and assigns values to them. In this sense, the programmer is the one who defines strings and their purpose within a program.
 

1. Where do strings exist in a computer?

Strings exist in a computer's memory, specifically in the Random Access Memory (RAM) or hard drive. They are stored as a sequence of binary digits, also known as bits.

2. Can strings exist in multiple places?

Yes, strings can exist in multiple places in a computer's memory. This can happen when a string is copied or referenced in different parts of a program.

3. Do strings exist physically?

No, strings do not exist physically. They are an abstract data type used to represent text or characters in a computer program.

4. Can strings exist in other languages besides English?

Yes, strings can exist in any language as long as it can be represented by a sequence of characters. Different languages may have different character encoding schemes, but strings can exist in any language.

5. Where do strings exist in a programming language?

Strings exist as a data type in most programming languages and can be used to store and manipulate text or characters. They can be declared as variables and stored in memory like any other data type.

Similar threads

  • Beyond the Standard Models
Replies
31
Views
2K
Replies
47
Views
4K
  • Beyond the Standard Models
Replies
0
Views
897
  • Beyond the Standard Models
Replies
5
Views
1K
  • Beyond the Standard Models
Replies
4
Views
1K
  • Beyond the Standard Models
Replies
9
Views
2K
  • Beyond the Standard Models
Replies
32
Views
4K
  • Beyond the Standard Models
Replies
1
Views
2K
  • Beyond the Standard Models
Replies
5
Views
2K
  • Beyond the Standard Models
Replies
3
Views
2K
Back
Top