SublimeLinter-contrib-dmd: dmd feedback as you type

2017-10-30 Thread Bastiaan Veelo via Digitalmars-d-announce
SublimeLinter-contrib-dmd [1] is a plug-in for the Sublime Text 3 
editor [2]. Unlike linters that are based on DScanner, it 
actually invokes dmd on the file that is being edited, as you 
edit. If dmd finds anything to complain about, an annotation is 
shown in the editor: warnings and deprecations in orange, errors 
in red. If SublimeLinter (a plug-in dependency) is configured to 
show tool tips, the error message pops up after a click on the 
annotation (see screen shots [1]). SublimeLinter offers shortcuts 
for jumping to errors and it is possible to postpone on-the-fly 
linting or lint only on request.


The advantages of using dmd for linting are:

1. The parser is always up-to-date.
2. Full symbol resolution, including imports.
3. Mixins are expanded.
4. Templates are validated.
5. Deprecation warnings are included.
6. The "did you mean …" assistance appears right where it is most 
helpful.


The plug-in is easily installed from within the editor, as 
described on the project page [1].


Dmd does not always get the column number exactly right, which 
can cause the annotation to be misplaced, but that is just a 
cosmetic deficiency. I have not tested this on larger code bases 
and only on Windows, but I expect it to work on all platforms 
supported by Sublime Text 3. Please let me know if you find any 
issues. The editor is not free, but it continues to work after 
your evaluation period has expired.


On request I can add an option to configure the path to dmd, 
currently it expects to find dmd using the system path.



Hope you like it,
Bastiaan.

[1] https://github.com/veelo/SublimeLinter-contrib-dmd
[2] http://www.sublimetext.com/


DCompute: Running D on the GPU

2017-10-30 Thread Mike Parker via Digitalmars-d-announce
To accompany the recent release of DCompute 0.1.0, Nicholas 
Wilson has written a sequel to his earlier blog post on the 
framework, with a quick intro on getting started.


The blog:
https://dlang.org/blog/2017/10/30/d-compute-running-d-on-the-gpu/

Reddit:
https://www.reddit.com/r/programming/comments/79nmxz/dcompute_running_d_on_the_gpu/


Re: Release Candidate [was: Re: Beta 2.077.0]

2017-10-30 Thread Basile B. via Digitalmars-d-announce

On Saturday, 28 October 2017 at 23:21:56 UTC, Martin Nowak wrote:

First release candidate for 2.077.0.

The OMF Windows API import libraries were updated, a bug in 
std.bigint was fixed, and the version identifier for `-betterC` 
is now `D_BetterC`.


- -Martin


Thanks, i have no problem here with the RC, tested it well, 
though looking at the log there would be no reason why i would 
have.