Page 1 of 1

A C++ backend for Purebasic !

Posted: Sat Nov 23, 2024 11:30 am
by threedslider
Hi all,

Since C Bakend is here so please make a C++ Backend for Purebasic too ! It will be nice to integrate it and more possibility of course :mrgreen:

Not necessarily in OOP for Purebasic but just C++ backend that means it is expanding more ways :shock:

Hope not complainer here :mrgreen:

Re: A C++ backend for Purebasic !

Posted: Sat Nov 23, 2024 12:17 pm
by Mijikai
Why, the C backend so far does not make it much more easy to interface with existing C code.
There are so many useful libraries out there in C but you cant use any unless you invest a huge amount on time.

Also the main reason why PB will continue to be a niche language.

C++ will never happen.

Re: A C++ backend for Purebasic !

Posted: Sat Nov 23, 2024 12:54 pm
by Fred
It doesn't make any sens to use g++ for backend, the fact we use a C compiler is only to have a portable code generator, not to allow using C code in PureBasic.

Re: A C++ backend for Purebasic !

Posted: Sat Nov 23, 2024 1:19 pm
by Little John
Dear Fred,

please add a washing machine to PureBasic, so that I can use it for washing my trousers! :mrgreen:

Re: A C++ backend for Purebasic !

Posted: Sat Nov 23, 2024 1:36 pm
by threedslider
Okay ! Thanks to all :mrgreen:

I was thinking for C++ Backend for C++ libraries more portable in Purebasic, well not... :oops: it is impossible ... :lol:

At least we have C backend, that is a great feature, thx !

Re: A C++ backend for Purebasic !

Posted: Sat Nov 23, 2024 5:15 pm
by TI-994A
threedslider wrote: Sat Nov 23, 2024 11:30 amHope not complainer here :mrgreen:
It's always good to have suggestions and new ideas. No complaints here. :D

Don't mind the scoffers, though. :wink: