4 ms·
Manipulating a string can be a complex operation in terms of memory and CPU instruction. For systems programming you don't want to hide that complexity. e.g in
by jackhalford 7y ago
Manipulating a string can be a complex operation in terms of memory and CPU instruction.
For systems programming you don't want to hide that complexity.
e.g in Rust you `a+b` two strings, it is a trivial rust line but it won't compile down to trivial assembly.
There's a case to be made for languages that closely map the way processors works, like C.
- SAI_Peregrinus 7y agoThough C doesn't closely map to the way processors work. It closely maps to the way the PDP11 worked, but for modern processors it's pretty far. It doesn't expose any of the ideas of caching, for example.