Difference between revisions of "DIP80"
(→Description) |
(→Description) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{| class="wikitable" | {| class="wikitable" | ||
!Title: | !Title: | ||
− | !''' | + | !'''Phobos additions''' |
|- | |- | ||
|DIP: | |DIP: | ||
Line 16: | Line 16: | ||
|- | |- | ||
|Last Modified: | |Last Modified: | ||
− | |2015- | + | |2015-06-07 |
|- | |- | ||
|Author: | |Author: | ||
Line 26: | Line 26: | ||
== Abstract == | == Abstract == | ||
− | Phobos is awesome in most regards | + | Phobos is awesome in most regards. |
− | But some functionally | + | But some functionally could be added. |
== Rationale == | == Rationale == | ||
− | Make phobos even more useful. | + | Make phobos even more useful by adding modules that help in daily life. |
== Description == | == Description == | ||
+ | |||
+ | Libraries that would bring phobos a long way there would be: | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 39: | Line 41: | ||
|- | |- | ||
| boost::unit | | boost::unit | ||
− | | allows you to calculate with SI units for example | + | | allows you to calculate with SI units for example (http://code.dlang.org/packages/quantities) |
|- | |- | ||
| blas | | blas | ||
+ | | std.blas [http://forum.dlang.org/post/nilhvnqbsgqhxdshpqfl@forum.dlang.org forum annonce] | ||
+ | |- | ||
+ | | multidimensional ranges | ||
+ | | st.ndslice [https://github.com/D-Programming-Language/phobos/pull/3397 #3397] | ||
+ | |- | ||
+ | | allocator | ||
| | | | ||
|- | |- | ||
Line 59: | Line 67: | ||
| there is checkedint in druntime but no high level wrapper | | there is checkedint in druntime but no high level wrapper | ||
|} | |} | ||
+ | |||
+ | [[Category: DIP]] |
Latest revision as of 21:01, 26 December 2015
Title: | Phobos additions |
---|---|
DIP: | 80 |
Version: | 1.0 |
Status: | Draft |
Created: | 2015-05-28 |
Last Modified: | 2015-06-07 |
Author: | Robert burner Schadek |
Links: |
Abstract
Phobos is awesome in most regards. But some functionally could be added.
Rationale
Make phobos even more useful by adding modules that help in daily life.
Description
Libraries that would bring phobos a long way there would be:
Title: | Description |
---|---|
boost::unit | allows you to calculate with SI units for example (http://code.dlang.org/packages/quantities) |
blas | std.blas forum annonce |
multidimensional ranges | st.ndslice #3397 |
allocator | |
std container | map, set ... |
serialization | something that takes structes/classes and writes json,xml, ... and the other way around |
xml replacement | |
json replacement | |
SafeInt!T | there is checkedint in druntime but no high level wrapper |