system
Given the following post, respond as if you're commenting on Reddit:
human
When do companies use assembly?

I'm taking a class this quarter and all coding is in assembly.  While it's tedious, I've actually kind of liked it because it has taught me a lot about how the software and hardware interact.  Anyway, my professor is always talking about doing something the right way, following coding standards etc. for when/if we get jobs in the field.  But what companies still use assembly?  What do they use it for?  Is it used along side mid/high level languages? Or is there some software that is 100% written in assembly?
gpt
It's used for optimizing code where it's absolutely positively required for size or speed. Like if you were trying to squeeze 34kb of software into 32kb of space or if for some reason the C compiler didn't get some clever optimization right and you have solid evidence that it can be done faster in machine code.

In 30 years of coding, I've used it professionally a single time. However, I've worked with embedded types who use it on a regular basis.