Rust는 C보다 빠를까?
------------------------------
- *러스트와 C의 성능 비교* 는 “모든 조건이 동일하다”는 전제의 정의에 따라 달라지는 복잡한 문제임
- *인라인 어셈블리* 의 경우 두 언어 모두 동일한 어셈블리 코드를 생성할 수 있어, 언어 자체의 속도 차이는 없음
- *구조체 메모리 배치* 에서는 러스트가 필드 재정렬을 통해 더 작은 크기를 가질 수 있…
------------------------------
https://news.hada.io/topic?id=25829&utm_source=googlechat&utm_medium=bot&utm_campaign=1834
If you have a fediverse account, you can quote this note from your own instance. Search https://sns.lemondouble.com/notes/ahif8gc5k5 on your instance and quote it. (Note that quoting is not supported in Mastodon.)