New PureBasic Backend - C

Started by ricardo_sdl, June 16, 2021, 14:01:13

Previous topic - Next topic

Pfaber11

I'm not switching to Pure Basic as am getting on with studio for the foreseeable but I do take an interest and it's an option and options are good .
I did make a game in it but wasn't great but for a first attempt was good . Not sure this backend C thing would make any difference to me. Got the demo installed right now and it's surprising what you can do in 800 lines of code . I might just buy it soon and get the full experience . Enjoy your weekend .
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen. Windows 11 home edition .  2Tb external hard drive dedicated to Linux Mint .
  PureBasic 6 and AppGameKit studio
ASUS Vivo book 15 16gb ram 256gb storage  cpu upto 4.1 ghz

Pfaber11

I might just decide to use two languages . It is an interesting concept to write some code in Basic that then gets compiled into C . Could I then keep it in C and then compile it into machine code in any C compiler ? The reason I ask is if someone wanted  a program written in C and I produced it although written in Basic initially it would appear I'd written it in C.   Very interesting .
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen. Windows 11 home edition .  2Tb external hard drive dedicated to Linux Mint .
  PureBasic 6 and AppGameKit studio
ASUS Vivo book 15 16gb ram 256gb storage  cpu upto 4.1 ghz

ricardo_sdl

Quote from: Pfaber11 on June 19, 2021, 15:27:09
I might just decide to use two languages . It is an interesting concept to write some code in Basic that then gets compiled into C . Could I then keep it in C and then compile it into machine code in any C compiler ? The reason I ask is if someone wanted  a program written in C and I produced it although written in Basic initially it would appear I'd written it in C.   Very interesting .

From here we can see that they tested GCC and Visual C++ 2015. Both very good compilers. And they mention that they are outputing clean C code, so it can be reused in other projects.
Check my games at:
https://ricardo-sdl.itch.io/

Pfaber11

I suppose if I can use Pure Basic I can practically program in C . If it comes out on demo I'm definitely gonna want to try it out and if I like it I will buy it . Hopefully won't be too long . I have a bit of experience with PB and think I can juggle 2 languages. Adding C to my bow would be awesome . Oh what I did want to know I've worked out I can use open GL in PureBasic with windows can I also use Ogre with openGL in windows and forget the Directx 9.0c api.
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen. Windows 11 home edition .  2Tb external hard drive dedicated to Linux Mint .
  PureBasic 6 and AppGameKit studio
ASUS Vivo book 15 16gb ram 256gb storage  cpu upto 4.1 ghz

Pfaber11

You need Directx 9.0c and DXSDK_10june. This is so ogre meshy and Ogre assimp converter will work.ok
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen. Windows 11 home edition .  2Tb external hard drive dedicated to Linux Mint .
  PureBasic 6 and AppGameKit studio
ASUS Vivo book 15 16gb ram 256gb storage  cpu upto 4.1 ghz