Jump to content


Photo

What language is GM4Mac written on?


  • Please log in to reply
6 replies to this topic

#1 Overloaded

Overloaded

    Stand-Alone

  • GMC Member
  • 565 posts
  • Version:GM:Studio

Posted 02 May 2012 - 02:12 PM

I know that GM4Windows and GM:HTML5 are written in Delphi and GM:Studio is written in C++. I also know that HTML5 and Studio support Java too. But what language is GM4Mac written on? I am curious.
  • 0

#2 Dangerous_Dave

Dangerous_Dave

    GMC Member

  • Global Moderators
  • 9276 posts
  • Version:Unknown

Posted 04 May 2012 - 05:30 AM

Delphi is basically Object Pascal, which is what GM for Mac is based on. It is compiled using Lazarus (more information here: http://en.wikipedia....ki/Lazarus_(IDE) )

As for Studio, different export options support different things. The C++ runner is C++, but I believe the IDE is still Delphi. HTML5 is javascript, which is completely different from java. As far as I know Java is not an export option, although it may be used for Android export.
  • 1

#3 Overloaded

Overloaded

    Stand-Alone

  • GMC Member
  • 565 posts
  • Version:GM:Studio

Posted 04 May 2012 - 09:29 AM

Delphi is basically Object Pascal, which is what GM for Mac is based on. It is compiled using Lazarus (more information here: http://en.wikipedia....i/Lazarus_(IDE) )

As for Studio, different export options support different things. The C++ runner is C++, but I believe the IDE is still Delphi. HTML5 is javascript, which is completely different from java. As far as I know Java is not an export option, although it may be used for Android export.


Oh ok. I didn't know that javascript isn't related to java. I thought there were the same, because their names are very similar to each other. Thanks for clearing it up.
  • 0

#4 Dangerous_Dave

Dangerous_Dave

    GMC Member

  • Global Moderators
  • 9276 posts
  • Version:Unknown

Posted 04 May 2012 - 10:14 AM

This short description, under "Birth at Netscape", explains how they got similar names while being very different: http://en.wikipedia....rth_at_Netscape
  • 1

#5 Overloaded

Overloaded

    Stand-Alone

  • GMC Member
  • 565 posts
  • Version:GM:Studio

Posted 04 May 2012 - 11:21 AM

This short description, under "Birth at Netscape", explains how they got similar names while being very different: http://en.wikipedia....rth_at_Netscape


Ok I got it now. Thanks again.
  • 0

#6 dannyjenn

dannyjenn

    GMC Member

  • GMC Member
  • 2064 posts
  • Version:Mac

Posted 04 May 2012 - 09:14 PM


This short description, under "Birth at Netscape", explains how they got similar names while being very different: http://en.wikipedia....rth_at_Netscape


Ok I got it now. Thanks again.

Other reasons for the similar name (not mentioned on that Wikipedia page) are:
- every Java keyword (or most at least) is included in JavaScript (some don't do anything... but you shouldn't use them as variable names). Or maybe I got that backwards...
- and I think (but I'm not sure) it was a marketing thing. I know that JScript (Microsoft's version) is the exact same language, with the name altered because of trademark reasons

And the fact that Java and JavaScript have similar syntax (both being based on C) doesn't help in the name confusion...
  • 1

#7 Overloaded

Overloaded

    Stand-Alone

  • GMC Member
  • 565 posts
  • Version:GM:Studio

Posted 07 May 2012 - 10:57 AM



This short description, under "Birth at Netscape", explains how they got similar names while being very different: http://en.wikipedia....rth_at_Netscape


Ok I got it now. Thanks again.

Other reasons for the similar name (not mentioned on that Wikipedia page) are:
- every Java keyword (or most at least) is included in JavaScript (some don't do anything... but you shouldn't use them as variable names). Or maybe I got that backwards...
- and I think (but I'm not sure) it was a marketing thing. I know that JScript (Microsoft's version) is the exact same language, with the name altered because of trademark reasons

And the fact that Java and JavaScript have similar syntax (both being based on C) doesn't help in the name confusion...


Ok. Thanks dannyjenn!Posted Image
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users