Re: [OT] Fast Deterministic Selection
On Thursday, 18 May 2017 at 15:14:17 UTC, Andrei Alexandrescu wrote: The implementation is an improved version of what we now have in the D standard library. I'll take up the task of updating phobos at a later time. https://www.reddit.com/r/programming/comments/6bwsjn/fast_deterministic_selection_sea_2017_now_with/ Andrei Very nice! Is this materially faster than what is currently in Phobos (PR 4815)? That update was a substantial performance win by itself. --Jon
Re: Prettify and Resync are now open source too
To see how the prettified looks like, the easiest way is to have a look at any D source code file on the SenseLogic github account (https://github.com/senselogic/). All of them have had their spacings, indentations and alignments automatically standardized by Prettify. Basically, it's just Allman style code with leading operators in hierarchical expressions and four spaces per level of indentation, so nothing fancy... Of course, the code style and readability are also a matter of taste, so it's up to you to decide if you think that the code has been prettified or "uglified" ;)
Re: Prettify and Resync are now open source too
On Saturday, 20 May 2017 at 15:38:04 UTC, Bastiaan Veelo wrote: On Friday, 19 May 2017 at 16:22:36 UTC, Ecstatic Coder wrote: * Prettify : a source code prettifier for D and other languages. Can you tell something about in what ways D code is prettified? How does it compare to dfmt? Thanks. The main difference is that it applies its own set of strict coding standard rules for PHP/HTML, JavaScript, CSS, C, C++ and D. So it's basically a multi-language alternative to dfmt, which presents the prettified code a little differently (spaces, indentations, alignments, etc).
Re: Prettify and Resync are now open source too
On Friday, 19 May 2017 at 16:22:36 UTC, Ecstatic Coder wrote: * Prettify : a source code prettifier for D and other languages. Can you tell something about in what ways D code is prettified? How does it compare to dfmt? Thanks.