现代语言与FORTRAN的优势? [英] Modern language with the advantages of FORTRAN?

查看:196
本文介绍了现代语言与FORTRAN的优势?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近一直在和很多FORTRAN 77合作,尽管我起初有所保留,但现在我看到了这种语言的一些优秀特性。它是:
$ b

  • 简单易学(无面向对象或功能编程复杂性)
  • 易于阅读

  • 在数字处理中快速发展



这些品质对非 - 程序员工程师和科学家只是想让计算机快速给出答案。但基于其年龄和一些基本假设,它有很多限制。我怀疑非程序员如何轻松理解Fortran后期版本的一些附加功能。



是否有一种现代语言可以直接使用作为FORTRAN,数学应用程序的速度同样快,而且更少限制?或者是Fortran 90,95,2003的答案。 。 。 ?

解决方案


或者是Fortran 90,95,2003
的答案。 。 。 ?


是的。由大多数编译器支持的Fortran 95是您正在寻找的语言。然而,Fortran 2003有一些主要的增强(除了从OOP的角度来看支持是不必要的),这可能是有用的。 编译器支持Fortran 2003标准


I've been working with a lot of FORTRAN 77 lately, and though I had reservations at first, I now see some great qualities of the language. It is:

  • Simple to learn (no object-oriented or functional-programming complications)
  • Easy to read
  • Blazing fast at number-crunching

Those qualities are naturally attractive to non-programmer engineers and scientists who just want a way to make a computer give answers quickly. But it has a lot of limitations based on its age and some of its basic assumptions. I'm skeptical about how easily non-programmers can understand some of the added capabilities of later versions of Fortran, as well.

Is there a modern language that is as straightforward as FORTRAN, just as fast for mathematical applications, and less limited? Or is the answer Fortran 90, 95, 2003 . . . ?

解决方案

Or is the answer Fortran 90, 95, 2003 . . . ?

Yes. Fortran 95 supported by most compilers is the language you are looking for. However Fortran 2003 has some major enhancements (besides unnecessary from your point of view support of OOP) which might be useful. Compiler Support for the Fortran 2003 Standard.

这篇关于现代语言与FORTRAN的优势?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆