
熟悉 Pascal 与 Delphi 开发的开发者大多听说过 Lazarus IDE——它为 Free Pascal 编译器(FPC)提供了类似 Delphi IDE 的图形界面。FPC 与 Lazarus 方面日前宣布,两者现已支持动态包(dynamic packages),这对 Lazarus 用户来说是个令人兴奋的新进展。
此举最直接的好处是:今后添加组件、控件与 Lazarus 扩展时不再需要重新编译整个 IDE。与此同时,开发者也可以在自己的 Pascal 应用程序中使用同样的动态包机制。
这无疑是一次重要改进,也让这门历史悠久的编程语言继续跟上时代。Pascal 至今仍被用于几乎所有类型的软件开发,包括 Web 开发;正如业界此前的讨论所言,今天的 Pascal 早已不是几年前那门语言的样子,当下仍有充分的理由使用它。
值得一提的是 Pascal 之父尼古拉斯·沃斯(Niklaus Wirth)的传承:他不仅创造了 Pascal,还与苹果公司共同推动了 Object Pascal 的发展。这条技术路线此后孕育出 Turbo Pascal、Delphi、FPC 等一系列成果,如今看到这一遗产以动态包支持的形式继续演进,着实令人欣慰。
本文来源:https://hackaday.com/2026/10/20/lazarus-and-the-free-pascal-compiler-gain-dynamic-package-support/
若有版权问题,请来信告知:13951431913#139.com 或在右方提交评论。
If you have developed in Pascal or Delphi in the past decades, you're probably familiar with the Lazarus IDE that provides an interface to the Free Pascal Compiler (FPC), much like Delphi's IDE. For users of Lazarus IDE there's now an exciting new development, with the announcement that FPC and Lazarus now support dynamic packages.
The upshot of this is that you no longer need to rebuild the IDE if you want to add components, controls and Lazarus extensions. In addition you can use this same dynamic package feature in your own Pascal applications this way.
Naturally this is a great improvement, and it's good to see more improvements to such a venerable programming language. Not only is it still being used today for just about anything, including web development, but there's a good case to be made for using Pascal today as it's no longer the language it was half a decade ago.
We'd also be remiss to not mention the legacy of Niklaus Wirth, who not only created Pascal, but was also instrumental in the development of Object Pascal together with Apple. This effort ultimately led to everything from Turbo Pascal to Delphi, FPC and so much more, making it a heartening sight to see this legacy being kept alive today.