corosio produces much bigger binaries than asio #367
pfeatherstone
started this conversation in
General
Replies: 5 comments 1 reply
|
Could you open the "discussions" tab on the corosio project? |
0 replies
|
when i compile with clang18 i get:
|
0 replies
|
so i'm not convinced of the promise of "smaller binaries" due to less template bloat. |
0 replies
|
What could be the reason for this? |
1 reply
|
In that simple corosio echo server, it's building ALL of corosio, including UDP, DNS resolution, thread pools, absolutely everything, and the linker can't get rid of it. ChatGPT is saying that corosio's So it's bringing in a lot of logic. Asio's |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm comparing a simple echo server written in corosio and asio. I'm using the example echo server on the corosio webpage. I've attached the code. On my machine, compiling with gcc 14.2.0 i get the following binary sizes:
CMakeLists.txt
main_asio.cpp
main_corosio.cpp
All reactions