Stream: cranelift

Topic: Making Cranelift smaller


view this post on Zulip Veverak (Nov 23 2021 at 05:04):

Adding Cranelift to a program seems to increase its size by about 2 MB and incremental compilation time by about 6 seconds, compiling for x64 with the default features, which seem to enable only the x64 codegen. This is tolerable for some applications considering that Cranelift is doing such an important job, but is far from ideal. Does anyone have an idea what's making Cranelift so big and how it could be made smaller? I would like to make contributions to make Cranelift smaller and reduce its compilation time, if someone could point out where to get started.


Last updated: Dec 23 2024 at 12:05 UTC