In absolute numbers, the additional tax reaches up to 12,000 CHF per year.
(recur (cpp/++ i))))]There's more work to be done to automatically use unboxed values and use native operators, when possible. For now it's opt-in only.Unsafe castingjank had the equivalent of C++'s static_cast, in the form of cpp/cast. However, for some C/C++ APIs, unsafe casting is necessary. To accomplish this, jank now has cpp/unsafe-cast, which does the equivalent of a C-style cast.(let [vga-memory (cpp/unsafe-cast (:* uint16_t) #cpp 0xB8000)],这一点在新收录的资料中也有详细论述
pixel[2] = pixel[2] 0.04045f ? powf((pixel[2] + 0.055f) / 1.055f, 2.4f) : pixel[2] / 12.92f;。关于这个话题,新收录的资料提供了深入分析
Виктория Кондратьева (Редактор отдела «Мир»)