您对语言演变的预测
嗯,我知道这不仅仅与速度和内存使用有关。
但我想知道您认为大多数高级编程语言会发生什么。据我所知,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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
速度与摩尔定律的关系比语言本身更重要。因此,如果您从绝对角度考虑,只需定期升级您的机器,您就会获得更多的收益。
就内存占用而言,我预计大多数语言将继续收集功能,从而增加其占用空间。
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.
高级编程语言将继续获得更多抽象,使开发人员更容易具体指定他们希望计算机执行的操作,而不必亲自处理困难的底层细节,而编译器和/或运行时系统无论如何都更擅长优化任何开发人员都无法先验地做到这一点。
想一想:
指定结构和功能结果,而不是手动告诉计算机如何以及以什么顺序来洗牌这些事情
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:
Those kinds of things.
并行性,考虑到增加处理单元(核心)的数量是当今提高速度的主要方式。为了使其易于人类管理,软件事务内存似乎是最有前途的现实技术之一世界解决方案。
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.