Readit News logoReadit News
Peter5 commented on Lazarus Release 4.0   forum.lazarus.freepascal.... · Posted by u/proxysna
bigpeopleareold · 10 months ago
I only toyed with Lazarus/Free Pascal. There was some things I couldn't get used to. Maybe time to toy around again :) I feel like mentioning a few things that helped in the past: fpcdeluxe for installing a build of fpc and lazarus and a plugin called anchordockingdsgn to get all the floating windows in one window. It would be nice if 4.0 defaulted to that. The Castle Engine Pascal tutorial was actually pretty good also (which is mentioned in another thread here.) (edit: for the plugin, I see an option in fpcdeluxe to dock all windows - so it's possible to build that plugin in initially.)
Peter5 · 10 months ago
fpcupdeluxe is great if you want to get a particular revision or build cross-compiling. If you need a stable version, just download the setup from. The docked IDE is the default option for this version.
Peter5 commented on Lazarus Release 4.0   forum.lazarus.freepascal.... · Posted by u/proxysna
int_19h · 10 months ago
Best part: a hello, world GUI app (a dialog with a textbox and a button that pops up a message box) is ~2.5 Mb on Win32.

This was something like 500 Kb back in 2000, but it's still a far cry from your ~200 Mb Electron hello world.

Peter5 · 10 months ago
2.5 MB is for most of the Lazarus Component Library (LCL) with minimal size increases even as program complexity grows. For example, Dadroit JSON Viewer EXE is less than 6 MB while having complicated tree views, JSON handling, networking, and more. By the way, an empty CLI EXE on Windows is less than 50KB.
Peter5 commented on Lazarus Release 4.0   forum.lazarus.freepascal.... · Posted by u/proxysna
zerr · 10 months ago
Ok, using WinAPI means it is not easily theme-able, unless they provide custom set of controls. I assume it is possible to use Qt back-end for Windows as well. I wish Lazarus also supported C++ akin to C++Builder. Pascal is a deal-breaker many.
Peter5 · 10 months ago
Custom control set is supported too, and there are multiple alternatives.
Peter5 commented on Lazarus Release 4.0   forum.lazarus.freepascal.... · Posted by u/proxysna
zerr · 10 months ago
> Windows: 2k, 32 or 64bit, Qt, Qt5, Qt6 (64bit only)

Besides Qt, does it have a pure Win API back-end as well?

Peter5 · 10 months ago
Yes. Try the IDE itself; on Windows it is built with Win API. PeaZip is a sample of it https://github.com/peazip/PeaZip

u/Peter5

KarmaCake day163August 28, 2022View Original