| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
原始链接: https://news.ycombinator.com/item?id=39426631
似乎不同类型的开发人员之间围绕“跨平台应用程序支持”的争论仍在继续,但 Pascal 似乎在历史上多次证明了其在这方面的价值。 delphi 和 fpc 编译多操作系统可执行文件并跨不同操作系统构建提供功能的能力使其有别于 Swift 和 Java 等竞争对手。 然而,虽然通过模拟或转编译生成多格式内容的能力仍然相关,但由于性能差异,与本机编译的对应内容相比,它最终还是不足。 因此,虽然它继续为以较低分辨率运行的游戏或利用矢量资源降低渲染复杂性的游戏提供重要用途,但它在对抗以更高分辨率运行的完全原生软件或推动 AAA 级游戏的高级光栅化技术方面失去了动力。 尽管如此,对于在某些限制下工作的独立工作室来说,Pascal 的功能为提供高质量内容提供了一条可行的道路。
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
I'm gonna have to put a damper on things, here. Most of the reasons listed are things available in any other modern language (safety, cross-platformness, libraries...) but one of the things cited is readability.
I work on Pascal code 8 hours a day, and it is not more readable then conventional C syntax ; I'd argue it's much less. The fact that you need to use entire words to denote syntax makes it much harder for your brain to parse things : Instead of immediately seeing "this is code structure" and "this is actual code", you need to actually read the words to make that distinction. It is very counter-productive and a bad design solution, imo.
I feel like this page was written 20 years ago. The reasons would have made quite a lot more sense back then, notably about the type safety.
reply