News for hackers. Stuff that matters.
Re:AI weights are not open “source” by justinjlynn on Saturday July 08, 2023 @04:26AM (#36642489)
The CPU is a compiler for programs written in the machine instruction set architecture the CPU claims to implement. So, no, you can't.
Re:AI weights are not open “source” by Retric on Saturday July 08, 2023 @08:19AM (#36643671)
No all CPU’s aren’t a compiler. Words have meanings and you used them incorrectly.

Early CPU’s didn’t compile anything they directly executed the instruction pipeline. As engineers had more transistors to play with they implemented ever more complex systems, but you can have a really simple CPU that works just fine.

Re:AI weights are not open “source” by justinjlynn on Sunday July 09, 2023 @01:03AM (#36651688)
Words have meanings, and the instruction pipeline consists of electrical signals - and those early CPUs were almost all microcoded or had multiphase clocks or some other implementation abstraction which they did not expose to their architectural state... so yes, they were in a very real sense compilers.
Re:AI weights are not open “source” by Retric on Sunday July 09, 2023 @11:07PM (#36661589)
Again “Almost” means not every. So no saying all CPU’s are compilers is clearly false from the words you just wrote.

Also, the number of CPU’s manufactured heavily favored very simple designs.

Re:AI weights are not open “source” by justinjlynn on Sunday July 09, 2023 @11:31PM (#36661735)
Simply because I didn't state "for all and every" doesn't invalidate my point, nor does it support yours as true - further, "heavily favored" suffers from the same problem. The point is, there's a system which takes as input formatted in a specification (a program) and some transformed output (a set of actions to be taken or another program input for another compiler). So, there you go. If a hot dog on a bun could be considered a sandwich, then a CPU could be considered to be a compiler. shrug disagree all you like.
Re:AI weights are not open “source” by Retric on Monday July 10, 2023 @02:50PM (#36671183)
If you say X is Y, but it’s not true for all X then the statement is false. Ie: “All integers are even.” is false.

As to your point that’s not what CPU’s do though, they have both a set of instructions and a set of IO with the outside world. A compiler always results in the same output from a given set of instructions, but with CPU’s you can run the same code and get wildly different output due to that IO.

The only way you can call a CPU a compiler is as a subset of its capabilities. If they they have internal microcodes where a given instruction gets translated into a different internal representation, but that’s not the end it also executes those microcodes.