Page 1 of 1
PBCompilerc Compiler praise.
Posted: Sat Jul 20, 2024 7:32 pm
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?
Re: PBCompilerc Compiler praise.
Posted: Sat Jul 20, 2024 7:34 pm
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
Re: PBCompilerc Compiler praise.
Posted: Sat Jul 20, 2024 7:48 pm
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!
Re: PBCompilerc Compiler praise.
Posted: Sat Jul 20, 2024 8:22 pm
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.
