Ooops
July 29, 2021, 10:20:03

Author Topic: New PureBasic Backend - C  (Read 768 times)

Offline Pfaber11

  • Hero Member
  • *****
  • Posts: 750
  • Bonjour
Re: New PureBasic Backend - C
« Reply #15 on: June 19, 2021, 15:17:54 »
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.

Offline Pfaber11

  • Hero Member
  • *****
  • Posts: 750
  • Bonjour
Re: New PureBasic Backend - C
« Reply #16 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 .
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen.

Offline ricardo_sdl

  • Jr. Member
  • **
  • Posts: 16
Re: New PureBasic Backend - C
« Reply #17 on: June 19, 2021, 23:32:05 »
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.

Offline Pfaber11

  • Hero Member
  • *****
  • Posts: 750
  • Bonjour
Re: New PureBasic Backend - C
« Reply #18 on: June 20, 2021, 20:36:26 »
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.

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal