161 karma · joined December 19, 2019
companies are doing that as well lol (re: tokenmaxxing)
i'd assume it means fully understanding what you're building, if you already know 3d graphics or are just copying example code around, sure you can build something quick, but to fully understand the concepts from a background without previous graphics knowledge takes time and dedication
https://github.com/analgesicproductions/Even-The-Ocean-Open-...
isn't IPv6 is basically that? just restricted to internet addresses
that, i'd guess, is one of the reasons why most languages don't allow multi-line strings without special syntax
* windows - https://godbolt.org/z/WWWzarEsK
* linux - https://godbolt.org/z/57WK45o6e
same for gcc on linux/windows (mingw)
That distinction comes from early C (pre-ANSI / K & R C), where structures were really definitions of offsets (and said offsets were global, you couldn't have different 'offsets' for a member with the same name in different structs).
Say you had a struct 'struct mystruct {int a;int b;int c};':
You could do '200.b' to access the value at the 'b' offset of the memory location '200' ( '*(int*)( 200 + offsetof(struct mystruct,b) )' or '((struct mystruct*)200)->b' )
And '200->b' would access offset 'b' of the memory pointed to by memory location '200' ( '*(int*)( *(intptr_t*)200 + offsetof(struct mystruct,b) )' or '(*(struct mystruct**)200)->b' )
That's actually being done in the Serenity OS project! HTML renderer, JS interpreter, and Web Browser, from scratch:
https://github.com/SerenityOS/serenity
https://www.youtube.com/playlist?list=PLMOpZvQB55beChggmvk-s...
https://www.youtube.com/playlist?list=PLMOpZvQB55be0Nfytz9q2...