JavaScript

Playing with In-Memory Data Structure of JavaScript: Introduction to UTF, Typed Arrays and Blob

JavaScript is not a low-level programming language and it offers very little to interact with the host machine. But the latest version of JavaScript and the Web APIs give us the ability to play with raw-binary data at runtime. In this article, we will learn about Text Encoding, Endianness, Typed Arrays, and Blog.

Uday Hiwarale
JsPoint
Published in
23 min readOct 21, 2019

--

I am not a computer science student and never was. Hence some of the low-level stuff still confuses me but I will try my best to explain some of the key concepts about memory.

(source: unsplash.com)

Memory Representation

In a typical computer, we have two kinds of memory storage. A ROM (read-only memory) represents persistent data storage like a hard drive or flash drive that stores the information permanently until we desire to delete it.

In contrast, RAM (random-access memory) is a volatile memory which is used by a program to store some data while that program is running. Since RAM will be accessed by a program to store, access and manipulate data at a…

--

--