real basic

General Moho topics.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
mwtoons
Posts: 66
Joined: Thu Dec 02, 2004 5:53 pm
Location: Rhode Island, USA
Contact:

real basic

Post by mwtoons »

Just a quick question for the LM guys.

Did you use realbasic software to develop Moho? I just discovered the language and have been learning it.

Just wondering...
User avatar
Lost Marble
Site Admin
Posts: 2355
Joined: Tue Aug 03, 2004 6:02 pm
Location: Scotts Valley, California, USA
Contact:

Post by Lost Marble »

No, Moho is written in C++.
raulgd
Posts: 2
Joined: Fri Jun 24, 2005 12:35 am
Location: Veracruz, Mexico
Contact:

Post by raulgd »

C++?

how hard is to develop windows and mac versions at the same time? is the code very different between platforms? what compilers do you use?

And also, what graphics and interface libraries do you use for the GUI? because the application's GUI is, for lack of a tech programmer term, SO PRETTY!

sorry, a lot of questions, is just that i wanna learn about the whole programming thing, and your GUI is so nice and nifty, the app is really fast, and you have it for both mac and windows.

one more thing... !!! i love moho!!! can't wait to get enough money to buy it
User avatar
Lost Marble
Site Admin
Posts: 2355
Joined: Tue Aug 03, 2004 6:02 pm
Location: Scotts Valley, California, USA
Contact:

Post by Lost Marble »

It can be very easy or very difficult to program cross-platform, it all depends on the approach you use. Moho uses a cross-platform GUI library developed by Lost Marble. There's code in this library to do things like handle windows, drawing, cursors, menus, etc. Some of this code has to be written specifically for Windows, Mac, or Linux.

Once the cross-platform library is done (or if you use an existing cross-platform library), the application itself is basically identical between the different platforms. When making changes to Moho (new features or bug fixes), these changes are instantly applied to all the different operating systems.

On the other hand, if you create a native GUI for each platform, it's going to be a lot more work. You can still abstract a lot of things to make them common to all platforms, but you have to deal with menus, windows, etc. separately for all platforms.

Visual Studio is used on Windows, XCode on Mac, and make/gcc on Linux. Plus a lot of Python tools on all platforms to build things like resources and auto-generated code.
raulgd
Posts: 2
Joined: Fri Jun 24, 2005 12:35 am
Location: Veracruz, Mexico
Contact:

Post by raulgd »

Ok, thanks!

i tought you used some opensource API or that you bought one, but developed in-house... wow!

That actually sounds like A LOT of work, because then i would have to know perfectly the windows API and the mac API...

You guys should sell your multiplatform API hehehe sounds you could earn some serius cash on it, because of all the work it takes to develop one.

Thanks for the tips for developing multiplatform, i thought it was gonna take a lot of work, but not that much. Thanks for the tips thou, when i have enough knowledge for programming my own API, i know what approach to take instead of experimenting on my own and bumping into major design errors.
Post Reply