Lazarus

Started by Baggey, February 11, 2024, 17:10:22

Previous topic - Next topic

Baggey

Im thinking of giving Lazurus a try. Anyone here got any experience with it or some good site's with code example's to learn from?

https://www.lazarus-ide.org/

Kind regards Baggey
Running a PC that just Aint fast enough!? i7 4Ghz Quad core 32GB ram  2x1TB SSD and NVIDIA Quadro K1200 on 2 x HP Z24's . DID Technology stop! Or have we been assimulated!

Windows10, Parrot OS, Raspberry Pi Black Edition! , ZX Spectrum 48k, C64, Enterprise 128K, The SID chip. Im Misunderstood!

dawlane

#1
You will be very disappointed with it. It's a complete mess.
Half of the packages don't work correctly and can break the install. The GUI docking is a joke, and there's no decent tutorial on how to do it correctly.
Oh and let's not for get the bugs that are in it that have never been fixed.

But if you want to try it, then use this tool to build it from scratch.
https://wiki.lazarus.freepascal.org/fpcupdeluxe

Baggey

Okay?

So im looking for something a bit faster than BlitzMaxNG. What would you suggest my next step should be? ::)

I have a good Grasp of BlitzMaxNG now and want more speed. Should i stick with it or try something else?

I get the impression you've been there done that.

Kindest of Regards Baggey
Running a PC that just Aint fast enough!? i7 4Ghz Quad core 32GB ram  2x1TB SSD and NVIDIA Quadro K1200 on 2 x HP Z24's . DID Technology stop! Or have we been assimulated!

Windows10, Parrot OS, Raspberry Pi Black Edition! , ZX Spectrum 48k, C64, Enterprise 128K, The SID chip. Im Misunderstood!

dawlane

Quote from: Baggey on February 11, 2024, 17:23:05What would you suggest my next step should be?
Have a look at Haxe (which is written in OCaml) has as far as I can tell a pretty good set of libraries, Dart with Flutter.

dawlane

Quote from: Baggey on February 11, 2024, 17:23:05I get the impression you've been there done that.
Quite a few times. I've been following it since version 0.9.10. It's now at version 3.0 and very little improvement.

dawlane

Forgot. There's Haskell as well.

Baggey

Well for now i think im going to stick with BlitzmaxNG. Im trying it with BLIDE at the moment. Ive got to say though i rather like the Lazurus IDE and feel  ::)

Kind Regards Baggey
Running a PC that just Aint fast enough!? i7 4Ghz Quad core 32GB ram  2x1TB SSD and NVIDIA Quadro K1200 on 2 x HP Z24's . DID Technology stop! Or have we been assimulated!

Windows10, Parrot OS, Raspberry Pi Black Edition! , ZX Spectrum 48k, C64, Enterprise 128K, The SID chip. Im Misunderstood!

dawlane

Quote from: Baggey on February 12, 2024, 18:39:17Ive got to say though i rather like the Lazurus IDE and feel 
It's a clone of Delphi 6/7 IDE. Much better than the new version IDE of Delphi.
But you won't be liking it much when it crashes at random.

Midimaster

Quote from: Baggey on February 11, 2024, 17:23:05Okay?

So im looking for something a bit faster than BlitzMaxNG...
I have a good Grasp of BlitzMaxNG now and want more speed...

Where do you feel the speed problems in BlitzMax NG? 
I would say that the language 'per se' is very fast.

Mostly the reason for speed problems is the non-optimal code we write.



...back from North Pole.

Baggey

#9
QuoteMostly the reason for speed problems is the non-optimal code we write.

That's probably why. ::)

I fancy having ago at adding Windows type functionality with buttons, combo boxes and drop down menu's.

I feel the examples to do this in Blitzmax are diabolical! or nonexistent. To get going with my next step in my blitzmax quest? So im feeling the change.

Maybe some tutorials on programming Windows environment stuff in blitzmaxNG could be on the cards?

I would also like better access to Highres timers and programmable triggering mechanisms.

I also feel there are some bugs with Blitzmax particularly. When passing numbers in and out of functions/methods and returning values but can't prove it :-X .

So, Im just dabbling with Lazarus at the moment. The learning curve maybe way too steep thou.

Kind Regards Baggey   
Running a PC that just Aint fast enough!? i7 4Ghz Quad core 32GB ram  2x1TB SSD and NVIDIA Quadro K1200 on 2 x HP Z24's . DID Technology stop! Or have we been assimulated!

Windows10, Parrot OS, Raspberry Pi Black Edition! , ZX Spectrum 48k, C64, Enterprise 128K, The SID chip. Im Misunderstood!

dawlane

Quote from: Baggey on February 20, 2024, 18:03:31The learning curve maybe way too steep thou.
Object Pascal's learning curve is a lot less than C/C++.

Decided to be a masochist and installed Lazarus IDE 3.0.

Using a simple application using mouse enter/mouse leave events for an image to create and destroy custom popup hint window.
On Windows: No real issues apart from some of the addition packages not building.
On Linux: Worse than programming a Sinclair ZX81 with a wobbly 16K RAM pack attached. After a few enter and leave events, throws an exception and can crash the IDE.
On macOS: I wouldn't know, as I haven't got a recent iMac.

Baggey

QuoteDecided to be a masochist and installed Lazarus IDE 3.0.
8)
QuoteOn Linux: Worse than programming a Sinclair ZX81 with a wobbly 16K RAM pack attached.
That brings back child hood memory's :-X I use windows anyway. ;D


Running a PC that just Aint fast enough!? i7 4Ghz Quad core 32GB ram  2x1TB SSD and NVIDIA Quadro K1200 on 2 x HP Z24's . DID Technology stop! Or have we been assimulated!

Windows10, Parrot OS, Raspberry Pi Black Edition! , ZX Spectrum 48k, C64, Enterprise 128K, The SID chip. Im Misunderstood!

dawlane

#12
Well to save me creating a new topic. I'll post here.
My masochistic side has raised it's head and forced me to install Lazarus IDE 3.6. Currently fpcupdeluxe hasn't issued a new release to do a 3.6 build yet. So I've had to install the official builds from sourceforge.

My current verdict on this release is that it's a big improvement. Haven't experienced any random crashes so far, that is provided I didn't install some of the things available from the online package manager.

Baggey

Quote from: dawlane on November 13, 2024, 21:06:46Well to save me creating a new topic. I'll post here.
My masochistic side has raised it's head and forced me to install Lazarus IDE 3.6. Currently fpcupdeluxe hasn't issued a new release to do a 3.6 build yet. So I've had to install the official builds from sourceforge.

My current verdict on this release is that it's a big improvement. Haven't experienced any random crashes so far, that is provided I didn't install some of the things available from the online package manager.
I think it's really good. It's fricken fast as well! Look out for the add in mod that puts all the windows docked on the same screen. Just like Visual Basic and Delphi used to be like. 

Forgotten the name of the add in right now.  Anyway's i found it on Google Search. Oh and there's a guy with a utube channel Coding with Huff in lazarus Pascal.

Very informative.

Kind Regards Baggey
Running a PC that just Aint fast enough!? i7 4Ghz Quad core 32GB ram  2x1TB SSD and NVIDIA Quadro K1200 on 2 x HP Z24's . DID Technology stop! Or have we been assimulated!

Windows10, Parrot OS, Raspberry Pi Black Edition! , ZX Spectrum 48k, C64, Enterprise 128K, The SID chip. Im Misunderstood!

dawlane

#14
Quote from: Baggey on November 14, 2024, 08:29:05Look out for the add in mod that puts all the windows docked on the same screen. Just like Visual Basic and Delphi used to be like.

Forgotten the name of the add in right now.
The package component is called AnchorDocking and AnchorDockingDsgn. That package can be a hit and miss affair. It's one of the things that can sometimes cause a crash.
And those packages have yet to implement the things that were mentioned in the limited documentation that is available. It's also difficult to use in your own programs.

The other package that can be installed is DockFormEditor. This makes it so that the form designer becomes part of forms pascal unit editor. This can also cause crashes.

If you use Windows and want to save your eyes with the forced light mode. Then in the online package manager there is MetaDarkStyle package. This package isn't cross platform, so it has to be added and removed depending if you are compiling on Windows and Unix type system.

Currently I'm playing around with the SynEdit and SynFacilSun packages.