← Back to context Comment by Muromec 1 year ago >but the compiler needs to do memory-unsafe thingssorry, but why? 3 comments Muromec Reply mrkeen 1 year ago I am also skeptical.A compiler is a function from source code strings to binary bytes. Writing out instructions to do memory-unsafe things is not in itself a memory-unsafe activity. isaacvando 1 year ago I believe the main reason is for achieving the best possible performance. Someone closer to the compiler could give more detail. vitiral 1 year ago It's not just the lang but the std lib toohttps://www.roc-lang.org/faq#rust-and-zig
mrkeen 1 year ago I am also skeptical.A compiler is a function from source code strings to binary bytes. Writing out instructions to do memory-unsafe things is not in itself a memory-unsafe activity.
isaacvando 1 year ago I believe the main reason is for achieving the best possible performance. Someone closer to the compiler could give more detail.
vitiral 1 year ago It's not just the lang but the std lib toohttps://www.roc-lang.org/faq#rust-and-zig
I am also skeptical.
A compiler is a function from source code strings to binary bytes. Writing out instructions to do memory-unsafe things is not in itself a memory-unsafe activity.
I believe the main reason is for achieving the best possible performance. Someone closer to the compiler could give more detail.
It's not just the lang but the std lib too
https://www.roc-lang.org/faq#rust-and-zig