3 ms·
This is similar to saying that no one would migrate to TypeScript because there are so many existing JavaScript codebases. The success of TypeScript and Kotlin
by nindalf 4y ago
This is similar to saying that no one would migrate to TypeScript because there are so many existing JavaScript codebases. The success of TypeScript and Kotlin suggest that one of the languages that hope to interoperate with C++ like Carbon could become more popular over time.
- gpderetta 4y agoI suspect that the average liftime of a typical c++ and js codebase differ by one or two orders of magnitude.
- nindalf 4y agoYou’re assuming the codebase would need to be rewritten. It’s always possible that there might be a gradual transition within the same codebase. New features could be implemented in the new language while keeping everything else the same.
- int_19h 4y agoI have experience with that kind of thing (https://news.ycombinator.com/item?id=34216117 https://news.ycombinator.com/item?id=34216117). For a sufficiently large codebase, you won't get there gradually even in two decades.
- int_19h 4y agoTypeScript is a strict superset of JavaScript, so that one was more of a C/C++ situation (which was a big reason for C++ success to begin with). OTOH Kotlin, while popular, is still tiny compared to Java. Except for Android, which is a bit of a special case because mobile platforms generally have smaller codebases and shorter app lifecycle due to forced API breakage by the platform.