Skip to content

Commit c04b501

Browse files
committed
changelog and download for 2.074.0-b2
1 parent 98c865d commit c04b501

File tree

2 files changed

+38
-12
lines changed

2 files changed

+38
-12
lines changed

changelog/2.074.0_pre.dd

Lines changed: 37 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -155,16 +155,15 @@ orphaned specifiers/arguments will cause a compile-time error:
155155
)
156156

157157
-------
158-
import std.format;
158+
import std.format, std.stdio;
159159

160-
void main() {
161-
auto s = format!"%s is %s"("Pi", 3.14);
162-
assert(s == "Pi is 3.14");
160+
auto s = format!"%s is %s"("Pi", 3.14);
161+
assert(s == "Pi is 3.14");
162+
writefln!"%c is %s"('e', 1.61);
163163

164-
static assert(!__traits(compiles, {s = format!"%l"();})); // missing arg
165-
static assert(!__traits(compiles, {s = format!""(404);})); // surplus arg
166-
static assert(!__traits(compiles, {s = format!"%d"(4.03);})); // incompatible arg
167-
}
164+
static assert(!__traits(compiles, {s = format!"%l"();})); // missing arg
165+
static assert(!__traits(compiles, {s = format!""(404);})); // surplus arg
166+
static assert(!__traits(compiles, {s = format!"%d"(4.03);})); // incompatible arg
168167
-------
169168
)
170169

@@ -213,9 +212,35 @@ assert(!hasStaticMember!(S, "nonstaticVar"));
213212

214213
$(LI $(LNAME2 std-expertimental-ndslice-removed,`std.experimental.ndslice` has been removed)
215214
$(P
216-
The synchronization between Phobos and Mir turned out to be a high amount of work with litte gain.
215+
The synchronization between Phobos and Mir turned out to be a high amount of work with little gain.
217216
Users of `std.experimental.ndslice` are advised to switch to the upstream
218-
$(LINK2 https://github.com/libmir/mir-algorithm, mir package).
217+
$(LINK2 https://github.com/libmir/mir-algorithm, mir-algorithm package).
218+
)
219+
220+
$(P
221+
It comes with a lot of new features
222+
$(UL
223+
$(LI $(LINK2 http://docs.algorithm.dlang.io/latest/mir_ndslice_topology.html, `mir.ndslice.topology`)
224+
- Multidimensional `std.range` analog. Includes `bitwise`, `bitpack`, `zip`, `unzip`, `map`, `indexed` and many other features.)
225+
$(LI $(LINK2 http://docs.algorithm.dlang.io/latest/mir_ndslice_concatenation.html, `mir.ndslice.concatenation`)
226+
- Concatenation and padding)
227+
$(LI $(LINK2 http://docs.algorithm.dlang.io/latest/mir_ndslice_algorithm.html, `mir.ndslice.algorithm`)
228+
- Slim multidimensional `std.algorithm` analog)
229+
$(LI $(LINK2 http://docs.algorithm.dlang.io/latest/mir_ndslice_sorting.html, `mir.ndslice.sorting`)
230+
- Multidimensional sorting utilities)
231+
)
232+
)
233+
234+
$(P
235+
`ndslice` design was changed. New ndslices can be created on top of random access iterators including pointers. There are three kinds of ndslice:
236+
)
237+
238+
$(P
239+
$(UL
240+
$(LI `Contiguous` - Contiguous in memory representation. It does not store strides and can be always flattened to 1 dimensional ndslice on top of the same iterator type. )
241+
$(LI `Canonical` - BLAS like. Stride for row dimension assumed to be equal to 1.)
242+
$(LI `Universal` - Numpy like. Each dimension has strides. All dimensions can be exchanged without reallocation. The old ndslice ABI corresponds to to the `Universal` ndslice.)
243+
)
219244
)
220245
)
221246

@@ -277,7 +302,7 @@ anyone using the `MersenneTwisterEngine` template directly.
277302

278303
$(P
279304
The internal implementation has been reworked to use Ilya Yaroshenko's
280-
highly optimized algorithm from `mir.random`. This should have a very
305+
highly optimized algorithm from $(LINK2 https://github.com/libmir/mir-random, mir-random). This should have a very
281306
noticeable positive effect for anyone who cares about generating a lot
282307
of random numbers quickly.
283308
)
@@ -299,6 +324,7 @@ $(BUGSTITLE DMD Compiler regressions,
299324
$(LI $(BUGZILLA 16680): dmd doesn't use druntime optimized versions of subtraction array operations)
300325
$(LI $(BUGZILLA 17117): [REG2.073] erroneous "escaping reference to local variable")
301326
$(LI $(BUGZILLA 17123): [REG 2.073] Issues with return @safe inference)
327+
$(LI $(BUGZILLA 17291): [REG 2.074-b1] windows: invalid relocation entries)
302328
)
303329
$(BUGSTITLE DMD Compiler bugs,
304330

download.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ Macros:
170170
_=BETA=$(COMMENT $0)
171171
BETA=$0
172172
B_DMDV2=2.074.0
173-
B_SUFFIX=b1
173+
B_SUFFIX=b2
174174

175175
DEB32=$(DLSITE dmd_$(DMDV2)-0_i386.deb)
176176
DEB64=$(DLSITE dmd_$(DMDV2)-0_amd64.deb)

0 commit comments

Comments
 (0)