fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.
Fuzion
•
Idioms
•
Idiom # 88: Allocate 1M bytes
Idiom # 88: Allocate 1M bytes
See
programming-idioms.org
:
Code
buf := array u8 1_000_000 i->0
What are effects?
Running Example
ex88 is size := 1_000 # NYI: since interpreter is slow, not using 1_000_000 here buf := array u8 size i->0
What are effects?
last changed: 2024-07-01
next: Idiom # 89: Handle invalid argument