top of page

WELCOME
Search


Practical use case: Hysteresis
Hysteresis is a control technique where two different thresholds are used - one for switching ON and one another for switching OFF. This prevents rapid toggling (chatter) when the input signal fluctuates around a single setpoint. Common use cases are: Temperature control (heaters, ovens) Pressure systems (compressors) Motor control with feedback signals Tank level control (pump start/stop) Why it’s needed? Analog signals often fluctuate slightly. Without hysteresis: A valu
Ivaylo Fiziev
Mar 271 min read


Optimizing expression evaluation
Expressions can be found everywhere in your code. They are used to express conditions, formulas, constants etc. Expression evaluation is one of the most important things when it comes to implementing a programming language. Effective expression evaluation improves performance while it guarantees the correctness and the consistency of the results. Now how do you achieve that? It depends on the type of the interpreter you are building. With an AST interpreter, like the one we
Ivaylo Fiziev
Mar 243 min read
CONTACT

bottom of page