Re: DMD v2.066.0-rc1

2014-08-09 Thread Maxim Fomin via Digitalmars-d-announce

On Thursday, 31 July 2014 at 12:51:53 UTC, Andrew Edwards wrote:

DMD v2.066.0-rc1 binaries are available for testing:

http://wiki.dlang.org/Beta_Testing


What about changelog?

http://dlang.org/changelog.html

In past it was pretty nicely made, but now it lists only 2 
changes (unlike 2.065 and 2.064 comprehensive changelogs and 
judging by how much time passed since 2.065 it should be lengthy 
too).


Re: Facebook is using D in production starting today

2013-10-11 Thread Maxim Fomin
On Friday, 11 October 2013 at 00:36:12 UTC, Andrei Alexandrescu 
wrote:
Today I committed the first 5112 lines of D code to Facebook's 
repository. The project is in heavy daily use at Facebook. 
Compared to the original version (written in C++) we've 
measured massive wins in all of source code size, build speed, 
and running speed.


I opened Facebook today and haven't noticed speed increase :) If 
I see, will attribute it to hard dmd working :)


In all likelihood we'll follow up with a blog post describing 
the process.



Andrei


Sorry for being skeptic, but after so many years of D advertising 
are you sure that 5112 lines in Facebook code is a proof of D 
rise or a quality? In recent years (may be I am biased here) I 
have very poor signals of D engaging into mainstream - from 
language popularuty indexes (which are criticized for not showing 
real state of things), IT forums or watching in which lang are 
some projects written.


Aside from speaking whether 5112 lines of code is really a good 
sign, there is separate issue regarding quality. When you will 
look at claim that some language (lets take for example C# or 
Java) supports feature X, that really means that the feature is 
supported. In D this for sure means that the feature is either 
broken or misdesigned (shared libraries, routine code breakages, 
obsolete ms32 object format, AA arrays, shared, const postblits, 
odd template crosstalk bugs, type system holes, segfaulting 
lambdas, unstable stdlib, absent of third-party libraries). 
Untill this stuff is fixed this is a huge barrier irrespective of 
whether D is used in Facebook or not.


Re: monarch dodra granted write access to phobos, druntime, and tools

2013-07-23 Thread Maxim Fomin

On Tuesday, 23 July 2013 at 13:25:36 UTC, eles wrote:
On Monday, 22 July 2013 at 18:08:36 UTC, Andrei Alexandrescu 
wrote:
Please join me in congratulating monarch dodra for his 
admission among our github committers. We're starting with 
phobos, druntime, and tools access, and if all goes well, 
we'll extend write rights to dmd also.


I would like to suggest granting dmd permissions too. From the 
beginning.




I wouldn't be so optimistic about granting dmd repo rights, but 
once monarch_dodra has stable contribution to dmd, it is 
reasonable to provide these rights too.



Dmd needs a lot of work and any helping hand could... help.


I don't think that adding +1 commiter will improve dmd pull queue.

Any mistake that could go into dmd code could be easily 
reverted. This is why git exists.


This is applied to any repo.


Re: Why implicit conversion of string literal to char[] does not works?

2013-07-02 Thread Maxim Fomin

On Tuesday, 2 July 2013 at 09:10:33 UTC, Michal Minich wrote:

void main ()
{
char[] str = abc;
// Error: cannot implicitly convert expression (abc)
// of type string to char[]
}

I thought there is no harm in that?


char[] str = ['a', 'b', 'c'];

This will only allocate once without placing data in object file. 
This is caused by obsolete Cism moved into modern language to 
treat string literals as constant objects (perhaps reasoning was 
made in 1980s in memory constraints of those times).


Ideally char[] str = abc should be as normal as int[] arr = 
[0,1,2] allowing to play with data as much as you wish.


Re: DConf 2013 Day 1 Talk 3: Distributed Caching Compiler for D by Robert Schadek

2013-05-13 Thread Maxim Fomin

On Monday, 13 May 2013 at 12:01:54 UTC, Andrei Alexandrescu wrote:

Watch, discuss, vote up!

http://reddit.com/r/programming/comments/1e8mwq/dconf_2013_day_1_talk_3_distributed_caching/


Andrei


Is the download speed too low because the video is popular? :)


Re: New Russian site about D Programming Language

2013-02-23 Thread Maxim Fomin

On Saturday, 23 February 2013 at 08:46:38 UTC, Suliman wrote:
Hi All! I know that a lot of Russian guys are take part in the 
project. Few months ago I had promise to create Russian site 
about D. And now I want to announce it.


http://dlang.ru

I know that there is several bugs (items on top menu do not 
work) and few issues on site, but I hope that we will fix it in 
next 3-4 days. Now it's mostly ok. In next hour I hope to setup 
@live login. Yesterday MS site show error)


So, after all time it is opened. This is very good news because 
barely there is a local D community.


Re: Programming in D book is about 78% translated

2013-02-22 Thread Maxim Fomin

On Friday, 22 February 2013 at 20:00:58 UTC, Ali Çehreli wrote:

On 02/22/2013 11:29 AM, Philippe Sigaud wrote:
On Fri, Feb 22, 2013 at 6:15 PM, Ali 
Çehreliacehr...@yahoo.com  wrote:

On 02/01/2013 03:55 AM, Philippe Sigaud wrote:

I like how you introduce the new syntax for 'alias' and 
'alias this'.


I just learned that 'alias this' has been converted to the 
old syntax in

2.062. I can't find any obvious indicator in the changelog.


*sigh*

Wasn't it only 'alias this = symb;' that got ditched?


That's correct.

Ali


After recent messages I realize that original depreciation 
discussion on github was really far away from community which is 
sign of proper announcement procedure failure. By the way, this 
also indicates that situation with D changelog is not 
satisfactory either.


Re: D 2.062 release

2013-02-18 Thread Maxim Fomin

On Monday, 18 February 2013 at 07:09:03 UTC, Walter Bright wrote:

On 2/17/2013 10:27 PM, Nick Sabalausky wrote:
I'm happy that http://dlang.org/changelog.html; no longer 
shows a link
for a yet-to-be-released version of DMD (no sarcasm intended), 
but the

release date listed for 2.062 is wrong.


Probably because the site was generated from the master branch 
rather than the 2.062 branch (which has the correct date).


One of the reasons which discourage committing to changelog is 
that it is placed in another repository, and that repository has 
strange building process.


Maybe having a working copy of changelog in dmd (and phobos, 
druntime) repository (with requirement that each pull involves 
changelog as like a test case) can be an option?


Re: D 2.062 release

2013-02-18 Thread Maxim Fomin
On Monday, 18 February 2013 at 10:55:39 UTC, David Nadlinger 
wrote:
On Monday, 18 February 2013 at 10:07:58 UTC, Leandro Lucarella 
wrote:
Again, the problem is making the changelog update optional! No 
pull
request should be merged if it doesn't include a proper 
changelog entry,

that's how it's done.


We tried that in the past, and it lead to tons of merging 
errors. They are easy to resolve manually, of course, but still 
very annoying because this breaks the GitHub Merge button.


David


Than maybe don't include changelog entry in a pull, but require 
that it is supplied with pull description as text, so that 
whoever mergers pull, separately pushes it to the branch? I would 
be nice if auto-tester could handle it automatically.


Re: Another opportunity for a major design win has presented itself

2013-02-07 Thread Maxim Fomin

On Thursday, 7 February 2013 at 20:16:03 UTC, Walter Bright wrote:
No, I can't say who it is at this time. Sorry. But it is a huge 
opportunity for us.


This is nice.


To get the design win, we need to:

(a) get dynamic linking and loading to work


Wasn't this realized before? By the way, last weeks there seems 
to be increasing dynamic linking  loading buzz like it was not 
an issue for ages.



(b) improve language safety without degrading efficiency


This is vague. Language safety (meaning design improvement) or 
implementation (fixing bugs)? How you can measure such 
improvement?



(c) improve quality as always


This is also vague. Quality of what: dmd/druntime/phobos?

Of course, these things benefit pretty much all D users anyway. 
Initially, (a) is the most important.


I guess recent patches dedicated to the issue came at right time.


Re: DPaste ain't going anywhere

2013-01-14 Thread Maxim Fomin

On Monday, 14 January 2013 at 09:34:50 UTC, nazriel wrote:

Hello!

I would love to say that it was just 1 April joke that Dpaste 
is going down but I can't. Things got complicated. I couldn't 
afford extending domain because I began to run low on money.


Thanks to Vladimir Panteleev aka CyberShadow, who donated money 
in order to extended domain. Things need a bit of time in order 
to make everything work, of course banks being the biggest 
bottleneck as usually. For those who can't live without Dpaste 
anymore, Vladimir created temporary subdomain. Here it is:


http://dpaste.1azy.net/

The most important things seems to work well. The only problem 
for now maybe loging in with Github, Google, and Facebook 
accounts. This issue will be resolved soon.


We are also discussing with Vladimir about hosting backend of 
dpaste on his server.


Source code for dpaste will be released soon on Github.
Development process will be open source from now.
Everyone will be able to contribute to dpaste.

So once again,
Hooray and big, big thanks for Vladimir for doing all of this.
Thanks bud!


Awesome!


Re: DPaste is going down

2013-01-13 Thread Maxim Fomin

On Sunday, 13 January 2013 at 12:40:38 UTC, nazriel wrote:

Hello.

I am very sad to announce that DPaste life came to an end.

I've been recently busy and haven't even notice that domain has 
expired.
Costs of keeping Dpaste alive are a bit too high for pure 
student like me ;)

(Mostly keeping backend's VPS paid).

I will put Dpaste website and backend source code on Github 
soon, so if someone would like to pick up the project, be my 
guest.


Best regards,
Damian Ziemba


That is very sad because the site was very convenient (although 
it missed some features). For example, I was checking behavior of 
code on different compilers - now I cannot do this without 
installing them.


Perhaps you can save site engine? BTW Vladimir Panteleev (aka 
thecybershadow) is already running on his server wiki.dlang.org, 
forum.dlang.org - perhaps he can maintain dpaste?


Anyway, it would be really nice to have a tool like dpaste, and 
perfect if it combines features from D auto-tester 
(http://d.puremagic.com/test-results/). For example, it would be 
very helpful to check code on several compilers and across 
several platforms.


Re: User Defined Attributes

2012-11-06 Thread Maxim Fomin

On Tuesday, 6 November 2012 at 07:55:51 UTC, Walter Bright wrote:

snip


Nice to hear because it was unexpected and was requested 
prevously by community.


Re: User Defined Attributes

2012-11-06 Thread Maxim Fomin

On Tuesday, 6 November 2012 at 08:39:47 UTC, Jakob Ovrum wrote:
On Tuesday, 6 November 2012 at 07:55:51 UTC, Walter Bright 
wrote:

-snip-


It doesn't look like it would be possible to schedule any 
runtime code using this, meaning they're not usable for stuff 
like registering types for serialization support, or doing 
runtime linking when attached to a function pointer, etc.




Runtime arrtibutes can be implemented as properties in object.d. 
This would work for classes only and for other types it can be 
implemented manually. Runtime attributes require substantial 
amount of work, introducing bugs, bloating ABI and new questions 
about how this feature does work with others.


Re: Win64 milestone

2012-09-09 Thread Maxim Fomin

On Sunday, 9 September 2012 at 00:35:36 UTC, Walter Bright wrote:
D1 now compiles Phobos1 completely, and gets all the way to 
main() without crashing, and shuts down without crashing.


(Why D1 first? Because it's much simpler to port than D2's 
druntime/phobos.)


Very good news. Will it compile D2 as well by 2.061?


Re: D Language and Fortran DLL article

2012-08-09 Thread Maxim Fomin

On Thursday, 2 August 2012 at 20:38:45 UTC, Michael wrote:


P.S.: And I did not find any appropriate russian community 
website about D Language, they exists?


I guess there were http://dprogramming.ru but now is dead
(last updated in fall 2010).
However, I noticed some increase in D concern couple of
month ago, so maybe in future situation will be better.