Показать сообщение отдельно
Старый 01.03.2019, 23:41   #6  
ax_mct is offline
ax_mct
Banned
 
2,548 / 1091 (0) ++++++++
Регистрация: 10.10.2005
Адрес: Westlands
Цитата:
Сообщение от wojzeh Посмотреть сообщение
вот норм чувачок объясняет за скоростя https://daxmusings.codecrib.com/2011...fast-lane.html
Не задумывался об этом. Интересный нюанс. Если стэк вызовов (execution path) начинается на клиенте то это не CIL.

Цитата:
In Dynamics AX 2012, X++ can actually run in the .NET CLR. What I've often heard is "X++ running on the server runs in IL". Well, that is somewhat true. But it doesn't mean setting your classes or menu items to "RunOn Server" makes them run in IL.

So what runs in the CLR "automatically"? Well, any execution path that starts on the server definitely does.
...
So does that mean code started from the AX client never runs as IL, even when it's set to run on the server tier? Well, not automagically.