Comment on Libvirt: Adoption of GLib library to replace GNULIB and home grown codeparentComments−lrossi5yThat’s exactly what I am thinking as well.Using C++ in moderation, without getting too crazy with classes, multiple inheritance, lambdas and other such things, works very well if you want to port a legacy C code base.For a new project, there are many choices: rust, go etc.−pjmlp5yThat is mostly how I use C++ nowadays, for writing native libraries to be called from Java/.NET, or GPGPU stuff.
Comments
That’s exactly what I am thinking as well.
Using C++ in moderation, without getting too crazy with classes, multiple inheritance, lambdas and other such things, works very well if you want to port a legacy C code base.
For a new project, there are many choices: rust, go etc.
That is mostly how I use C++ nowadays, for writing native libraries to be called from Java/.NET, or GPGPU stuff.