开发者

Is R an interpreted or compiled programming language?

开发者 https://www.devze.com 2022-12-10 18:36 出处:网络
Is R an interpreted or compil开发者_JS百科ed programming language?The R FAQ says: \"The core of R is an interpreted computer language\".It\'s more accurate to say that the default implementation of so

Is R an interpreted or compil开发者_JS百科ed programming language?


The R FAQ says: "The core of R is an interpreted computer language".


It's more accurate to say that the default implementation of some language is interpreted or compiled. But not the language itself!


You can build a compiler or interpreter for any programming language. In general, the language itself is not compiled or interpreted.

So, R could be either interpreted or compiled. Nonetheless, in the most common implementation, R is interpreted.


R is an interpreted language.


R doesn't compile. There are projects that try to get it compiled: http://www.hipersoft.rice.edu/rcc/ , http://www.rforge.net/r2c/ but I can't find any currently supported.

That said, the performance on modern hardware seems reasonable for even larger workloads I have thrown at it (millions of records).


R is definitely written in C. I asked myself this question alittle while ago, and resolved it by downloaded the source code from http://www.r-project.org/.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号