5 ms·
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 Crys
by trishume 11y ago
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.
- giancarlostoro 11y agoI'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.
- bzbg 11y agoIIUC, there's https://github.com/buggins/dlangide https://github.com/buggins/dlangide that's gonna become a RAD tool, based on this GUI library: https://github.com/buggins/dlangui https://github.com/buggins/dlangui .
- sysrpl 11y agoThe D IDE Coedit is written using Lazarus: https://github.com/BBasile/Coedit 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.
- bzbg 11y agoThe 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 ^^
- giancarlostoro 11y agoI'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.
- bzbg 11y agoYou should try version 2, it's better. It supports DUB natively now.
- mamcx 11y agoProbably 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
- bloblaw 11y agoIt's status as "mainstream" is of course debatable, but Object-Pascal (aka Delphi) is #10 on TIOBE: http://www.tiobe.com/tiobe_index http://www.tiobe.com/tiobe_index Lots of "famous" software has been written in Object-Pascal: https://jonlennartaasenden.wordpress.com/2014/11/06/famous-software-made-with-delphi/ https://jonlennartaasenden.wordpress.com/2014/11/06/famous-s...
- rufugee 11y agoI 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.
- bloke_zero 11y agoI'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.html http://www.pigdog.org/auto/mr_bads_list/shortcolumn/1914.htm... (And yeah I did - I liked it too!)
- clouddrover 11y agoThe 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-place-on-the-tiobe-index/ 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.
- pjmlp 11y agoJust 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.
- pjmlp 11y agoPascal 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.
- narag 11y agoIn 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 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.
- bloblaw 11y agoYep, 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/ https://sourceforge.net/projects/pyscripter/