Everything2
Near Matches
Ignore Exact
Full Text
Everything2

D

"D" is also a: user

created by Zach

(thing) by barbie (5.5 y) (print)   ?   (I like it!) Wed Jul 12 2000 at 1:08:15

In ultimate frisbee, a forced turnover. A D is a very very good thing, and are reasonably rare. Our team is doing pretty well to get 10 Ds in a game, even against a weak team. Lay out Ds are even better, because they are much much cooler and more bad-assed. After a D, you should not pick up the disc, because it is very likely that you will throw the disc away from all the adrenaline pumping through your body. If you do happen to catch on D, i.e. intercept a pass by the other team, you should look dump right away. A D does not have to be an interception. Anything that forces a turnover, a point block, a blocked pass, or knocking the disc out of bounds is a D.

(idea) by muted (1.9 y) (print)   ?   (I like it!) Thu Dec 21 2000 at 23:08:52

Also, the symbol for a British penny, used before the monetary system was decimalized in 1971. Nowadays p is the preferred designator. In medieval days, most official documents were written in Latin, where denarius was the word used for penny, hence the d.

(thing) by beable (4.7 y) (print)   ?   (I like it!) Wed Apr 25 2001 at 10:23:13

Guitar chords: D major
D
 XXO
 ======
 ||||||
 ------
 |||1|2  2nd fret
 ------
 ||||3|
 ------
 ||||||
 ------
   DADF
      #

Notes:  1  : D
        3  : F#
        5  : A

(person) by Gamaliel (4.4 y) (print)   ?   (I like it!) Wed Jun 20 2001 at 13:55:43

D is one of the five authors (J, E, D, P, and R) of the Pentateuch or Torah (the first five books of the Bible) theorized by Biblical scholars. S/he may have lived during the 7th century BC.

D is short for the "Deuteronomist" and is credited with large parts of, as you may have guessed, Deuteronomy. D may have also had a hand in Joshua, Judges, Ruth, Samuel, and Kings, all historical scripture detailing the conquest of Canaan and the establishment of Israel. D's work includes a massive revision of religious law.

One author, Richard Elliot Friedman, suggests that the Deuteronomist may have been the prophet Jeremiah. A widely-held school of thought holds that D was Jeremiah's scribe Baruch.

(idea) by e-troon (4.1 d) (print)   ?   (I like it!) Fri Jun 22 2001 at 12:47:50

Everything Guitar Project : The Everything Guide to Guitar Chords : D

This is a brighter, more open sounding chord than the standard XX0232 fingering. Strictly it is D5, a power chord missing the major third. Good for acoustic guitar backing to vocals.

-5- 
-3- 
-2- 
--- 
-X- 
-X- 

(idea) by DogDaze (3 d) (print)   ?   (I like it!) 1 C! Fri Jan 09 2004 at 14:55:06

A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z

See also: Ð, ð, þ, Δ, δ, Ð, Þ, Ď, ď, Đ, đ, ɖ, ɗ

DE / DEE

'D' or 'D' is:

Values and Representations of "D" and "d"


(thing) by MightyMooquack (15.8 hr) (print)   ?   (I like it!) 2 C!s Sat May 06 2006 at 9:01:34

"Within C++, there is a much smaller and cleaner language struggling to get out." —Bjarne Stroustrup, The Design and Evolution of C++

The D programming language aims to be an evolution of C++. A C++ coder looking at D code will likely feel quite at home, though a few things will jump out at them as odd.

Fair warning: I may get somewhat technical during the course of this writeup. If your eyes start to glaze over, don't say I didn't warn you.

The home of D is on Digital Mars' website: http://www.digitalmars.com/d/. The Digital Mars D compiler (dmd), which is currently the most complete implementation of the language, may be found there. It is available for Windows and Linux. This version is written by Walter Bright, who designed the languge. (Walter Bright also designed Zortech C++, the first native C++ compiler.)

Another D compiler, the GNU D Compiler (gdc), which acts as a front-end to GCC, may be found at http://home.earthlink.net/~dvdfrdmn/d/. It is available for a variety of platforms that GCC supports, including Linux, Cygwin, MinGW, and Mac OS X.

Like C++, D is a multi-paradigm language. It offers procedural, functional, object-oriented, and generic programming features. Also like C++, it is statically typed, and compiles directly to machine code. Unlike C++, it is garbage collected.

Also unlike C++, D does not aim to be back-compatible with C. This mainly allows D to clean up the syntax a great deal (no more trailing semicolon on struct and class definitions, for instance). It is, however, link compatible with C. Using most C APIs from one's D code is usually just a matter of re-writing the C header file in D. This has already been done with the entire C standard library, the Windows API, and the Linux API, and these are all part of the std.c section of the D standard library. Several other popular C libraries (such as SDL and OpenGL) have D bindings available as well.

D's standard library (which is called Phobos) is little more than adequate. It duplicates some of the functionality of the C standard library and has some more modern functions. These include .zip archive support, computation of MD5 digests, and input and output streams (which seem to have more in common with Java streams than C++ streams). Again, the entire C standard library is still available to fill in missing functionality.

Most notably missing from the standard library is a standard template library. There is a D Template Library project out there, but it remains a work in progress. The lack of such a library is somewhat mitigated by the fact that dynamic arrays (like C++'s std::vector) and associative arrays (sort of like C++'s std::map, only implemented with a hash table rather than a red-black tree) are built-in language features. Strings are simply dynamic arrays of type char.

Though D most closely resembles C++, it also steals a number of features from other languages. The one it takes the most from is Java, though it takes a wee bit of inspiration from languages like Python and Ruby. Perhaps the largest difference between D and C++ is the removal of multiple inheritance in favor of mixins and Java-style interfaces.

Actually, I take that back. The biggest difference between D and C++ is that it is garbage collected. This solves a great many problems caused by manual memory deallocation (viz. memory leaks). It is suprisingly common among C and C++ users to look down upon garbage collection as either slow, or for lazy coders. In my personal case, I did so because Java's garbage collector is (or perhaps was as I haven't bothered with the language in some time) not very good. D's promises to be pretty good. (Not least because the delete operator will immediately call the object's destructor, removing a major gripe about Java's GC, viz. the lack of deterministic destruction. It also has the probable speed advantage of compiling to machine code.)

If a user wishes to manually allocate their memory anyway, the C standard library is still available, meaning malloc and free are still available for abuse. Additionally, a class may overload the new and delete operators to get around the garbage collector entirely.

D does two more things that Java does and C++ does not: First, all objects are instantiated by reference. Second, all classes ultimately derive from a class Object. (However, templates in D may still accept primitive types as arguments, so the language neatly ignores the wrapper class hell that Java can put people through. It also still supports operator overloading.)

Although references are now the "default" choice for everything except the primitive types, pointers are still available. The primary use for pointers is for ease of integration with C libraries, though they also allow low-level systems work. For typical, "day-to-day" use, references alone will usually serve. Several C++ oddities are reversed: this and new return references rather than pointers, and a null keyword is introduced to represent both the null pointer (assigning a pointer to 0 is now an error) and the null reference.

An overview of the other features of the language may be found at http://www.digitalmars.com/d/overview.html. The language spec (which is the closest thing the language has to documentation) may be found at http://www.digitalmars.com/d/lex.html. The spec is quite technical in nature, and is probably incomprehensible to anyone who doesn't already know C++ (or Java, though the language is closer to C++).


Template instantiation

C++:

std::vector<int> v;

D:

dtl.Vector!(int) v;

(or:)

int[] v;


"Hello world!" example

C++:

#include <iostream>

int main(int argc, char* argv[]) {
    std::cout << "Hello world!\n";
    return 0;
}

D:

import std.stdio;

int main(char[][] args) {
    writef("Hello world!\n");
    return 0;
}

(It is also worth noting that void main(), void main(char[][] args), and int main() are defined as equally valid forms of main() in the spec.)


Template class example

C++:

template<class T> class A {
    T m_t;
public:
    A(T t) : m_t(t) { }

    // Adds the argument to m_t, returns result.
    T add(T u) { return m_t + u; }
};

D:

class A(T) {
    T m_t;
public:
    this(T t) { m_t = t; }

    /**
     * Adds the argument to m_t, returns result.
     */
    T add(T u) { return m_t + u; }
}

(D supports normal C++-style // comments, C-style /* */ comments, Java-style /** */ doc-comments, and nestable /+ +/ comments.)


(definition) by Webster 1913 (print) Tue Dec 21 1999 at 22:53:18

D (dee)

1.

The fourth letter of the English alphabet, and a vocal consonent. The English letter is from Latin, which is from Greek, which took it from Phoenician, the probable ultimate origin being Egyptian. It is related most nearly to t and th; as, Eng. deep, G. tief; Eng. daughter, G. tochter, Gr. , Skr. duhitr. See Guide to Pronunciation, §§178, 179, 229.

2. Mus.

The nominal of the second tone in the model major scale (that in C), or of the fourth tone in the relative minor scale of C (that in A minor), or of the key tone in the relative minor of F.

3.

As a numeral D stands for 500. In this use it is not the initial of any word, or even strictly a letter, but one half of the uncial M, the original Tuscan numeral for 1000.

 

© Webster 1913.


printable version
chaos

C e A Having an S on a transcript rather than a B
B Guide to Chord Formation : Triads God as a reductio ad absurdum alphabet
D1 Grand Prix Ultimate Frisbee P Dido
delta Guns don't kill people. Wait, guns do kill people. The Everything Guide to Guitar Chords D-12
Da Da Denver Broncos E! d100
G &eth; D cup R
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Just another sprinkling of indeterminacy
The Way of Water
Judaism is a religion, not an ethnic grouping
Josephine Baker
Welsh Alphabet
Black beans and rice
Prehensile tails for humans
This is just pure cool! It's cryptic, mystical, lovely. I had no choice!
The mama and the dancing girl, unfurling
We are all sitting on our asses, simultaneously staring blankly at computer screens all over the world
A Table Alphabeticall
Everything M-Noder Washroom
Quinine
The humiliation of Richard Nequell
New Writeups
argv
Astral Plane(idea)
Madara
One Winged Angel(fiction)
Tom Rook
Talk is cheap(poetry)
shaogo
Adelle Davis(person)
Aerobe
race car g sfjsgsd(poetry)
Binah
Dream Log: July 5, 2008(dream)
StrawberryFrog
Forgotten things in space(idea)
antigravpussy
velvet revolution fairy tale(idea)
Heitah
Nerve agent VX(thing)
Pavlovna
shite(idea)
wonton
Days and nights come together in a slow falling down(fiction)
Pavlovna
wee(idea)
katherine
root log: July 2008(log)
Madara
There’s nothing like a trail of blood to find your way back home(fiction)
Heitah
After sneeze(idea)
This affordable entertainment brought to you by The Everything Development Company