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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNTQ0MDksIm5iZiI6MTczOTM1NDEwOSwicGF0aCI6Ii8xMTc2MTg2My8yOTgzMTc0NDgtZWMzYTgzOTUtNzVhOC00MDZiLTk5Y2YtMjkwMmNjMGJiYzZlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDA5NTUwOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTA5Zjc3Y2M5NTJlNGNiZDJlYjRlN2NlMDUzZTNkY2VmOGM2NDI2YjJlN2Y3NDhiYzI0NGQ5MGQ4NzlhZmZlNWUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Ynfz9u2KmE5UTEZ_Il9wg-sRruoTmD_DsH6KLN3u2kU)
The official website also seems to only use http 😬
Beta Was this translation helpful? Give feedback.
All reactions