November 20, 2019, 06:09:16 PM

Author Topic: AGK2 vs Pure Basic  (Read 4210 times)

Offline Steve Elliott

  • Hero Member
  • *****
  • Posts: 2101
  • elgol developer
Re: AGK2 vs Pure Basic
« Reply #45 on: August 25, 2019, 06:23:37 PM »
Hehe  ;D
Windows 10, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb).
MacOS Mojave, 64-bit, 8Gb RAM, CPU Intel i5, 2.3 Ghz, Intel Iris Plus Graphics 640 1536 MB.
Linux Mint 19.1, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb).

Offline Qube

  • Administrator
  • Hero Member
  • *****
  • Posts: 2199
Re: AGK2 vs Pure Basic
« Reply #46 on: August 26, 2019, 05:14:24 AM »
And is in active development...It even has a website and forum!  :P
Damn! I so missed that point. My sarcasm mojo needs a boost. Thanks for stepping in with that ;D :)) :P
Until the next time...

Offline Pfaber11

  • Sr. Member
  • ****
  • Posts: 452
  • Bonjour
    • FABERSGAMES
Re: AGK2 vs Pure Basic
« Reply #47 on: August 27, 2019, 10:24:49 AM »
could someone tell me the difference between a language like basic or c# and a scripted language like AGK tier 1. I took a look at pure basic  a while ago and it also has a lot of commands like agk  so is this a scripted language as well?
I guess what I'm asking is what defines a scripted language.

Celeron N3060 1.6 ghz duel core  4 Gb ram 32 gig storage  HD400 Graphics 160 gig external hard drive....

Offline Steve Elliott

  • Hero Member
  • *****
  • Posts: 2101
  • elgol developer
Re: AGK2 vs Pure Basic
« Reply #48 on: August 27, 2019, 10:55:28 AM »
Generally a scripting language is interpreted rather than compiled to machine code like C++ or Pure BASIC.
Windows 10, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb).
MacOS Mojave, 64-bit, 8Gb RAM, CPU Intel i5, 2.3 Ghz, Intel Iris Plus Graphics 640 1536 MB.
Linux Mint 19.1, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb).

Offline Qube

  • Administrator
  • Hero Member
  • *****
  • Posts: 2199
Re: AGK2 vs Pure Basic
« Reply #49 on: August 28, 2019, 03:28:35 AM »
could someone tell me the difference between a language like basic or c# and a scripted language like AGK tier 1. I took a look at pure basic  a while ago and it also has a lot of commands like agk  so is this a scripted language as well?
I guess what I'm asking is what defines a scripted language.
Steve explains it in a nutshell and there other exceptions too. A language can be compiled to byte code which is faster than interpreted. Some scripting languages also are classed as JIT ( Just In Time - compiled at runtime ) which compiles from mainly byte code into machine code at runtime.

AGK compiles to byte code, other BASIC's may be straight interpreted or compiled, C# is compiled to an intermediate language and then into JIT. Pure Basic compiles to machine code and has a vast library of optimised code. JavaScript was an interpreted language for many years but is now mostly JIT.

It's all madness ;D
Until the next time...

Offline Pfaber11

  • Sr. Member
  • ****
  • Posts: 452
  • Bonjour
    • FABERSGAMES
Re: AGK2 vs Pure Basic
« Reply #50 on: August 28, 2019, 11:04:11 AM »
thanks for that you learn something new every day.
Celeron N3060 1.6 ghz duel core  4 Gb ram 32 gig storage  HD400 Graphics 160 gig external hard drive....

Offline Rick Nasher

  • Hero Member
  • *****
  • Posts: 784
Re: AGK2 vs Pure Basic
« Reply #51 on: August 28, 2019, 07:51:42 PM »
This is on feat I really liked about Blitz3D and hold opposed to AGK.
But in the end it doesn't really matter if gets the job done and end result is better than Blitz's, it's just the feel.
_______________________________________
 B3D + physics + shaders + X-platform = AGK!
:D ..ALIENBREED *LIVES* (thanks to Qube).. :D
_______________________________________

Offline Qube

  • Administrator
  • Hero Member
  • *****
  • Posts: 2199
Re: AGK2 vs Pure Basic
« Reply #52 on: August 28, 2019, 08:48:33 PM »
This is on feat I really liked about Blitz3D and hold opposed to AGK.
But in the end it doesn't really matter if gets the job done and end result is better than Blitz's, it's just the feel.
I'd like to see AGK Studio end up with a proper native compiler but I doubt it'll happen. I think it'd be a popular decision if they did go down that route and I'd happily buy it if it was sold as a plugin or AGK Studio 2.
Until the next time...

Offline Kris

  • Jr. Member
  • **
  • Posts: 82
Re: AGK2 vs Pure Basic
« Reply #53 on: August 28, 2019, 09:25:37 PM »
It would be great if they add a compiler as an option even if only for the desktop targets. Games could take advantage of the extra speed that wouldn't be released on mobile anyway.

Offline Pfaber11

  • Sr. Member
  • ****
  • Posts: 452
  • Bonjour
    • FABERSGAMES
Re: AGK2 vs Pure Basic
« Reply #54 on: August 29, 2019, 09:44:59 AM »
Yes the one thing I really thought AGK studio would have is a machine code compiler . I too would gladly part with my money for  such an upgrade even if it was just for the desktop. Although upto now the speed hasn't been a problem for me . I would rather have a Porsche than a 2CV . To be honest I don't like the look of AGK studio as far as the IDE is concerned . I don't need the scene editor and I keep my assets where I want them and have no problems with it . The only reason for me to upgrade to studio is for the vulkan upgrade which is a lot of money just for that . I think if AGK came with a machine code compiler it would gain a lot of new customers and I think TGC know this . Maybe it's too hard to do .
 
Celeron N3060 1.6 ghz duel core  4 Gb ram 32 gig storage  HD400 Graphics 160 gig external hard drive....

Offline Pfaber11

  • Sr. Member
  • ****
  • Posts: 452
  • Bonjour
    • FABERSGAMES
Re: AGK2 vs Pure Basic
« Reply #55 on: October 02, 2019, 12:12:29 PM »
just downloaded the free version of Pure Basic for a second look and am going to give it another go . This time it is working for some reason Gonna go and try and take a look at some examples and see if I can make a start . Any tips or advice on how to use Pure Basic would be appreciated . Bonjour
  I'm not going to stop using AGK as it is cross platform (Android) but would like to have a language that compiles to machine code also. I figure it can't hurt to take a look anyway . I might not like it but we'll see.
Celeron N3060 1.6 ghz duel core  4 Gb ram 32 gig storage  HD400 Graphics 160 gig external hard drive....

Offline Pfaber11

  • Sr. Member
  • ****
  • Posts: 452
  • Bonjour
    • FABERSGAMES
Re: AGK2 vs Pure Basic
« Reply #56 on: October 04, 2019, 11:50:28 AM »
Well I've had a play with pure basic and so far haven't even managed to print my name on the screen. I know how to open and close a window but that's it . Not going to delete it just yet will see where I'm at in a couple of weeks .
Celeron N3060 1.6 ghz duel core  4 Gb ram 32 gig storage  HD400 Graphics 160 gig external hard drive....

Offline RemiD

  • Hero Member
  • *****
  • Posts: 1014
Re: AGK2 vs Pure Basic
« Reply #57 on: October 04, 2019, 05:46:27 PM »
Re: AGK2 vs Pure Basic vs KingOfBasic (blitzbasic)
Code: [Select]
Graphics(640,480,32,2)
XStr$ = "hello pfaber"
Color(255,255,255)
Text(GraphicsWidth()/2-StringWidth(XStr)/2,GraphicsHeight()/2,XStr)
WaitKey()
End()
DualCore AMD E-450, 1646 MHz - 6 Go DDR3 1333 SDRAM - AMD Radeon HD 6320 Graphics (384 Mo) - Windows 7 Home Premium - DirectX 11.0

Offline Kris

  • Jr. Member
  • **
  • Posts: 82
Re: AGK2 vs Pure Basic
« Reply #58 on: October 04, 2019, 06:59:55 PM »
As I said in "the other thread", in PureBasic you have to do certain things manually. A little extra work.

:D


Code: [Select]
InitKeyboard()
InitSprite()
OpenWindow(0,0,0,640,480,"PureBasic is good for you !",#PB_Window_ScreenCentered)
OpenWindowedScreen(WindowID(0),0,0,640,480)

Repeat
  WindowEvent()
  ExamineKeyboard()
  ClearScreen(RGB(0,0,0))
  StartDrawing(ScreenOutput())
  DrawText(260,240,"I Like PureBasic !")
  StopDrawing()
  FlipBuffers()
Until KeyboardPushed(#PB_Key_All)

Offline 3DzForMe

  • Hero Member
  • *****
  • Posts: 820
Re: AGK2 vs Pure Basic
« Reply #59 on: October 04, 2019, 07:17:14 PM »
I was wondering how Blitz basic would fair against Ago and pure, will try for comparison s later on....