On Thursday, 20 September 2012 at 00:14:04 UTC, Jonathan M Davis
wrote:
On Thursday, September 20, 2012 00:12:04 Felix Hufnagel wrote:
isn't it even worse?
import std.stdio;
struct S
{
int i;
this(void* p = null){this.i = 5;}
}
void main()
{
//S l(); //gives a linker error
auto k = S
isn't it even worse?
import std.stdio;
struct S
{
int i;
this(void* p = null){this.i = 5;}
}
void main()
{
//S l(); //gives a linker error
auto k = S();
writeln(k.i); //prints 0
}
+1 for
hashes into std.hash
and cryptographic primitives into std.crypto
and we should have a std.net (std.uri, std.socket, std.socketstream ,
std.net.curl, ...),
std.io. for (Outbuffer, file, )
and probably std.database or something like that for (csv, json, xml, ...)
...
Am
it's not that hard to write a baseline jpeg encoder. it's not harder than
decoding.
there are many tutorials and examples online.
Am 17.06.2012, 09:55 Uhr, schrieb cal callumena...@gmail.com:
On Sunday, 17 June 2012 at 07:07:35 UTC, Philippe Sigaud wrote:
Still, I'm interested in writing
Dav1d has one : https://bitbucket.org/dav1d/glamour/overview
what we have in Derp:
https://github.com/svenstaro/derp/blob/master/derp/graphics/shader.d
in addition to .codeof, let's think about .astof returning an abstract
syntax tree.
+1