Open anlexN opened 4 years ago
I think it's written in plain C for maximum portability. Node.js is also not the only consumer to consider.
i think portability is not so important. c++ also have very large portability, and microsoft widely support c++, not c.
100% sure that microsoft only support some standard C, so C is not more portability than C++. so i think libuv can be rewritten by C++ so that libuv source code can be more wonderful and let me read less code.
100% sure that microsoft only support some standard C, so C is not more portability than C++. so i think libuv can be rewritten by C++ so that libuv source code can be more wonderful and let me read less code.
I do not think so, not everyone likes C++, at least l am not. And the source code of libuv is great, it is one of the best learning projects of C language. If you're right, I think that maybe all of the C projects need to be refactored to C++ :)
If you're looking for a C++ libuv binding take a look at https://github.com/skypjack/uvw