Matt's S-plus Compiler

Matt's S-plus Compiler

This software is not affiliated in any way with StatSci or MathSoft.

Many people find S-plus to be easy to grasp and intuitive to an almost prescient degree. S-plus has allowed even the novice user to produce excellent graphics and to implement sophisticated algorithms in a straightfoward way. However, there is one defect that anyone who has written an S-plus for-loop knows, interpreted languages, like S-plus, are slow. Moreover, due to the memory management techniques employed by S-plus, it is easy to unintentionally eat up the available memory resources in unused but nevertheless allocated data frames.

The S-plus compiler, Scompile, was written to circumvent the aforementioned problems. Scompile translates a given S-plus program file into C, which then gets compiled by your local C-compiler. The compiled code is then loaded into the current S-plus session using the dynamic loading mechanism. Subsequent calls to the function(s) defined in the original S-plus program file will run the compiled C version. These are pretty much the same steps one would take if they wanted to recode a S-plus function into C, except the whole process (including writing the C) has been automated.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值