python

Peephole: CPython์€ ์–ด๋–ป๊ฒŒ ์ฝ”๋“œ๋ฅผ ์ตœ์ ํ™”ํ•˜๋Š”๊ฐ€

๋งŽ์€ ์Šคํฌ๋ฆฝํŠธ ์–ธ์–ด๋Š” "์‹คํ–‰ ์„ฑ๋Šฅ(์†๋„)"์ด ์ข‹์ง€ ์•Š๋‹ค๋Š” ํฐ ๋‹จ์ ์„ ์ง€๋‹ˆ๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ์ด๋ฅผ ํ•ด๊ฒฐํ•˜๊ธฐ ์œ„ํ•ด JIT ๋Ÿฐํƒ€์ž„์„ ๋ถ™์ด๊ฑฐ๋‚˜ ๊ฐœ๋ฐœ์ž ์Šค์Šค๋กœ ์ฝ”๋“œ๋ฅผ ์ตœ์ ํ™”ํ•˜๊ธฐ๋„

[๋ฒˆ์—ญ] ๋„ค Python์€ ๋Š๋ฆฝ๋‹ˆ๋‹ค, ํ•˜์ง€๋งŒ ์ €๋Š” ์‹ ๊ฒฝ์“ฐ์ง€ ์•Š์Šต๋‹ˆ๋‹ค

๋„ค Python์€ ๋Š๋ฆฝ๋‹ˆ๋‹ค, ํ•˜์ง€๋งŒ ์ €๋Š” ์‹ ๊ฒฝ์“ฐ์ง€ ์•Š์Šต๋‹ˆ๋‹ค ๋ถ€์ œ: ์ƒ์‚ฐ์„ฑ์„ ์œ„ํ•œ ์„ฑ๋Šฅ ํฌ์ƒ์— ๋Œ€ํ•œ ๋ถˆํ‰ ์ด ๊ธ€์€ Yes, Python is Slow, and I Don't

Python์˜ metaclasses(๋ฉ”ํƒ€ํด๋ž˜์Šค) ์ดํ•ดํ•˜๊ธฐ

์ด ๊ธ€์€ ๋ฉ”ํƒ€ํด๋ž˜์Šค์— ๋Œ€ํ•ด ๊ฐ€์žฅ ์ž˜ ์„ค๋ช…๋˜์–ด์žˆ๋‹ค๊ณ  ์ƒ๊ฐ๋˜๋Š” Stackoverflow ๋‹ต๋ณ€ [http://stackoverflow.com/a/6581949]์„ ๋ฒˆ์—ญํ•œ ๋ฌธ์„œ์ž…๋‹ˆ๋‹ค. ํด๋ž˜์Šค๋ฅผ ๊ฐ์ฒด๋กœ ๋ฉ”ํƒ€ํด๋ž˜์Šค๋ฅผ ์ดํ•ดํ•˜๊ธฐ ์ „์— Python์˜ ํด๋ž˜์Šค์—

์œ„๋Œ€ํ•œ Python์˜ Function ์•Œ์•„๋ณด๊ธฐ

์ด ๊ธ€์˜ ์›์ œ๋Š” Pythonโ€™s Functions Are First-Class [https://dbader.org/blog/python-first-class-functions]์ž…๋‹ˆ๋‹ค. ์ตœ๋Œ€ํ•œ ์ฝ๊ธฐ ์‰ฝ๊ฒŒ ํ’€์–ด์“ฐ๋ ค ๋…ธ๋ ฅํ–ˆ์œผ๋ฉฐ, ์ด ๊ธ€์˜ ๋Œ€์ƒ ๋…์ž๋Š” Python ์ž…๋ฌธ์ž

Episode

00:00:00 00:00:00