Difference between revisions of "Commonly-Used Acronyms"
(FFI) |
(TLS) |
||
Line 44: | Line 44: | ||
* SFINAE: [http://en.wikipedia.org/wiki/Substitution_failure_is_not_an_error Substitution Failure is not an Error] | * SFINAE: [http://en.wikipedia.org/wiki/Substitution_failure_is_not_an_error Substitution Failure is not an Error] | ||
+ | |||
+ | * TLS: Thread-local Storage. A portion of static or global memory that is only accessible by single thread. | ||
* UDA: User-Defined Attribute. See [http://dlang.org/attribute.html here]. | * UDA: User-Defined Attribute. See [http://dlang.org/attribute.html here]. |
Revision as of 09:16, 29 August 2018
The D mailing lists, D blogs and IRC discussions commonly use acronyms.
Here is a small list of the usual ones:
- AA: Associative Arrays.
- ARC: Automatic Reference Counting. A form of automatic memory management.
- AST: Abstract Syntax Trees. Trees resulting from parsing.
- AST Macros: A macro system for transforming a program's AST during compilation. [Not implemented in D].
- CI: Continuous integration. A regular merging and automated testing of developer code with the mainline codebase.
- CTFE: Compile-Time Function Execution/Evaluation. The ability, for the D programming language to evaluate a (standard, runtime) function during compilation, yielding a compile-time constant as a result.
- DRY: Don't Repeat Yourself (in code) a principle summarized as: Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
- DSEL: Domain-Specific Embedded Language. A DSL used inside a more general programming language. Also known as an internal DSL.
- DSL: Domain-Specific Language. A small sub-language dedicated to a particular domain or problem. Examples are regexes, string formatters (%d, %s, ...).
- FFI: A foreign function interface (FFI) is a mechanism by which a program written in one programming language can call routines or make use of services written in another.
- FQN: Fully qualified name. See here.
- GC: Garbage Collection. A form of automatic memory management.
- ICE: Internal Compiler Error.
- IFTI: Implicit Function-Template Instantiation. For function templates, the template arguments can be automatically determined by the compiler from the function arguments.
- LGTM: Looks Good To Me. You can see it during voting threads and pull requests discussions.
- NIH: Not Invented Here. Also: NIH Syndrome. When someone insists on writing everything themself rather than using existing libraries or tools to solve a problem.
- NVI: Non-Virtual Interface. See here.
- PR: Pull Request. On Github, where most of the D development takes place, you can contribute code to the compilers and standard library by doing a pull request.
- TLS: Thread-local Storage. A portion of static or global memory that is only accessible by single thread.
- UDA: User-Defined Attribute. See here.
- UDT: User-Defined Type.
- UFCS: Universal Function Call Syntax. Allows
foo(a,b)
to be written asa.foo(b)
. This allows free functions to be called as if they were member functions and allows function calls to be chained with the . operator:[0,1,2].map!(a=>a+1)().array()
.