4 ms·
I would love it if Swift could become the next-gen C++ for cross-platform development. The Apple platforms/Linux advances are great but is it ever going to be a
by Propen 10y ago
I would love it if Swift could become the next-gen C++ for cross-platform development. The Apple platforms/Linux advances are great but is it ever going to be adopted on other platforms? I don't think Apple would care, it's mostly Lattner & the team behind pushing the language. (bless 'em :))
- proyb2 10y agoSwift is more like Java ecosystem than Rust is ideal as the next gen C++. Otherwise, Obj-C would have been popular when it tried to compete with C/C++. There was an article mentioning.
- chillacy 10y ago> compiles to native code, specific to a platform > deterministic runtime performance (no GC, no JIT) > lightweight "exceptions" Seems way more similar to C++ than java. Also Obj-C's success or failure as a C replacement (I can't imagine using it as one... it's not going to run well on embedded devices) has little to do with swift's future path besides that both languages are heavily used at apple. The key difference may be that Chris Lattner is basically a compiler superstar, and I think he could make it happen if he chose to.