4 ms·
I have zero troubles shipping Windows and Linux user end GUI made in Lazarus. Single tiny exe. Does not gobble up RAM either.
by FpUser 5y ago
I have zero troubles shipping Windows and Linux user end GUI made in Lazarus. Single tiny exe. Does not gobble up RAM either.
- amelius 5y agoC++ with Qt also seems like a good choice, although it is not free for most types of commercial use.
- FpUser 5y agoAfter reading their license I would not touch it with the wooden pole. Too bad as it seem to be a good tool. I made couple of demo projects to get familiar but did not proceed any further as I did not want to end up paying one of the most exorbitant license fees for a general development tool.
- AnIdiotOnTheNet 5y agoLazarus is pretty good, I've used it a few times myself to make quick one-off static executables with GUIs. I don't use it for anything serious though because, well, Pascal just isn't a language I want to spend a lot of time working in. I wish there was something like Lazarus, but somehow more language agnostic.
- horsawlarway 5y agoMaybe try electron with WASM? :D (Full disclosure - I don't really recommend this, it's not ready yet, imo)
- AnIdiotOnTheNet 5y agoIf you think electron is anything at all like Lazarus, you must never have used Lazarus.
- horsawlarway 5y agoI mean, it's an event based form builder. Same as almost all of these tools (going WAAAAY back, 20+ years at least). I have not used Lazarus for any serious project, so if there's something particularly novel that you enjoy about it, I'd love to learn!
- FpUser 5y ago>"I mean, it's an event based form builder. Same as almost all of these tools (going WAAAAY back, 20+ years at least)." And nothing "better" and more practical came out ever since paradigm wise. Just insane bloat of trying to marry Browser to a native application
- Spivak 5y agoI think the reality is that it's insane bloat trying to give browsers access to native libs. If I could just download and install apps in the browser that weren't sandboxed (don't @ me about PWA's they're not even close) then I think we might actually achieve Java's dream.
- FpUser 5y ago>"I think we might actually achieve Java's dream" Keep waiting for a miracle. Meanwhile native applications solve problem with ease. Sure some applications are totally make sense as browser based but you can't just color everything the same. This dream will never materialize for way too many reasons, including political ones.
- horsawlarway 5y ago> And nothing "better" and more practical came out ever since paradigm wise. I think this is a pretty poor take on the problem. If that were really the case we'd all be using winforms 3.1 (or whatever the original version number was...). Here's the "Better" that a browser does - It's got standards and open documentation describing most behavior - It's got incredibly robust networking code. - It's got an insanely flexible markup language for describing both what form elements are present, but also how they're visually displayed. (Show me how to do animations in Lazarus... last I looked it was all manual) NOTE: Not only is it insanely flexible, it also is well documented and described by standards. - It avoided the trap of being GUI first at development time, encouraging an eco-system of tools that generate and modify the text based definition of the GUI you're going to present to users - It has good separation of concerns. My form elements can be styled completely differently by just swapping out a style sheet. - It has good (although often underused) A11y support. For most disabilities that you can think of. - It has first class debugging tools available, supporting a wide variety of environments. ---- That's what the browser brings. Is it heavy? Sure. Is it bloat? Not really.... depends a lot on your use case.
- FpUser 5y ago>"Pascal just isn't a language I want to spend a lot of time working in." I do not dwell on "liking/disliking" languages. I use what I use (few languages) for pure practical reasons. To me the goal is to design and deliver end product. Language to me is like a screwdriver. It just has to be good enough to do the job without bending backwards. For making native multiplatform GUI applications Lazarus/Freepascal combo totally ticks the box.
- AnIdiotOnTheNet 5y agoThat's fair and also generally how I look at things, but it does mean having to become familiar with yet-another-language that has its own quirks and models and whatnot and, in FPC's case, a complete lack of inline variable declaration.
- brushfoot 5y agoWhat is package management like with Lazarus? Are there third-party/community-contributed packages?