#1. Constant folding | Optimization in PL

Published: 18 November 2017
on channel: aNNiMON
1,670
28

Constant Folding replaces expressions that can be evaluated at compile time.
For example, `x = 2 + 3 - y` can be replaced by `x = 5 - y`

🎥 Continuation of video series about creating own programming language. From this course you'll learn about such algorithms:
constant folding;
constant propagation;
dead code elimination;
expression simplification;
instruction combining.
Source code: https://github.com/aNNiMON/Own-Progra...
See also the main course to create a programming language:    • Как создать свой язык программирования  

👉 Visit my website https://www.annimon.com/
There you will find a lot of useful articles and lessons, you can ask a question interesting you or discuss it on the forum.

✏️
VK: https://vk.com/annimon_com
Twitter:   / annimon_com  
Telegram: https://t.me/annimon_com


Watch video #1. Constant folding | Optimization in PL online without registration, duration hours minute second in high quality. This video was added by user aNNiMON 18 November 2017, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,670 once and liked it 28 people.