Hi. CPUs are highly HIGHLY optimized to do what they usually do at least as quickly [and, for the most part, much more quickly] than one can do by cobbling it together another way. If you are asking “How can Julia outperform C++ in some cases?”, see this thread.