Сравнивайте с английским: нажмите на абзац — оригинал откроется в окне. Кнопка EN под абзацем показывает его прямо в тексте.
Содержание
Введение
Borland Kylix – компилятор и интегрированная среда разработки (IDE), ранее продаваемая компанией Borland, но впоследствии снятая с продажи. Это среда разработки программного обеспечения для Linux, основанная на Borland Delphi и Borland C++ Builder, работающая под управлением Microsoft Windows. Продолжая греческую тематику Delphi, Kylix – это название древнегреческой чаши для питья. Наиболее близким поддерживаемым аналогом Kylix является бесплатный пакет Lazarus IDE, разработанный для обеспечения совместимости кода с Delphi. Начиная с 2010 года проект был возрожден в виде кросс-компилятора Delphi для Mac и Linux, что отражено в дорожной карте Embarcadero Delphi и C++ Builder. По состоянию на сентябрь 2011 года, с прекращением поддержки Kylix, платформой для кроссплатформенной разработки от Embarcadero является FireMonkey.
Borland Kylix is a compiler and integrated development environment (IDE) formerly sold by Borland, but later discontinued. It is a Linux software development environment based on Borland Delphi and Borland C++ Builder, which runs under Microsoft Windows. Continuing Delphi's classical Greek theme, Kylix is the name for an ancient Greek drinking cup. The closest supported equivalent to Kylix is the free Lazarus IDE package, designed to be code compatible with Delphi. As of 2010 the project has been resurrected in the form of Delphi cross compiler for Mac and Linux, as shown in the Embarcadero's Delphi and C++ Builder roadmap. As of September 2011 with Kylix discontinued the framework for cross platform development by Embarcadero is FireMonkey.
Особенности
Kylix поддерживает программирование приложений с использованием Object Pascal и C++, и особенно хорошо подходит для разработки утилит командной строки и (в особенности) приложений с графическим интерфейсом, но не предназначен для низкоуровневого программирования, такого как разработка драйверов устройств или модулей ядра. Несмотря на плохое взаимодействие со многими менеджерами окон Linux, IDE по сути представляет собой IDE Delphi 5, работающую поверх Wine, с быстрым компилятором нативного кода и инструментами для навигации по коду, автодополнения, всплывающих подсказок для имен параметров и т.п. Отладчик работоспособен, но загружается очень медленно и может привести к сбою всей IDE. Kylix включает CLX – версию VCL [Visual Component Library] от Borland для Linux, которая является (в основном) библиотекой управления на основе компонентов, аналогичной Visual Basic или WinForms от .NET. Как и другие библиотеки, ориентированные на компоненты, CLX содержит как визуальные компоненты (например, кнопки и панели), так и невизуальные компоненты (например, таймеры). IDE позволяет легко выбирать компоненты и размещать их на форме, редактируя свойства и обработчики событий с помощью "Инспектора объектов". VCL в Delphi – это объектно-ориентированная оболочка над базовыми элементами управления Win32, которая сопоставляет сообщения Win32 и API со свойствами и событиями, что значительно упрощает использование по сравнению с прямым API. Таким образом, VCL тесно связана с Windows, а CLX в Kylix построена на библиотеке Qt от Trolltech. CLX не на 100% совместима с VCL, и для переноса большинства программ Delphi на Kylix требуются определенные усилия, даже если они используют библиотеки Borland и избегают прямых вызовов операционной системы. Однако Qt – это переносимая библиотека, и, начиная с Delphi 6, Borland предоставляла CLX и для Windows, обеспечивая некоторую обратную переносимость.
Kylix supports application programming using Object Pascal and C++, and is particularly suited to the development of command line utilities and (especially) GUI applications, but not well suited to low level programming, such as the development of device drivers or kernel modules. Though it interacts poorly with many Linux window managers, the IDE is basically the Delphi 5 IDE running on top of Wine, with a fast native code compiler, and tools for code navigation, auto completion, parameter name tooltips, and so on. The debugger is capable, but very slow to load, and can crash the whole IDE. Kylix features CLX, a Linux version of Borland's VCL [Visual Component Library], which is (mostly) a component based control library, not unlike Visual Basic or NET's WinForms. Like other component oriented libraries, CLX contains both visual components (such as buttons and panels) and non visual components (such as timers). The IDE makes it easy to select components and place them on a form, editing properties and event handlers with an "Object Inspector". Delphi's VCL is an object oriented wrapper over raw Win32 controls, that maps Win32 messages and APIs to properties and events and is thus significantly easier to use than the raw API. As such, VCL is tightly bound to Windows, and Kylix's CLX is built on top of Trolltech's Qt library. CLX is not 100% compatible with VCL, and most Delphi programs require some effort to port to Kylix, even if they stick to the Borland libraries and avoid any direct OS calls. However, Qt is a portable library and, starting with Delphi 6, Borland provided CLX on Windows as well, providing a measure of back portability.
История
28 сентября 1999 года корпорация Inprise объявила о разработке высокопроизводительной среды разработки приложений для Linux, поддерживающей языки C, C++ и Delphi, с кодовым названием "Kylix" и планируемой датой выпуска в 2000 году. 24 марта 2000 года Inprise/Borland провела мероприятие для более чем 200 сторонних разработчиков, консультантов, тренеров и поставщиков инструментов и компонентов – первое из серии глобальных мероприятий, направленных на подготовку сторонних продуктов и услуг к работе с Kylix. 7 марта 2001 года Borland Software Corporation объявила о выпуске Borland Kylix, который с февраля 2001 года предлагался клиентам Dell Precision 220, 420 и 620 в США. 23 октября 2001 года Borland Software Corporation объявила о выпуске Borland Kylix 2. 13 августа 2002 года Borland Software Corporation объявила о выпуске Borland Kylix 3. В 2005 году, по сообщениям, Borland приняла решение о прекращении разработки Kylix. Дэнни Торп сыграл ключевую роль в убеждении Borland профинансировать Linux-версию Delphi и выполнил значительный объем работы, необходимой для того, чтобы компилятор Delphi мог создавать исполняемые файлы для Linux. Хотя и Delphi, и Kylix работают на 32-битных процессорах Intel, Linux использует иные соглашения о регистрах, чем Windows, и, конечно, форматы исполняемых файлов и библиотек отличаются; подробности см. в описании DLL, EXE, ELF.
On September 28, 1999, Inprise Corporation announced its development of a high performance Linux application development environment that will support C, C++, and Delphi development, code named "Kylix", with release date set for year 2000. On March 24, 2000, Inprise/Borland Corporation hosted more than 200 third party authors, consultants, trainers and tool and component vendors for the first in a series of worldwide events designed to prepare third party products and services for Kylix. On March 7, 2001, Borland Software Corporation announced the release of Borland Kylix, after it had been offered to U. S. customers of Dell Precision 220, 420 and 620 Workstations beginning in February 2001. On October 23, 2001, Borland Software Corporation announced the release of Borland Kylix 2. On August 13, 2002 Borland Software Corporation announced the release of Borland Kylix 3. In 2005, Borland reportedly moved to discontinue Kylix development. Danny Thorpe seems to have been largely responsible for getting Borland to fund a Linux version of Delphi, and he did a lot of the work necessary to make the Delphi compiler produce Linux executables. While both Delphi and Kylix run on 32 bit Intel processors, Linux uses different register conventions than Windows and, of course, the executable and library file formats are different; see DLL, EXE, ELF for details.
Наследие
В 2009 году Embarcadero опубликовала текущую дорожную карту развития Delphi и C++ Builder. В рамках проекта Delphi "X" планировалась кросс-компиляция для Mac и Linux. Embarcadero планировала выпустить новую версию Kylix (без обратной совместимости), но она не получит отдельного названия (Kylix). Она станет частью Delphi (и C++Builder), позволяя разрабатывать и компилировать код в Delphi Windows IDE с последующим развертыванием на Linux. Версия C++Builder также будет доступна. Этот пункт дорожной карты оставался в нескольких версиях как пункт для "будущих версий", но исчез из дорожных карт примерно в период XE3-XE4. Однако, части проекта X были реализованы в версиях XE2 и XE3, но для мобильных платформ и OS X. 8 февраля 2016 года Embarcadero Technologies, Inc. объявила об обновленной дорожной карте, в которой указана поддержка Linux-серверов в предстоящей RAD Studio 10.2 (кодовое название "Godzilla"), также известной как осенний релиз. Поддержка Linux для настольных систем не упоминалась. 22 марта 2017 года Embarcadero Technologies, Inc. объявила о выпуске RAD Studio 10.2.
In 2009 Embarcadero posted the current Delphi and C++ Builder roadmap. As part of project Delphi "X" cross compilation for Mac and Linux was planned. Embarcadero is planning to release a new version of Kylix (without backward compatibility), but it will not hold a special name (Kylix). It will be a part of Delphi (and C++Builder) where one can code and compile in Delphi Windows IDE and deploy to Linux. C++Builder version will be also available. This roadmap item remained a couple versions on the roadmap as point for "future versions" but disappeared from roadmaps in the XE3 4 timeframe. Parts of project X went in production with XE2 and 3 though, but for mobile targets and OS X. In 8 Feb 2016, Embarcadero Technologies, Inc. announced an updated roadmap that indicates Linux server support in upcoming RAD Studio 10.2 (code name "Godzilla") development track, aka the Fall release. Linux desktop support was not mentioned. On March 22, 2017, Embarcadero Technologies, Inc. announced the release of RAD Studio 10.2.