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: dlang.org redesign -- general thoughts and issues [part 1]

2015-01-23 Thread Christof Schardt via Digitalmars-d
"aldanor"  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 here), because he
also talks about GC and and discusses briefly, which parts of
his engine needs the GC and for which other part it does harm.

Now he is back at C++ combined with the js-like TIScript.

I wonder, whether he would rethink his decision, if could
start with D2.

--
Christof

[1] http://harmonia.terrainformatica.com/map.html
[2] http://harmonia.terrainformatica.com/Harmonia.source.119.zip
[3] http://harmonia.terrainformatica.com/HarmoniaDemo.zip
[4] 
http://www.terrainformatica.com/index.php/2014/07/10-years-road-to-sciter/




Re: Redesign of dlang.org

2014-04-18 Thread Christof Schardt via Digitalmars-d
"Aleksandar Ruzicic"  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 I came up with:


http://krcko.net/dlang.org/dlang-home-draft1.png

I'm not entirely satisfied with it but I believe that it looks better (or 
at least more modern) than the current design.



So, what do you guys think?


A good start!
+1 



Re: Problems with dlang.org ?

2014-04-05 Thread Christof Schardt

"uri"  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"  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?
>>
>> I can still access Phobos on the web if I go to forum.dlang.org and click 
>> the link. If that doesn't work you get the Phobos docs with the dmd 
>> download zip.
>
>
> In the links on the left at forum.dlang.org, it appears anything dlang.org 
> is giving a 403, except dlang.org/phobos/*
>

Great, thank you! 




Re: Problems with dlang.org ?

2014-04-05 Thread Christof Schardt
"cmplx"  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: 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?







Re: Impressed

2012-07-27 Thread Christof Schardt
"Stuart"  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 multistate systems.)

\smallskip\rightline{--- Don Knuth, September 1998}"

[1] http://sunburn.stanford.edu/~knuth/programs.html#advent






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 weight (a weight-function).

Level two (programming):
how can this be expressed in an optimal algorithmical way,
given D2.

Your question suggests, the the (naive) sum-function is
already the solution to level one.
But I suspect, that the solution for the problem requires
rather to find a proper weight function than a
combinatation-algorithm.

Christof











Re: duck!

2010-10-16 Thread Christof Schardt
> auto d = duck!Drawable(c); // awes

What about "as" ?

auto d = as!Drawable(c);

Christof




Re: Please Vote: Exercises in TDPL?

2009-05-15 Thread Christof Schardt
> What do you think?

Definitly yes.

The whole template-stuff is on a rather high abstraction level.
Exercises could help to bring things down to concrete problems.

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, September 1998

This may be dated. But while I cannot judge  the reasoning,
I did not want to miss to post it here. At least for its subtle humor.

Christof