Re:Why did we choose Rust to develop TiKV?
by pjc50 on Wednesday September 27, 2017 @09:24AM
(#15347537)
Interesting stuff. Boost do seem to be aiming for complete wrapper coverage.
Re:Why did we choose Rust to develop TiKV?
by jcelerier on Wednesday September 27, 2017 @10:29AM
(#15348096)
> Boost do seem to be aiming for complete wrapper coverage.
I don't think "boost" is aiming at anything. If you have a good idea of a library (and a good implementation!) you can submit it to boost. It's more a big repository of libraries with a somewhat consistent coding style.
The problem is not developing "legacy" apps, it's comparing the development and maintenance of "legacy" apps with apps that just get started being written today, for which the bare minimum is being cross-platform.
> Are there wrappers for things like dlopen()? posix_madvise?
Actually, yes, in a cross-platform way:
* http://www.boost.org/doc/libs/1_65_1/doc/html/boost_dll.html (does dlopen, dlclose, and so much more)
* http://www.boost.org/doc/libs/1_65_1/doc/html/boost/interpro... (advise() == posix_madvise if available)
> Filesystem ACLs ?
none that I know of :( though MS has a fairly decent "modern C++" API that covers WinRT: https://github.com/Microsoft/cppwinrt but I don't think ACLs are even available in WinRT
> COM
oh, yes: https://www.codeproject.com/Articles/5748/Introducing-Comet