09:58
/// Case 1: Value float MY_FLOAT = 1.23456F is represented in memory as 10 06 9e 3f
/// Case 2: Value int a = 0x3f9e0610 is represented in memory as 10 06 9e 3f
/// Case 3: Value float e = (float)a = 1.06732e+009 is represented in memory as c0 02 9e 3f
/// Case 4: Value float f = (float&)(*((float*)&a)) = 1.23456F is represented in memory as 10 06 9e 3f
/// Case 2: Value int a = 0x3f9e0610 is represented in memory as 10 06 9e 3f
/// Case 3: Value float e = (float)a = 1.06732e+009 is represented in memory as c0 02 9e 3f
/// Case 4: Value float f = (float&)(*((float*)&a)) = 1.23456F is represented in memory as 10 06 9e 3f
4 hours later…
15:08
This is how it is... Custom OS on a core, custom scheduler on another, everything forbidden for use of std or other extension frameforks, because of RTTI, because exception handling (try/catch) everything is forbidden. Some functions are using dirrectly assembly for sqrt from NEON which is done HW (__asm()), std sqrt or math stuff cannot be resolved correctly to the fastest thing. Everything what consume runtime is bad, we talk about component execution under 1ms usually 500 microseconds.
I try to design a little framework to ease buffering not like is now reading dirrectly from a memory location and dereferencing data to a expected datatype, I am trying to somehow serialize object to simplify calls and return values.
1 hour later…
« first day (2229 days earlier) ← previous day next day → last day (848 days later) »