according to gemini ai
in object oriented programming data is scattered across the ram
but in data oriented programming data is kept in arrays in the cpu cache
which makes software written in data oriented programming faster
than software written in object oriented programming
but I think that if data from object oriented programming
is kept in virtual containers
that are placed in the cpu cache
then that would get the speed from data oriented programming
while keeping the code object oriented
which could make the code easier for humans to understand
and the code won't have to be rewritten
preferably it would be just the data that is stored in virtual containers
and not the object oriented fluff
and that would make the software faster
while it's easy to write the code that creates that software
gemini ai got very excited about my concept
but warned about difficulties to implement the code
No comments:
Post a Comment