Replace the unmaintained libev with libuv #1163
theoparis
started this conversation in
Development
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It seems like libev hasn't been updated for 8 years, and there is a PR that fixes compatibility with C++17 that will never be merged officially. Additionally, libev seems to have design issues - I tried to fork it but it turns out the ev_loop struct is defined in a C file instead of a .h file and it is hard to move it to the h file without rewriting the macro system it uses.
Example of the design issues from there being no struct defined in ev.h:
![image](https://private-user-images.githubusercontent.com/11761863/298317448-ec3a8395-75a8-406b-99cf-2902cc0bbc6e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA1MzIwMTUsIm5iZiI6MTcyMDUzMTcxNSwicGF0aCI6Ii8xMTc2MTg2My8yOTgzMTc0NDgtZWMzYTgzOTUtNzVhOC00MDZiLTk5Y2YtMjkwMmNjMGJiYzZlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA5VDEzMjgzNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY4MjBjNjNhNzNiYTcwMGRlMGZmNDM4NGUwY2M0YmJhNzgwMmJlMDlkOTE4MTE2ZjY2MzhkOTE5ZWFhOTIyZTImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.H0Nt1s3l3U9AsZs0hrmdZsjH5J69aP2nhTSIC4bPcyY)
The official website also seems to only use http 😬
Beta Was this translation helpful? Give feedback.
All reactions