@tmikov
Tzvetan Mikov
3 months
For the record, that was a joke. JavaScript does not have arrays.
2
1
40

Replies

@tmikov
Tzvetan Mikov
3 months
I just proved that my laptop has 32TB of RAM!!! You can try this for yourself, by running the following experiment in your favorite JS engine.
Tweet media one
8
0
109
@infinite_nil
João Alberto
3 months
@tmikov Js not having arrays is the joke
1
0
5
@tmikov
Tzvetan Mikov
3 months
0
0
1
@still_runspired
Chris Thoburn
3 months
@tmikov If I recall correctly, UInt32Array will actually allocate
1
0
4
@tmikov
Tzvetan Mikov
3 months
@still_runspired True, that's a typed array. That's actually where overcommit really comes into play, lazily allocating zeroed memory.
0
0
2