iz 0.6.0

2017-09-07 Thread Basile B. via Digitalmars-d-announce
iz[1] (on DUB [2]) is a general purpose library for the D 
programming language. It includes streams, containers, a 
serializer, property binder, Pascal-like sets, Pascal-like 
properties and more.


It's particularly oriented toward manual memory management and 
since the last update some huge related work has been achieved:
- verify that everything is leak free (each unittest is run daily 
through valgrind as a CRON on TravisCI).
- Array and copy construction has been fixed, allowing to 
implement hashsets and maps in the library.
- Static check to verify if aggregates have to be declared to the 
GC (which is based on annotation of data: @NoGc)


The mechanisms i've setup are verified to work in a bigger 
project called kheops [3], which is a GUI library that's 100% GC 
free (and not 100% finished BTW...)


And also:
- Important fixes to the serializer, the system of "published" 
properties, the custom RTTIs.

- Plenty of small additions

[1] https://github.com/BBasile/iz
[2] https://code.dlang.org/packages/iz
[3] https://github.com/BBasile/kheops/tree/master/src/kheops

---
B4s1l3


Re: [OT] LLVM 5.0 released - LDC mentioned in release notes

2017-09-07 Thread bpr via Digitalmars-d-announce

On Thursday, 7 September 2017 at 20:55:22 UTC, Nordlöw wrote:
Are there any new code-generation features in LLVM 5.0 that LDC 
will make use of?


Given that LLVM has direct support for coroutines since 4.0 
(https://llvm.org/docs/Coroutines.html) I've wondered if D (even 
just LDC D for starters) could use that to implement async/await 
or a similar feature.





Re: [OT] LLVM 5.0 released - LDC mentioned in release notes

2017-09-07 Thread Nordlöw via Digitalmars-d-announce

On Thursday, 7 September 2017 at 19:26:51 UTC, Kai Nacke wrote:
LLVM 5.0 has been released! See the release notes here: 
http://releases.llvm.org/5.0.0/docs/ReleaseNotes.html

Downloads: http://releases.llvm.org/download.html#5.0.0


Great work, Kai!

Are there any new code-generation features in LLVM 5.0 that LDC 
will make use of?


Re: [OT] LLVM 5.0 released - LDC mentioned in release notes

2017-09-07 Thread Walter Bright via Digitalmars-d-announce

On 9/7/2017 12:26 PM, Kai Nacke wrote:
As usual LDC is mentioned in the release notes, too: 
http://releases.llvm.org/5.0.0/docs/ReleaseNotes.html#ldc-the-llvm-based-d-compiler

IMHO this is good advertisement for D & LDC.


Indeed it is. Thanks for making this happen!


Re: Release D 2.076.0

2017-09-07 Thread Timon Gehr via Digitalmars-d-announce

On 07.09.2017 09:48, Rainer Schuetze wrote:


I've added two more:

https://issues.dlang.org/show_bug.cgi?id=17812


https://github.com/dlang/dmd/pull/7127


https://issues.dlang.org/show_bug.cgi?id=17814


https://github.com/dlang/dmd/pull/7126


[OT] LLVM 5.0 released - LDC mentioned in release notes

2017-09-07 Thread Kai Nacke via Digitalmars-d-announce

Hi all!

LLVM 5.0 has been released! See the release notes here: 
http://releases.llvm.org/5.0.0/docs/ReleaseNotes.html

Downloads: http://releases.llvm.org/download.html#5.0.0

As usual LDC is mentioned in the release notes, too: 
http://releases.llvm.org/5.0.0/docs/ReleaseNotes.html#ldc-the-llvm-based-d-compiler

IMHO this is good advertisement for D & LDC.

Regards,
Kai


Re: D as a Better C

2017-09-07 Thread twkrimm via Digitalmars-d-announce

On Thursday, 31 August 2017 at 13:17:36 UTC, Claude wrote:
I think "betterC" can be a good tool to use D on embedded 
systems, keep as few dependencies as possible, a low ROM 
footprint and a good C interoperability.


I'll try to find some time to play with it.


I agree, embedded systems is one of the reasons I think betterC 
is a good idea.





Re: D as a Better C

2017-09-07 Thread Kagamin via Digitalmars-d-announce

On Monday, 28 August 2017 at 22:45:01 UTC, Parke wrote:

When I write "hello world" in C, the executable is 8,519 bytes.
 When I write "hello world" in D, the executable is 100 times 
larger: 865,179 bytes.


Interestingly, "hello world" in C, compiled statically, yields 
908,608 bytes.  And "hello world" in assembly yields 368 bytes.


https://forum.dlang.org/post/tmofjecvnqdthvete...@forum.dlang.org 
- an example for elf target.


Re: Release D 2.076.0

2017-09-07 Thread Rainer Schuetze via Digitalmars-d-announce



On 04.09.2017 11:00, Timon Gehr wrote:

On 02.09.2017 08:51, Ilya Yaroshenko wrote:

On Friday, 1 September 2017 at 14:03:26 UTC, Martin Nowak wrote:

Glad to announce D 2.076.0.

This release comes with static foreach, many -betterC enhancements, 
various phobos additions, an -mcpu=avx2 switch, and lots of bugfixes.


Thanks to everyone involved in this 👏.

http://dlang.org/download.html http://dlang.org/changelog/2.076.0.html

- -Martin


First "static foreach" bug report
https://issues.dlang.org/show_bug.cgi?id=17800



Thanks, but actually it is the second one. ;)
https://issues.dlang.org/show_bug.cgi?id=17688

I'll get to work.


I've added two more:

https://issues.dlang.org/show_bug.cgi?id=17812
https://issues.dlang.org/show_bug.cgi?id=17814


Re: Release D 2.076.0

2017-09-07 Thread Antonio Corbi via Digitalmars-d-announce

On Thursday, 7 September 2017 at 00:53:29 UTC, Ali Çehreli wrote:
This is the first time I'm trying to install with the install 
script as shown on the download page but it fails.


$ curl -fsS https://dlang.org/install.sh | bash -s dmd
Downloading and unpacking 
http://downloads.dlang.org/releases/2.x/2.076.0/dmd.2.076.0.linux.tar.xz

 100.0%
Invalid signature 
http://downloads.dlang.org/releases/2.x/2.076.0/dmd.2.076.0.linux.tar.xz.sig


Am I using it correctly?


I think so, it works for me.

A. Corbi



Re: Hong Kong dlang Meetup

2017-09-07 Thread sarn via Digitalmars-d-announce
On Monday, 4 September 2017 at 19:25:59 UTC, Jonathan M Davis 
wrote:

We haven't decided when exactly to meet up yet

Any updates?