Also because the architecture is what it is. That can't make that much of a difference, if i'm trying to squeeze every possible byte out of a PIC16/18 i use assembly.
Mplab xc8 cost pro#
Now they try to kill the performance of builtin math as much as possible, but other than that the comparison between my code with free optimization (or level "1" in XC8 2.0, which mimics -O1) and pro optimization was always of a couple RAM locations and a handful of instructions at most. In the past there was the nasty habit of multiple MOV or other crap like that, the famous """"added bloat"""", which is not there anymore. First, with PICs there's not much you can do anyway, except perhaps more use of the INDF registers for pointers, arrays and such. on the subject of compilers, have you tried comparing the binary before and after? To be frank i would be surprised if you noticed the difference. I like MPLAB X waaaaaaaaay better altough intellisense is hard to beat, and frankly the autocomplete in netbeans is very basic. End rant Sorry for any errors, typed this out with my phone. It's just kind of frustrating to see this and to think that Microchip might possibly be trying to force AVR into this, too. Don't get me wrong, I've only dealt with PICs so I am by no means an AVR fan boy. Companies where a few thousand dollars for a compiler is a formality are exempt from this rant, although they kind of perpetuate the problem by forking over the cash. I also don't think that "go mess with assembly if you want optimizations" is a good answer either since you would expect a hardware manufacturer to make their hardware as accessable to everyone as possible. I'm sure they have made enough money back from their purchase of the HI-TECH C compilers already. Begin rant Let's face it, Microchip should release their XC8 compilers and stick to the hardware business.
![mplab xc8 cost mplab xc8 cost](https://microchip-mplab-harmony.github.io/gfx_apps_pic32mz_ef/docs/images/pic32mz_ef_cu_wqvga_arch.png)
How does the XC8 compiler compare in terms of optimizations? Does microchip plan on dropping support for the free AVR compilers with Atmel Studio and not including them in MPLAB X in hopes that people are forced to buy their stupid expensive compilers if they want better optimizations? When I first heard that AVR support was coming to MPLAB X was great since it meant a proper IDE for AVR in Linux but now it's a little terrifying. I find it hilarious because no one is going to buy XC8 pro for something that already has pretty good compilers.
![mplab xc8 cost mplab xc8 cost](https://cdn.xingosoftware.com/audioxpress/images/fetch/dpr_1/https%3A%2F%2Fwww.audioxpress.com%2Fassets%2Fupload%2Fimages%2F1%2F20181005141020_Microchip-MC1432-AVRSupportinMPLABXIDEWeb.jpg)
![mplab xc8 cost mplab xc8 cost](https://microchipdeveloper.com/local--files/install-i:xc8-mac/install1a.png)
I was looking through Microchip's website and I realized that XC8 PRO ( the not-free and expensive version of Microchip's 8 bit compiler) is a thing for AVR with the new AVR support in MPLAB X.