Page 2 of 2

Re: If no OOP, how about object-based coding style in PB?

Posted: Wed Jan 20, 2016 8:35 pm
by heartbone
HanPBF wrote:I didn't get it:
Of course PureBasic could not be written in itself.
Why???? Or did I miss the context?
Lunasole wrote that Fred doesn't use PB for his serious projects.
I was pointing out that Fred could not have used something that did not exist to create PB.

It would be interesting to know if PB could be recreated using the current PB compiler.

Re: If no OOP, how about object-based coding style in PB?

Posted: Wed Jan 20, 2016 8:53 pm
by Tenaja
heartbone wrote:It would be interesting to know if PB could be recreated using the current PB compiler.
It most certainly can. The PB compiler has no magical features that cannot be compiled by itself. Considering the libraries are compiled separately, the IDE is probably more complicated than the compiler.

However, most C compilers have better optimization, so it will run faster if it is not converted.

Re: If no OOP, how about object-based coding style in PB?

Posted: Thu Jan 21, 2016 8:34 am
by Dude
IdeasVacuum wrote:You are marching into Rome and saying you don't want to talk in Italian - can they change their language to Greek?
I like that! Very good! 8)

Re: If no OOP, how about object-based coding style in PB?

Posted: Thu Jan 21, 2016 8:36 am
by Dude
heartbone wrote:It would be interesting to know if PB could be recreated using the current PB compiler.
Don't know about the compiler, but PureBasic's IDE (the editor) is written in PureBasic.