Re: Beta D 2.071.2-b2
On Tuesday, 9 August 2016 at 15:37:27 UTC, Martin Nowak wrote: Second beta for the 2.071.2 release. Nice. Merged into LDC master. -Johan
Re: Battle-plan for CTFE
On Tuesday, 9 August 2016 at 12:30:18 UTC, Kagamin wrote: 1. You said CTFE engine can be ctfeable itself? But it uses unions in BCValue - it's not going to work in CTFE, is it? Just wondering myself what's the way to have polymorphism at compile time. 2. The byte code generator interface has no mean to declare functions? In case of LLVM jit one would want to declare functions so that jit can use registers to pass parameters for a bit more extra speed, though it's probably not worth it. 1. unions work fine when you use them as discriminated unions. 2. The BCGen does not have to declare functions. Since every-time it is created it will implicitly define a function. It will all make more sense once the function-call system works.
Beta D 2.071.2-b2
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Second beta for the 2.071.2 release. This fixes Issue 15780, 16085, and 16348. More import/lookup fixes upcoming. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.071.2.html Please report any bugs at https://issues.dlang.org - -Martin -BEGIN PGP SIGNATURE- Version: GnuPG v2 iQIcBAEBCgAGBQJXqfi2AAoJELJzgRYSuxk5oQsQAJmoLF8vdgLlgbP4bXRay4AQ U9fddamW1AtAO5RWs4sf8DM4SOfsfCOgfo5dgk95ra2HO9jIvtnoyUh4wvQ/6fRm s1ZfGdekIlV1PJ+Snd4Wbl7N56MrtshpsI05/DxXLwpPBB9S6RIla/p4sZg0eRxi Jrr2Gb+kv3HyM4sU9qXkS06krLtki9Xn4lWqYqBSS4O9btgEURw6Xu18NOBQ2Oc6 2rI1O/Ohv0FD8Kc9g/Wr4A4K1AlNX2cI1p9UpJfbWd7JiNO5TPUZ+IJFUS08H0EE u/qLh4j1qDzER1sAV9a2poxPpUYNOhusI7C2M/uQqPnCtwtsmC/+BsdO3Lqr8wsS FHPBblEEOj0uL0mxdhe7mMap5GXkVG/HUyE61z30HlhEsWOmE6ANGJTzXjcARrkF shBQBu+Gidxlpf6B24j4TmjYE+GfA5G2S/XObg7I97nbmpsTXFDvNBS1egqGg3qF H3nXakholg4kqzAc3uBDUif8h1nsyTBjiao3xe4VTWaKnmfg4KtziU8wimhs97Xa DjlmW2fuqN7kjLpUyddOeluX4sUwCXWmXx1fFnpG8xDEw6/S1B7WY/oAlq1fw6KQ bA/rA53VfeVeoI7/K1loq7RlkZ+VnQkciOTWPATk0kZKy361Dvt37bFzZSW0F08M iehJNnUAt5e0AmpwVMaj =pAPd -END PGP SIGNATURE-
Re: ArrayFire, a GPU library, is now open source
On Thursday, 13 November 2014 at 02:06:03 UTC, bachmeier wrote: ArrayFire is open source, as announced on Hacker News and Reddit https://github.com/arrayfire/arrayfire Overview here: http://www.arrayfire.com/docs/index.htm There is a C API so it is easy to call from D. This should help the situation for numerical programming with D. But basically it is still C and not D?
Re: std.experimental.ndslice.algorithm is ready for review
The PR and Mir v0.16.0-alpha7 have half and triangular selections. They are very helpful to work with matrixes.
Re: Battle-plan for CTFE
1. You said CTFE engine can be ctfeable itself? But it uses unions in BCValue - it's not going to work in CTFE, is it? Just wondering myself what's the way to have polymorphism at compile time. 2. The byte code generator interface has no mean to declare functions? In case of LLVM jit one would want to declare functions so that jit can use registers to pass parameters for a bit more extra speed, though it's probably not worth it.
Re: ndBenchmarks #1: ndslice.algorithm vs std.numeric vs std.algorithm
On Wednesday, 3 August 2016 at 20:53:59 UTC, Ilya Yaroshenko wrote: Hi all, There are two first [1] benchmarks for upcoming ndslice.algorithm [2]. Recent LDC alpha based on LLVM 3.8 and recent Mir v0.16.0-alpha3 are required. @fasmath syntax may be changed a little bit and will be simplified anyway. [...] The PR and Mir v0.16.0-alpha7 have half and triangular selections. They are very helpful to work with matrixes.
Re: This Week in D: debugging uncaught exceptions
On Monday, 8 August 2016 at 04:24:45 UTC, Adam D. Ruppe wrote: I decided to write up a think on untrapping exceptions this week: http://arsdnet.net/this-week-in-d/2016-aug-07.html Next week I'll prolly talk about calling D from Ruby. Last week, we had a status report from Stefan Koch on his CTFE engine. If you aren't already following this, every Sunday night or Monday morning, the little newsletter comes out with a snapshot of forum activity and about half of them have some kind of longer article or tip or other such educational content. The RSS feed (linked on the page) is also a single-page archive so you can search for old things there too! Thank you Adam, this is pure gold stuff to know! /Paolo
D on exercism.io
The D language track is alive on exercism.io - http://exercism.io/languages/dlang. It would be great if it gets some feedback from the D community. The site encourages code review on the submitted code. It would be nice to have some implementations of the current problem set from more seasoned D programmers. The current exercises and their default solutions try to cover as much ground as possible from the language for a beginner to get the feeling of it. If anyone has ideas for new exercises please contribute or if the time is an issue send me a message with a clear problem statement and a set of unit tests. I would like to say that for me the sit worked quite well and it helped me get started with the language. Thanks