remove *const
port to the new for loop syntax
port to the new C string handling
int::abs -> abs method
port to the new Drop trait signature
fix some mutability issues
add `#[fixed_stack_segment]` as-needed
fix lint warnings