JamesMunns[m]: > <@jamesmunns:beeper.com> playground is on the struggle bus, but: > > ```rust > const EXAMPLE: &str = "hello, noah!"; > const EX_ARR: [u8; 128] = arrayify(EXAMPLE); > > const fn arrayify(msg: &'static str) -> [u8; N] { > let mut arr = [0u8; N]; > let mut idx = 0; > let msg_bytes = msg.as_bytes(); > > while (idx < msg_bytes.len()) && (idx < N) { > arr[idx] = msg_bytes[idx]; > idx += 1; > } > > arr > } > > fn main() { > println!("{:?}", EX_ARR); > } > > ``` wow, amazing!!! I did not know that stuff was possible now! omg, I am really stuck in stagnation hell ... need to quit my job and just do a year of rust adventures :D