| 1 |
<html lang="en"> |
|---|
| 2 |
<head> |
|---|
| 3 |
<title>Front Page</title> |
|---|
| 4 |
<link rel="stylesheet" type="text/css" href="styles.css"> |
|---|
| 5 |
</head> |
|---|
| 6 |
<body> |
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
<h2>Front Page</h2> |
|---|
| 10 |
<h3>Introduction</h3> |
|---|
| 11 |
Derelict is a collection of D bindings to C shared (dynamic) libraries which are |
|---|
| 12 |
useful for multimedia applications, with a heavy bias toward libraries commonly |
|---|
| 13 |
used in game development. Derelict can be used with both D1 and D2, as well as |
|---|
| 14 |
with both the Phobos standard library and the alternative, Tango. It is |
|---|
| 15 |
also a goal to ensure that Derelict is available on every platform where D is available |
|---|
| 16 |
and, ultimately, that it is compatibile with the main D compilers. Neither of those goals has |
|---|
| 17 |
been completely met yet, but Derelict 2 is currently usable out of the box on Windows |
|---|
| 18 |
and Linux, mostly Mac-ready, and has seen some use on FreeBSD. |
|---|
| 19 |
<p> |
|---|
| 20 |
What makes Derelict different from other D bindings to C libraries is in the method |
|---|
| 21 |
used to link. Most bindings are designed to be linked at compile time either with a |
|---|
| 22 |
static version of a C library, or with the dynamic version. Derelict does not support static |
|---|
| 23 |
linking in any form. Instead, it requires the bound libraries to always be in shared form. The shared |
|---|
| 24 |
libraries are loaded manually at runtime. |
|---|
| 25 |
</p> |
|---|
| 26 |
|
|---|
| 27 |
<h3>General Facts You Need to Know</h3> |
|---|
| 28 |
<ul> |
|---|
| 29 |
<li>How to <a href="build.html">build</a> Derelict</li> |
|---|
| 30 |
<li>How to <a href="use.html">use</a> Derelict</li> |
|---|
| 31 |
<li>How to make use of Derelict's <a href="selective">selective loading</a> mechanism</li> |
|---|
| 32 |
</ul> |
|---|
| 33 |
|
|---|
| 34 |
</body> |
|---|
| 35 |
</html> |
|---|