Re: My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-03 Thread Christof Schardt via Digitalmars-d
On Saturday, 3 February 2018 at 22:59:06 UTC, Dgame wrote: I congratulate you on your decision. I also changed to another language and I've never regretted it. Which is...? (just out of curiousity, btw I'm currently watching nim, after long years monitoring D and buying every book)

Re: Commercial video processing app in D (experience report)

2016-04-27 Thread Christof Schardt via Digitalmars-d-announce
On Wednesday, 27 April 2016 at 12:42:05 UTC, thedeemon wrote: IDE Visual Studio 2010 with VisualD. I've used this combo for many years, generally quite successively. Last year its D parser had Thanks for this excellent contribution. It gives a lot of insights. Just a question: When working

module renaming by declaration

2016-03-19 Thread Christof Schardt via Digitalmars-d-learn
The module declaration allows to define a module name different from the filename. (TDPL sec. 11.1.8) I tried a simple example: File test.d: - import bbb; - File aaa.d (same directory): - module bbb; - Running rdmd test.d does give an error: "module bbb is

Re: Please vote for the DConf logo

2015-11-04 Thread Christof Schardt via Digitalmars-d-announce
3 (PNG)

Re: Programming in D paper book is available for purchase

2015-08-19 Thread Christof Schardt via Digitalmars-d-announce
Ali Çehreli acehr...@yahoo.com schrieb im Newsbeitrag news:mr0k9s$2mdv$1...@digitalmars.com... I am very happy! :) So am I (just ordered). Christof

Re: how can I get a reference of array?

2015-02-05 Thread Christof Schardt via Digitalmars-d-learn
Ali Çehreli acehr...@yahoo.com schrieb im Newsbeitrag news:mav4a1$l3a$1...@digitalmars.com... On 02/04/2015 10:42 PM, zhmt wrote: The following article is very informative: http://dlang.org/d-array-article.html Nice and important article. But: How could I have looked this up this myself?

Re: dlang.org redesign -- general thoughts and issues [part 1]

2015-01-23 Thread Christof Schardt via Digitalmars-d
aldanor i.s.smir...@gmail.com schrieb im Newsbeitrag news:didzczqdggjchqgtg...@forum.dlang.org... Hi all, I've started redesigning dlang.org AGAIN (yea, I Very sensible considerations. I think your way is the right way to go: first think about structure, then presentation and finally style.

Re: UFCS in C++

2014-10-13 Thread Christof Schardt via Digitalmars-d
:-)Ali, you made my day! Actually, there are references to D in that article. One of those is even about considering D as an alternative. An excerpt from page 10: void alternative(D d)// an alternative to consider { // ... }

Harmonia and the GC

2014-09-23 Thread Christof Schardt via Digitalmars-d
Do you guys remember 'Harmonia' ? A promising GUI-tool once developed in D1 by Andrew Fedoniouk. [1,2,3] Unfortunately he stopped the development long time ago and changed his tools. The reasoning is now explained in his recent blog post [4] Interesting (regarding the recent GC-discussion

Re: Redesign of dlang.org

2014-04-18 Thread Christof Schardt via Digitalmars-d
Aleksandar Ruzicic aleksan...@ruzicic.info schrieb im Newsbeitrag news:mmoxalewsvwcgeaas...@forum.dlang.org... But, all this time D's official website somehow archaic look kept troubling me. Me too. I have also tried to design something myself (although I'm not a designer) and this is what

Re: Problems with dlang.org ?

2014-04-05 Thread Christof Schardt
cmplx magii...@mail.ru schrieb im Newsbeitrag news:jvdtaskuqavqdiucf...@forum.dlang.org... Why all the links not opening ? Still down here. Is there another way to access the phobos doc?

Re: Problems with dlang.org ?

2014-04-05 Thread Christof Schardt
uri gm...@gmail.com schrieb im Newsbeitrag news:utskrusuysuoimrnh...@forum.dlang.org... On Saturday, 5 April 2014 at 11:31:41 UTC, uri wrote: On Saturday, 5 April 2014 at 11:22:03 UTC, Christof Schardt wrote: cmplx magii...@mail.ru schrieb im Newsbeitrag news:jvdtaskuqavqdiucf

Re: Finally full multidimensional arrays support in D

2014-03-17 Thread Christof Schardt
I looked to the doku-page and expected to see, how some basic matrix-operations could be performed. Like e.g. (basic syntax) this: Dim a(10,12) a(3,4) = 7 a(i,j) = a(j,i) * 12 Instead I found exotic assignments and calculations. Did I expect the wrong thing?

Reading a string in binary mode

2014-03-03 Thread Christof Schardt
I'm evaluating D and try to write a binary io class. I got stuck with strings: void rw(ref string x) { if(_isWriting) { int size = x.length; _f.rawWrite((size)[0..1]); _f.rawWrite(x); } else { int

Re: Reading a string in binary mode

2014-03-03 Thread Christof Schardt
John Colvin john.loughran.col...@gmail.com schrieb im Newsbeitrag news:dyfkblqonigrtmkwt...@forum.dlang.org... On Monday, 3 March 2014 at 21:44:16 UTC, Christof Schardt wrote: I'm evaluating D and try to write a binary io class. I got stuck with strings: void rw(ref string x

Re: Reading a string in binary mode

2014-03-03 Thread Christof Schardt
Ali Çehreli acehr...@yahoo.com schrieb im Newsbeitrag news:lf2ude$1njf$1...@digitalmars.com... On 03/03/2014 01:44 PM, Christof Schardt wrote: I'm evaluating D and try to write a binary io class. I got stuck with strings: void rw(ref string x) { if(_isWriting

Re: Reading a string in binary mode

2014-03-03 Thread Christof Schardt
John Colvin john.loughran.col...@gmail.com schrieb im Newsbeitrag news:zjsykclxreagfhqsq...@forum.dlang.org... On Monday, 3 March 2014 at 22:22:06 UTC, Christof Schardt wrote: John Colvin john.loughran.col...@gmail.com schrieb im Newsbeitrag news:dyfkblqonigrtmkwt...@forum.dlang.org

Re: Reading a string in binary mode

2014-03-03 Thread Christof Schardt
bearophile bearophileh...@lycos.com schrieb im Newsbeitrag news:qqcdemwimcylaizjy...@forum.dlang.org... Christof Schardt: By trickery I meant having to know about things like import std.exception : assumeUnique for this basic kind of task. Your function has signature (you use ref instead

Re: Impressed

2012-07-27 Thread Christof Schardt
Stuart stu...@gmx.com schrieb im Newsbeitrag news:pzhwiumzhktkzdmvl...@forum.dlang.org... Why does D have GOTO? I haven't used GOTO in over a decade, because it's truly evil. By the way, if you don't like |goto| statements, don't read this. (And don't read any other programs that simulate

Re: simultaneous multiple key sorting algorithm

2012-01-27 Thread Christof Schardt
The brute force approach would essentially compute the two ranks and then sort by their sum. That's three sorts and at least one temporary I think, you are mixing two problem levels: Level one (theory): How are the two properties weighted against each other and can be combined to a total

Re: duck!

2010-10-16 Thread Christof Schardt
auto d = duck!Drawable(c); // awes What about as ? auto d = as!Drawable(c); Christof

Re: goto

2009-02-05 Thread Christof Schardt
In the web-source of hius adventure-game http://www-cs-staff.stanford.edu/~uno/programs/advent.w.gz Knuth comments (resp. warns the reader): By the way, if you don't like |goto| statements, don't read this. (And don't read any other programs that simulate multistate systems.) Don Knuth,