Re: SublimeLinter-contrib-dmd: dmd feedback as you type

2017-11-21 Thread Bastiaan Veelo via Digitalmars-d-announce

On Tuesday, 21 November 2017 at 18:43:29 UTC, drug wrote:

31.10.2017 01:22, Bastiaan Veelo пишет:
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.


Thank you for your tool! It works like a charm even in mixins 
and works out of box. I installed it just in case but now I've 
caught myself that I start using it.


Thanks for the thumbs up :-)


Silicon Valley D Meetup - December 14, 2017 - "Experimenting with Link Time Optimization" by Jon Degenhardt

2017-11-21 Thread Ali Çehreli via Digitalmars-d-announce

Meetup page: https://www.meetup.com/D-Lang-Silicon-Valley/events/245288287/

LDC[1], the LLVM-based D compiler, has been adding Link Time 
Optimization capabilities over the last several releases. [...]


This talk will look at the results of applying LTO to one set of 
applications, eBay's TSV utilities[2]. [...]


Jon Degenhardt is a member of eBay's Search Science team.
[...] D quickly became his favorite programming language, one he uses 
whenever he can.


Ali

[1] https://github.com/ldc-developers/ldc#ldc--the-llvm-based-d-compiler

[2] https://dlang.org/blog/2017/05/24/faster-command-line-tools-in-d/


Re: SublimeLinter-contrib-dmd: dmd feedback as you type

2017-11-21 Thread drug via Digitalmars-d-announce

31.10.2017 01:22, Bastiaan Veelo пишет:
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/
Thank you for your tool! It works like a charm even in mixins and works 
out of box. I installed it just in case but now I've caught myself that 
I start using it.


Re: Project Highlight: Diamond MVC Framework

2017-11-21 Thread Mengu via Digitalmars-d-announce

On Tuesday, 21 November 2017 at 05:27:50 UTC, bauss wrote:

On Monday, 20 November 2017 at 14:39:43 UTC, Mike Parker wrote:
You may have seen announcements regarding Diamond here in the 
forums. The project maintainer, Jason Jensen, a.k.a bauss, 
provided me with some info about it for a Project Highlight on 
the D Blog.


Blog:
https://dlang.org/blog/2017/11/20/project-highlight-diamond-mvc-framework/

reddit:
https://www.reddit.com/r/programming/comments/7e98zk/diamond_a_vibedbased_mvc_web_framework_for_d/


Thank you for writing the article!


thank you for developing and maintaining such a huge project.