Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: yesthatjallen

If we are going to use AI to make C code, why not use it to make Assembler code? Or would a good compiler be about as efficient?


3 posted on 02/06/2026 6:14:00 AM PST by Dr. Sivana ("Whatsoever he shall say to you, do ye." (John 2:5))
[ Post Reply | Private Reply | To 1 | View Replies ]


To: Dr. Sivana

The specs are the code.

Then you can tell the agent to build it in whatever language you want.

So why not assembler?

I’ve never coded in C before, so I told Claude Code to build me a sophisticated application that is a common use case for using C, and document it so I can easily follow what the code is doing, and then told it to create a Guide that walks through the code with thorough instructions on how to build it from start to finish with Visual Studio Code.


7 posted on 02/06/2026 6:27:01 AM PST by dfwgator ("I am Charlie Kirk!")
[ Post Reply | Private Reply | To 3 | View Replies ]

To: Dr. Sivana

And I also told it that I am proficient at both Java and Python, so write the doco for someone who knows those languages, and provide reference points.

So basically it’s a technical book that’s personalized for your background.


8 posted on 02/06/2026 6:29:27 AM PST by dfwgator ("I am Charlie Kirk!")
[ Post Reply | Private Reply | To 3 | View Replies ]

To: Dr. Sivana

A great C compiler produces outstanding assembly code. Complete with understandings of the cache, out of order execution, and all the intricacies of the target CPU. As a guy who learned BASIC and assembly at the same time I get what you’re saying, but yes, modern C compilers are good enough.


29 posted on 02/06/2026 7:53:43 AM PST by FrankRizzo890
[ Post Reply | Private Reply | To 3 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson