3 ms·
But Go can’t be used for all low level programming. Of course a GCed language is easier to read, it’s simpler at the cost of performance. Rust complexity is m
by 3a2d29 4y ago
But Go can’t be used for all low level programming. Of course a GCed language is easier to read, it’s simpler at the cost of performance.
Rust complexity is more of a debate about low level programming below Go. Where only C/C++ and Rust exist. Can there be a simpler language in that space?
- AnimalMuppet 4y ago> Can there be a simpler language in that space? Maybe not. The problem is that you have to have a language powerful enough to do all the things, even the things that haven't been thought of yet. That means, basically, that you have to be able to manipulate raw memory. You can't depend on a library or a language built-in, because you have to be able to write the library, and do things for which the builtin doesn't exist yet. And then you have the problem of not blowing yourself up with that power. That comes with 1) all the danger of C, 2) all the complexity of C++, or 3) all the difficulty of the borrow checker in Rust. If a fourth language appears with the necessary power, it's going to have equivalent drawbacks.
- int_19h 4y agoThere are far more languages in that space than just C and Rust. Zig is one of the more recent examples, but e.g. Ada is also around, as is Delphi and many others.
- pjmlp 4y agoOf course it can, there are companies shipping products written in bare metal Go. https://www.withsecure.com/en/solutions/innovative-security-hardware/usb-armory https://www.withsecure.com/en/solutions/innovative-security-... https://github.com/usbarmory/tamago https://github.com/usbarmory/tamago