Bifalgorithm post · Computer science one · Arrays, Collections & Dynamic

How do programming languages implement arrays?

How do programming languages implement arrays? (Computer science one · Arrays, Collections & Dynamic) — "Some languages treat arrays as full-fledged object typ…

Ideas in this flowchart

  • Arrays can be implemented differently while supporting common usage patterns.
  • Languages vary in how they treat arrays.
  • Some languages treat arrays as full-fledged object types with methods.
  • Other languages treat arrays as primitive storage data structures.
  • Languages can differ greatly in how they implement and represent arrays of elements.
  • Many languages share the same basic array usage patterns.
  • A common pattern is creating arrays.
  • Another common pattern is manipulating or transforming array contents.
Feed/

How do programming languages implement arrays?

No cover

Channel

Computer science one

1 page

"Some languages treat arrays as full-fledged object types that not only hold elements, but have methods that can be called to manipulate or transform the contents of the array. Other languages treat arrays as a primitive type, simply using arrays as storage data structures. Languages can vary greatly in how they implement and represent arrays of elements, but many have the same basic usage patterns allowing you to create arrays and manipulate their contents."

Flowchart preview
👍
0
0 comments0 shares

Sign in to view and post comments.