Live data from Hacker News

Lazarus – A Delphi-compatible cross-platform IDE

lazarus-ide.org

21–30 of 187 posts

Re: Lazarus – A Delphi-compatible cross-platform IDE

#21
post #4

Lazarus/FPC checks so many nice boxes: [x] Statically compiled [x] Native UI on Linux/Mac/Win [x] Typically compiled without code changes on Linux/Mac/Win [x] Small binaries [x] No GC [x] Readable, somewhat python-like syntax [x] Still, doesn't rely on indentation for nested blocks [ ] (Fill in)

do you know what UI kit is used on Linux?

[deleted]

Re: Lazarus – A Delphi-compatible cross-platform IDE

#22
post #7

I wish porting projects from Delphi was easier. I was trying to make Python bindings for the AcBR library[1] and failed miserably. Shameless plug: if you think you are up to the task and is not too expensive contact paulo at xtend.com.br [1] http://acbr.sourceforge.net/drupal/

I'd definitely use it more if I could port over the last few Delphi apps I have in production. My Delphi 7 is getting a bit old...

Aside from single-file executables, the biggest advantage to Lazarus (and also Delphi) [to me] is that all the libraries are also built in the language. No needing to bounce down to opaque DLLs just to display some GUI element.

Re: Lazarus – A Delphi-compatible cross-platform IDE

#23
post #4

Lazarus/FPC checks so many nice boxes: [x] Statically compiled [x] Native UI on Linux/Mac/Win [x] Typically compiled without code changes on Linux/Mac/Win [x] Small binaries [x] No GC [x] Readable, somewhat python-like syntax [x] Still, doesn't rely on indentation for nested blocks [ ] (Fill in)

As soon as you need 3rd-party libraries "statically compiled" is no longer the case. Or at least it's not easy, depend on platform and still bring a lot of mess.

Though in the right hands Lazarus is a great tool since relatively complex project could be completed just by one developer. E.g here is our game engine map editor:

https://github.com/vcmi/vcmi_editor

Another thing to note is that FPC provide good performance and even used for game development and memory footprint is small. There is RTS on Steam called Cossacks 3 and it's fully in Pascal (though no idea if they using FPC outside of Linux):

http://store.steampowered.com/app/333420/Cossacks_3/

PS: Another example would be open source Hedgewars of course.

Re: Lazarus – A Delphi-compatible cross-platform IDE

#26
post #20

I recently tried out Lazarus, and besides looking a bit dated, it works REALLY well. I had no Pascal experience so it was also overwhelming for a hello world app. But after the basic Pascal "Hello World" command line app, a GUI app didn't even require a tutorial to get working. Really impressed and am considering Pascal for a project.

For me as for the guy who only look at Lazarus not as developer, but as user who just go to compile map editor of our game (developed by other very skilled developer) main frustration was multi-windows interface. Not that I can't understand why some would prefer to work in that mode, but that alone make it feel more dated than it's actually is. It's still weird why they still ship it in multi-window mode by default,…

> main frustration was multi-windows interface.

Multiple windows are very comfortable if you have multiple displays connected to your computer.

Re: Lazarus – A Delphi-compatible cross-platform IDE

#27
post #11

mORMot framework is also a nice example for modern Pascal... https://synopse.info/fossil/wiki?name=SQLite3+Framework It has DDD, SOA, MVC, ORM (even for NoSql), REST, caching, logging and security features and works with Lazarus.

Looks great - have added to my research list on FPK. Thanks.

Re: Lazarus – A Delphi-compatible cross-platform IDE

#28
post #26
post #20

Earlier quoted context omitted.

For me as for the guy who only look at Lazarus not as developer, but as user who just go to compile map editor of our game (developed by other very skilled developer) main frustration was multi-windows interface. Not that I can't understand why some would prefer to work in that mode, but that alone make it feel more dated than it's actually is. It's still weird why they still ship it in multi-window mode by default,…

> main frustration was multi-windows interface. Multiple windows are very comfortable if you have multiple displays connected to your computer.

Lazarus is basically a Delphi 2 clone. Delphi ditched the multiple floating windows design starting in version 3 and every subsequent version has been the more traditional "MDI" design similar to Visual Studio. I really like that Lazarus kept the floating window design because it's nice to be able to see your desktop, the wallpaper is more pleasant than whatever solid color background is on the MDI client, and you can access tools and things by just clicking through to your desktop icons. Lazarus is like the best version of Delphi frozen in time.

Re: Lazarus – A Delphi-compatible cross-platform IDE

#29
post #28
post #26

Earlier quoted context omitted.

> main frustration was multi-windows interface. Multiple windows are very comfortable if you have multiple displays connected to your computer.

Lazarus is basically a Delphi 2 clone. Delphi ditched the multiple floating windows design starting in version 3 and every subsequent version has been the more traditional "MDI" design similar to Visual Studio. I really like that Lazarus kept the floating window design because it's nice to be able to see your desktop, the wallpaper is more pleasant than whatever solid color background is on the MDI client, and you ca…

This isn't true, Delphi 4 definitely had the multiple windows setup
Post reply on HN