Last update December 16, 2011

Porting Overview



Porting to D from various other language can be easy, or it can be quite difficult. It all depends on the style and language features of the code you're trying to port.

The pages below are intended to provide an overview of the issues involved in porting idioms from different languages into D. If you are looking for differences from a language you use check out the page for learning D as a second language.

Porting

Porting refers to actually creating a line-by-line translation of an original body source code into D.

Wrapping

Wrapping refers to leaving the original source code as-is, but writing one or more layers of interfacing functions on top of that to allow calling the non-D code from D.

Related


FrontPage | News | TestPage | MessageBoard | Search | Contributors | Folders | Index | Help | Preferences | Edit

Edit text of this page (date of last change: December 16, 2011 3:14 (diff))