News for hackers. Stuff that matters.
Re:Lazarus Version 1.6 by trishume on Thursday February 18, 2016 @09:57PM (#11131243)
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.
Re:Lazarus Version 1.6 by bloblaw on Friday February 19, 2016 @12:36AM (#11131806)
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...

Re:Lazarus Version 1.6 by pjmlp on Friday February 19, 2016 @02:34AM (#11132175)
Just a pedantic comment, Object Pascal was actually developed by Apple with feedback from Niklaus Wirth as their main systems programming language (in the early days) and later adopted by Borland for Turbo Pascal 5.5 on MS-DOS.
Re:Lazarus Version 1.6 by clouddrover on Friday February 19, 2016 @07:19PM (#11137817)
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 by bloke_zero on Friday February 19, 2016 @11:31AM (#11134471)
I'm always reminded of number 43 in the list of Things to Say When You're Losing a Technical Argument "You used to program in Pascal, didn't you?" http://www.pigdog.org/auto/mr_bads_list/shortcolumn/1914.htm...

(And yeah I did - I liked it too!)

Re:Lazarus Version 1.6 by rufugee on Friday February 19, 2016 @10:51AM (#11134167)
I for one was really surprised at the list of software written in it listed in the second link. Skype? Dreamweaver? Really? I wonder how much of Skype is really still developed in it. Regardless...interesting list.
Re:Lazarus Version 1.6 by pjmlp on Friday February 19, 2016 @02:32AM (#11132164)
Pascal was surely mainstream in the 80's and 90's, with Turbo Pascal being the most famous dialect, to the point Pascal vendors ignored the ISO Extended Pascal favoring compatibility with Turbo Pascal instead.

For those of us into it, C wasn't never a thing neither we could get the famous rant from Kernighan about the language, as no serious Pascal developer would use the bare bones original ISO standard, just like most C devs never used pure K&R C back then.

Re:Lazarus Version 1.6 by narag on Friday February 19, 2016 @04:21AM (#11132491)
In the day someone made an interface between Delphi and Python that allowed a nice integration. You could execute Python scripts from Delphi code and call Delphi forms from Python.

Not sure if it's the same thing, but I found this: http://wiki.freepascal.org/Python4Delphi

That was to address if it's possible or easy to interface with Object Pascal. No idea about the languages you mention.

Re:Lazarus Version 1.6 by bloblaw on Friday February 19, 2016 @09:55AM (#11133749)
Yep, that's the same one. PyScripter, the open-source IDE for Windows, is written in Delphi with the Python4Delphi component: https://sourceforge.net/projects/pyscripter/
Re:Lazarus Version 1.6 by mamcx on Thursday February 18, 2016 @10:37PM (#11131369)
Probably not "hard". Delphi/FreePascal interop with C apis just fine, and even with C++. For example, all the VCL (the GUI toolkit on Delphi) is based on the WIndows API, just with better feel
Re:Lazarus Version 1.6 by giancarlostoro on Thursday February 18, 2016 @10:15PM (#11131291)
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.
Re:Lazarus Version 1.6 by sysrpl on Friday February 19, 2016 @12:26AM (#11131764)
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.

Re:Lazarus Version 1.6 by bzbg on Saturday February 20, 2016 @04:58PM (#11142145)
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 by giancarlostoro on Friday February 19, 2016 @12:41AM (#11131831)
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.
Re:Lazarus Version 1.6 by bzbg on Saturday February 20, 2016 @05:01PM (#11142152)
You should try version 2, it's better. It supports DUB natively now.
Re:Lazarus Version 1.6 by bzbg on Saturday February 20, 2016 @05:11PM (#11142198)
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 .