3 ms·
Beyond that, this article is just a little bit absurd. Say what you will about Rust but it's a functional and gradually maturing ecosystem powering more and mor
by katmannthree 4y ago
Beyond that, this article is just a little bit absurd. Say what you will about Rust but it's a functional and gradually maturing ecosystem powering more and more things as time goes by. Given that it's sorta-kinda intended to build the kind of things C++ does, the idea that it'll eventually overtake C++ is at least plausible. In comparison this article claims that
1) A cool research language packaged into a VS Code plugin
2) A cool research compiler for Python + numpy
3) A cool generic ISA project
will kill C++? Maybe for the author's _very_ specific use case of blindly copying things from SymPy, but really I think you'd have better odds betting on a D resurgence.
- Joker_vD 4y ago> 3) A cool generic ISA project I wish we had an ISA with non-linear, two-level memory space, so you can have non-overlapping arrays for free (well, as free as virtual memory required to support that would be free): that would mean that e.g. realloc() will never have to call memmove(), range checks are inescapable since they're baked into hardware, etc. But implementing (and using) C on such an ISA will be deeply unpleasant, so it will just die because if something doesn't run C efficiently... it won't be used.
- j16sdiz 4y agoYou still need something to identify which memory space the array is from. Unless you are talking about some form of hardware copy-on-write, this is no better than what we have today