September 26, 2007 Re: How to include Python Modules in a D Program? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Bill Baxter | Bill Baxter Wrote: > No, and there probably never will be because the languages are just too different. I help the development of ShedSkin (sourceforge.net/projects/shedskin) with Mark, it can convert pure, but implicitly statically typed Python programs into optimized C++ code. Modifying it for D is well possible. bearophile |
September 26, 2007 Re: How to include Python Modules in a D Program? | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile | bearophile wrote:
> Bill Baxter Wrote:
>> No, and there probably never will be because the languages are just too different.
>
> I help the development of ShedSkin (sourceforge.net/projects/shedskin) with Mark, it can convert pure, but implicitly statically typed Python programs into optimized C++ code. Modifying it for D is well possible.
"Currently, these programs cannot freely use the Python standard library."
But ok, point taken. Maybe some day there will be something that will be able to convert whatever python code you want to throw at it. I guess there are lisp compilers that solve a similarly challenging problem.
--bb
|
September 30, 2007 Re: How to include Python Modules in a D Program? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Bill Baxter | Thanks for the info on this. I will definately take a look at this program. :) Thanks for all your help all. Development is a little slow, but I am learning. "Bill Baxter" <dnewsgroup@billbaxter.com> wrote in message news:fddeb1$1rqb$1@digitalmars.com... > bearophile wrote: >> Bill Baxter Wrote: >>> No, and there probably never will be because the languages are just too different. >> >> I help the development of ShedSkin (sourceforge.net/projects/shedskin) with Mark, it can convert pure, but implicitly statically typed Python programs into optimized C++ code. Modifying it for D is well possible. > > "Currently, these programs cannot freely use the Python standard library." > > But ok, point taken. Maybe some day there will be something that will be able to convert whatever python code you want to throw at it. I guess there are lisp compilers that solve a similarly challenging problem. > > --bb |
Copyright © 1999-2021 by the D Language Foundation