Live data from Hacker News

Lazarus Version 1.6

getlazarus.org

41–49 of 49 posts

Re: Lazarus Version 1.6

#41
post #20

I love modern FreePascal with Lazarus; I wish there were more recent books about it, but it's a wonderful language and IDE. I really hope people here give it a shot.

Although there is plenty of information out there, I am working on making tutorials, guides, a new language reference, and even some lexical diagrams in SVG: http://www.getlazarus.org/learn/language/lexical/

Agreed but it isn't curated information - I bought a bunch of old Pascal books but finding newer info that isn't Delphi specific is pretty damn hard - a set of design pattern books for FPC guis would be amazing. The forums are good though!

Re: Lazarus Version 1.6

#43
post #7
post #2

This looks amazingly comprehensive and high quality for a non mainstream language. I wonder how difficult it would be to get something like Rust, Nim, D or Crystal to be able to call the FreePascal ABI and link with this.

It's status as "mainstream" is of course debatable, but Object-Pascal (aka Delphi) is #10 on TIOBE: http://www.tiobe.com/tiobe_index Lots of "famous" software has been written in Object-Pascal: https://jonlennartaasenden.wordpress.com/2014/11/06/famous-s...

The TIOBE index is Delphi's best showing. Object Pascal recently got a (sensible) boost in how its TIOBE rating is calculated: http://chapmanworld.com/2016/02/09/delphi-jumps-to-10th-plac...

I haven't seen Delphi feature in the top ten in any other language index so the TIOBE ranking seems to be an outlier, which is a shame because Object Pascal is a nice language.

Re: Lazarus Version 1.6

#44
post #20

I love modern FreePascal with Lazarus; I wish there were more recent books about it, but it's a wonderful language and IDE. I really hope people here give it a shot.

Although there is plenty of information out there, I am working on making tutorials, guides, a new language reference, and even some lexical diagrams in SVG: http://www.getlazarus.org/learn/language/lexical/

Could you refer me to good modern resources? I am fluent in C programming and would really like to get started with Pascal and Object Pascal using FPC and Lazarus. I really think the language adds a lot of nice things compared to C without sacrificing C's advantages and without becoming C++. The only problem I'm currently facing is finding resources to learn.

Re: Lazarus Version 1.6

#45
post #19

This looks like a pretty good equivalent to VB before it went all .Net and got a steeper learning curve.

Similar idea as old VB, but in no way equivalent. Much better language, much better component system.

Re: Lazarus Version 1.6

#46
post #6

Earlier quoted context omitted.

I've wondered the same for quite a while, or just to see similar projects for other languages. I would love to see an IDE like this for D definitely.

The D IDE Coedit is written using Lazarus: https://github.com/BBasile/Coedit It reuses the Lazarus code editor and other things I am sure. I'm not entirely familiar with language constructs of D, specifically reflection (RTTI in Lazarus) and properties/events which are the magical glue that makes Lazarus work the way it does.

The D IDE Coedit is not a RAD tool like Lazarus. It does nothing with reflection, like Lazarus does, typically object streaming based on what's done by the user in the visual designer, written to a file, that get linked in the final application and reloaded at run-time with object de-streaming.

In comparison, Lazarus + LCL + packages is 1.59M SLOC while Coedit barely reaches 30K SLOC.

Coedit is really a simple program, it's just an editor dedicated to D, with facilities to compile projects (DUB, DMD-based custom format) and also to run D modules from scratch, it's just a GUI with a lot of piped sub-processes under the hood ^^

Re: Lazarus Version 1.6

#47
post #6

Earlier quoted context omitted.

The D IDE Coedit is written using Lazarus: https://github.com/BBasile/Coedit It reuses the Lazarus code editor and other things I am sure. I'm not entirely familiar with language constructs of D, specifically reflection (RTTI in Lazarus) and properties/events which are the magical glue that makes Lazarus work the way it does.

I've tried using Coedit, it's not exactly a user friendly experience I've had, I wound up going back to textadept instead. Edit: I didn't know it was built on Lazarus / FP.

You should try version 2, it's better. It supports DUB natively now.

Re: Lazarus Version 1.6

#48
post #2

This looks amazingly comprehensive and high quality for a non mainstream language. I wonder how difficult it would be to get something like Rust, Nim, D or Crystal to be able to call the FreePascal ABI and link with this.

I've wondered the same for quite a while, or just to see similar projects for other languages. I would love to see an IDE like this for D definitely.

IIUC, there's https://github.com/buggins/dlangide that's gonna become a RAD tool, based on this GUI library: https://github.com/buggins/dlangui .

Re: Lazarus Version 1.6

#49

A question for Pascal programmers: have you used Pascal for web development? And would you recommend it for web development? If so, how did you find its speed of execution? By web app development, I mean code that runs server-side and processes forms, or generates pages dynamically. Web development is dominated by dynamic languages, but surprisingly few compiled languages seem to make headway in this space. The Go pr…

In addition to the Brook framework mentioned above, check https://github.com/synopse/mORMot. Maybe start from this blog post by the author: http://blog.synopse.info/post/2015/01/10/mORMot-under-Linux-...
Post reply on HN