您对语言演变的预测

发布于 2024-08-12 10:07:32 字数 93 浏览 2 评论 0原文

嗯,我知道这不仅仅与速度和内存使用有关。

但我想知道您认为大多数高级编程语言会发生什么。据我所知,Java 比过去快得多,那么 python、php 等呢?

Well, I know it's not all about speed and memory usage.

But I would like to know what you think will happen to most of the high-level programming languages. As far as I know, Java is much faster than it was in the past, what about python, php etc.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

痴梦一场 2024-08-19 10:07:32

速度摩尔定律的关系比语言本身更重要。因此,如果您从绝对角度考虑,只需定期升级您的机器,您就会获得更多的收益。

内存占用而言,我预计大多数语言将继续收集功能,从而增加其占用空间。

Speed has more to with Moore's law than the language itself. So if you are looking in absolute terms, you'll get more bangs for more buck by just upgrading your machine on a regular basis.

In terms of memory footprint, I expect most languages to continue gathering functionality thus increasing their footprint.

葬心 2024-08-19 10:07:32

高级编程语言将继续获得更多抽象,使开发人员更容易具体指定他们希望计算机执行的操作,而不必亲自处理困难的底层细节,而编译器和/或运行时系统无论如何都更擅长优化任何开发人员都无法先验地做到这一点。

想一想:

  • 支持多线程执行(如最新 .NET 中的并行扩展),
  • 周围的哪些位集。

指定结构和功能结果,而不是手动告诉计算机如何以及以什么顺序来洗牌这些事情

High level programming languages will continue to get more abstractions that make it easier for developers to specificy what they want a computer to do, without having to get their hands dirty with difficult underlying details that a compiler and/or runtime system is better at optimizing anyway than any developer might be able to do a priori.

Think about:

  • support for multi-threaded execution (like Parallel Extentions in latest .NET)
  • specifying structure and functional outcome instead of manually telling computer exactly how and in what order to shuffle which sets of bits around

Those kinds of things.

三寸金莲 2024-08-19 10:07:32

并行性,考虑到增加处理单元(核心)的数量是当今提高速度的主要方式。为了使其易于人类管理,软件事务内存似乎是最有前途的现实技术之一世界解决方案。

Parallelism, given that increasing the number of processing units (cores) is the principal way of gaining speed nowadays. To make it manageable to humans, software transactional memory seems to be one of the most promising real-world solutions.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文