How Much Memory Do You Need in 2024 to Run 1 Milli | GeekNews

Rust, C#, Python, Go, Java, NodeJS ๋“ฑ์˜ ์ตœ์‹  ๋ฒ„์ „์œผ๋กœ 100๋งŒ ๊ฐœ์˜ ๋™์‹œ ์ž‘์—…์„ ์ฒ˜๋ฆฌํ•˜๋Š” ํ”„๋กœ๊ทธ๋žจ์„ ์‹คํ–‰ํ•˜์—ฌ ๋ฉ”๋ชจ๋ฆฌ ํšจ์œจ์„ฑ์„ ๋น„๊ตํ–ˆ์Šต๋‹ˆ๋‹ค.

C# (NativeAOT)์™€ Rust๊ฐ€ ๊ฐ€์žฅ ์šฐ์ˆ˜ํ•œ ๋ฉ”๋ชจ๋ฆฌ ํšจ์œจ์„ ๋ณด์˜€์œผ๋ฉฐ, Go๋Š” ๊ธฐ๋Œ€๋ณด๋‹ค ๋†’์€ ๋ฉ”๋ชจ๋ฆฌ ์†Œ๋น„๋กœ ๋‚ฎ์€ ํ‰๊ฐ€๋ฅผ ๋ฐ›์•˜์Šต๋‹ˆ๋‹ค. ์ „์ฒด์ ์œผ๋กœ .NET๊ณผ Rust์˜ ์„ฑ๋Šฅ์ด ๋‹๋ณด์˜€๊ณ , Java (GraalVM)๊ฐ€ ๋†€๋ผ์šด ๊ฐœ์„ ์„ ๋ณด์˜€์Šต๋‹ˆ๋‹ค.

๊ตฌ์ฒด์ ์œผ๋กœ Rust๋Š” ์•ฝ 29MB๋กœ ๊ฐ€์žฅ ์ ์€ ๋ฉ”๋ชจ๋ฆฌ๋ฅผ ์‚ฌ์šฉํ–ˆ์œผ๋ฉฐ, C# NativeAOT๋Š” ์•ฝ 71MB๋กœ ๋’ค๋ฅผ ์ด์—ˆ์Šต๋‹ˆ๋‹ค. NodeJS๋Š” 232MB, Python์€ 339MB๋ฅผ ๊ธฐ๋กํ–ˆ์Šต๋‹ˆ๋‹ค. Go๋Š” 753MB๋กœ ์ƒ๋Œ€์ ์œผ๋กœ ๋†’์€ ๋ฉ”๋ชจ๋ฆฌ ์‚ฌ์šฉ๋Ÿ‰์„ ๋ณด์—ฌ ์•„์‰ฌ์šด ๊ฒฐ๊ณผ๋ฅผ ๋‚˜ํƒ€๋ƒˆ์Šต๋‹ˆ๋‹ค. Java(GraalVM)๋Š” 92MB๋กœ ํฐ ๊ฐœ์„ ์„ ๋ณด์˜€์Šต๋‹ˆ๋‹ค.

6 Likes