PBCompilerc Compiler praise.

Just starting out? Need help? Post your questions and find answers here.
User avatar
matalog
Enthusiast
Enthusiast
Posts: 305
Joined: Tue Sep 05, 2017 10:07 am

PBCompilerc Compiler praise.

Post by matalog »

I finally tried out the C Backend Compiler, and it is probably 50 times faster than the default output from PB ASM compiler at drawing a Buddhabrot that I'm playing with, very high usage of the processor with high iteration amounts. It's amazing.

Is it just as good with most programs that need a boost of speed? Are there some drawbacks of using PBcompilerc over ASM?
Quin
Addict
Addict
Posts: 1135
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Re: PBCompilerc Compiler praise.

Post by Quin »

Fred wrote a very interesting blog post on this matter actually. The summary is that yes, it can help quite a lot, especially if you tick the optimize checkbox
User avatar
matalog
Enthusiast
Enthusiast
Posts: 305
Joined: Tue Sep 05, 2017 10:07 am

Re: PBCompilerc Compiler praise.

Post by matalog »

Quin wrote: Sat Jul 20, 2024 7:34 pm Fred wrote a very interesting blog post on this matter actually. The summary is that yes, it can help quite a lot, especially if you tick the optimize checkbox
I just checked Optimize generated code and it is at least 4 times faster again. Unbelievable. I'll have to relook at the programs that I refused to leave my computer on all night for!
Quin
Addict
Addict
Posts: 1135
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Re: PBCompilerc Compiler praise.

Post by Quin »

matalog wrote: Sat Jul 20, 2024 7:48 pm I just checked Optimize generated code and it is at least 4 times faster again. Unbelievable. I'll have to relook at the programs that I refused to leave my computer on all night for!
PB's pretty amazing. It's remained a primary programming tool of mine for almost 5 years by now, and I've only been coding for 6 years or so, so that's pretty impressive.
This is why I encourage donating regularly, too. :)
Post Reply