News for hackers. Stuff that matters.
Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by rvense on Saturday January 30, 2021 @03:50AM (#25967441)
> To give you an idea how tight that is, 64KB (code in ROM) is just 12 paper pages (60 lines of 80 columns) of text

To be fair, this is machine code, so it's what, 4-10 bytes for an instruction and two or three of these per line of high level code? So it's probably comparable to a few thousand "pages" of C code.

But it's still pretty amazing.

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by labawi on Saturday January 30, 2021 @01:42PM (#25971660)
I think it more like 2-4 bytes per instruction[1]. Information density of machine code can be surprisingly high.

Of course, density can also be abysmal with current toolchains and practices.

[1] https://en.wikipedia.org/wiki/Motorola_68000#Example_code

Re:Apple Silicon M1 supports “billion of colors” a.k.a. HDR ... by witherk on Saturday January 30, 2021 @08:48AM (#25969030)
Thank you for contextualizing this I was really trying to think about fitting an operating system into 12 pages...