|
|
|
|
|
by tobias12345
970 days ago
|
|
Which option? To write wrappers now instead of later? I just see no way to be able to use current C++ code in a profiles world without wrappers or even a rewrite. For some code with decent semantics, a modern enough code base and clean APIs that wrapper might be just slapping a "compatible with profile FooBar" somewhere. On the other hand those are the APIs that are the easiest to wrap for other languages, too. > As an example, while Microsoft slowly adopts Rust, it keeps putting out best practices and improved tooling, they aren't going to rewrite the whole Windows, XBox and Azure C++ code into Rust for the next couple of decades, or how long they would still matter on the market place. So they are making the jump away from C++ now, wrapping their existing code to reuse it from safer languages. Smart :-) |
|