Recent

Author Topic: Your thoughts on cross platform coding ie pascal, python and javascript  (Read 8847 times)

molly

  • Hero Member
  • *****
  • Posts: 2330
Re: Your thoughts on cross platform coding ie pascal, python and javascript
« Reply #15 on: February 19, 2018, 08:49:37 am »
Sorry what and where is the MUI LCL widgetset  in Lazarus docs.
 
I am not getting it in the compiler help files, so I guess this is online in the wiki pages?
The moment i'll explain you are allowed to forget it immediately  :)

It is only of interest for those targeting Amiga platform (Amiga OS3.x, Amiga OS4.x, MorphOS and AROS).

MUI stands for Magic User Interface and is a native GUI that is supported for those platforms (just as Intuition, BOOPSI and GadTools are).

It was implemented by ALB42, and his github account has a special version of Lazarus supporting this Widgetset (his changes are not merged into official Lazarus trunk yet, only initial parts for it).

so the LCL is referring to the GUI toolkit from Lazarus, the Lazarus Component Library?
Something like that, yes  :)

More on widgetsets (that are currently supported) in lazarus can be found here, status of those here.

Soner

  • Sr. Member
  • ****
  • Posts: 305
Re: Your thoughts on cross platform coding ie pascal, python and javascript
« Reply #16 on: February 19, 2018, 09:13:05 am »
Lazarus is usable only on Windows and Linux, on Mac forget it. Most of things does not work on Mac.
The IDE does not work well on mac, because lack of debugger. GDB doesn't work well.
Windows  and Linux good, other platforms only for "look ma'am I can hack!" programs.

I would give Python a try. I read overall they have solutions for all platforms and you can use it also for web applications like server script.

(Yes I know, also you can use  fpc as cgi script but only for private server.
--> "Look ma'am I can develop web applications!"   :D )

molly

  • Hero Member
  • *****
  • Posts: 2330
Re: Your thoughts on cross platform coding ie pascal, python and javascript
« Reply #17 on: February 19, 2018, 09:27:32 am »
@Soner:
although i can absolutely understand your reaction (often did that myself), it is of the wrong attitude.

That way nothing will ever be improved/changed and so you make your statements become the truth. Self-fulfilling prophecy  :)

It is more then welcome to warn people about shortcomings, but even better would be to mention those and/or post them to the bugtracker so that they can be addressed. And yes, although slowly they do eventually get addressed.

Soner

  • Sr. Member
  • ****
  • Posts: 305
Re: Your thoughts on cross platform coding ie pascal, python and javascript
« Reply #18 on: February 19, 2018, 10:02:00 am »
@Molly
 :)


@Julius
https://www.wxwidgets.org/ is insteresting too.
In all the years most of GUIs and APIs changed but wxwidgets remained constant. They were only got better.
Wxwidgets is used for professionall programs.
If you know phython then look https://wxpython.org/.
Java with Swing-UI is really good for crossplatform, compile once run everywhere.

Look at https://netbeans.org/features/index.html, http://wiki.lazarus.freepascal.org/Screenshots and https://codelite.org/gallery.php
(Codelite is created by only one boy).

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • FPC developer.
Re: Your thoughts on cross platform coding ie pascal, python and javascript
« Reply #19 on: February 19, 2018, 02:34:16 pm »
Lazarus is usable only on Windows and Linux, on Mac forget it. Most of things does not work on Mac.

It works fine on Mac. The LCL less, but does Python have a portable IDE that directly uses Cocoa? I doubt it.

Sure, you can mangle with cocoa or QT directly, but that works with FPC too.


(Yes I know, also you can use  fpc as cgi script but only for private server.
--> "Look ma'am I can develop web applications!"   :D )


PHP yes, but python? The average shared hoster doesn't allow that either.

bee

  • Sr. Member
  • ****
  • Posts: 393
Re: Your thoughts on cross platform coding ie pascal, python and javascript
« Reply #20 on: February 21, 2018, 01:24:20 am »
I would give Python a try. I read overall they have solutions for all platforms and you can use it also for web applications like server script.

(Yes I know, also you can use  fpc as cgi script but only for private server.
--> "Look ma'am I can develop web applications!"   :D )

I've been using Pascal for making web applications since long time ago, even before fbWeb existed. You can make web apps using any languages, even shell script. Saying Pascal can't handle web apps dev well is wrong.

These days you can find many vps priced at 1-3 dollar/month, or even free (with some limitations and low spec, of course). Many web app builders today don't use shared web hosting anymore, they just use some affordable vps.
-Bee-

A long time pascal lover.

dbannon

  • Hero Member
  • *****
  • Posts: 2786
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Your thoughts on cross platform coding ie pascal, python and javascript
« Reply #21 on: February 21, 2018, 06:48:34 am »

Said Soner :
Quote
on Mac forget it. Most of things does not work on Mac.

No, I am sorry but you are quite, quite wrong. 

Quote
because lack of debugger. GDB doesn't work well.

GDB is a little harder to get working on the Mac but once installed, works fine. The hardness is due to Apple policies, not Lazarus issues. I suggest you read the wiki docs carefully, if you skip steps during the gdb install, it will break. So, don't skip steps, easy !

The only issue with debugging is memory leaks, leaks are detected and reported but the starting address is not. If the leak is in your own code, any competent programmer should be able to cope.

I, personally, prefer to develop on Linux and then test and debug as necessary on the Mac. But thats just because Linux is more familiar to me.

Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

Julius7

  • New Member
  • *
  • Posts: 19
Re: Your thoughts on cross platform coding ie pascal, python and javascript
« Reply #22 on: February 21, 2018, 10:14:29 am »

Hello everyone!

I have a three main questions on crossplatform coding.
I need some advice on which is the best choice.

a) What are the advantages and disadvantages of each of the following choices
for multiple platforms on the desktop for graphics and sound.

b) What are the advantages and disadvantages of each of the following choices
for iphone and android development in graphics and sound.

c) How would you compare each to other options?

1) OpenGL

2) SDL

3) Is ClanLib the best for 2D ?

4) OGRE 3D


5) OpenAL

6) FMOD

7) BASS

8) Finally is ODE (Open Dynamic Engine) the best choice?


Is NSIS a good choice for creating your installation program?

thks

julius7

 :)

 

TinyPortal © 2005-2018