Israel via Digitalmars-d | 21 Oct 18:42 2014

Re: OT: Minecraft death by GC

On Tuesday, 21 October 2014 at 16:25:06 UTC, ketmar via
Digitalmars-d wrote:
> On Tue, 21 Oct 2014 16:16:17 +0000
> Francesco Cattoglio via Digitalmars-d 
> <digitalmars-d <at> puremagic.com>
> wrote:
>
>> More likely: to give you the ability to shoot yourself in the 
>> foot both with a GC and without it. ;)
> wow! so i'll be able shoot away my foot and GC will collect it!

YESS!!

debug = x overrides command line

Currently, if you write something like this:

debug = x;

It's like you passed -debug=x on the command line. However, this seems 
quite scary. It means that you are debugging ALL THE TIME, with any 
debug(x) statements.

Does this make sense? Note that debug disables pure checking, which can 
be dangerous. I'm kind of uneasy that if I don't pass any debug 
arguments to the compiler, it can still violate purity in the name of 
debugging with such statements.

I would have expected debug = x to only be enabled when -debug is passed 
to the compiler. Does this make sense to anyone?

Note, there is no way to simply enable the same thing as -debug does in 
code.

-Steve

edn via Digitalmars-d | 21 Oct 14:22 2014

example of pointer usefulness in D

Could someone provide me with examples showing the usefulness of 
pointers in the D language? They don't seem to be used as much as 
in C and C++.

ROOAR via Digitalmars-d | 21 Oct 09:44 2014

Re: OT: Minecraft death by GC


> wow! you are the man! you are the savior! sorry, my Guru, can't 
> write
> to you anymore: i need to remove GC from all my projects!

I know! It is great being me!

I had to do it, D forum was putting me to sleep with its 
discussion of Postblits and environmental errors. Phfff like 
those matter.

ROOAR via Digitalmars-d | 21 Oct 09:18 2014

OT: Minecraft death by GC

  So the latest Minecraft apparently runs really really poorly 
because of the GC.

And it is running on Java desktop. The supposedly "fast" GC of 
Java can't handle the game anymore--

https://www.reddit.com/r/programming/comments/2jsrif/optifine_dev_minecraft_18_has_so_many_performance/

Take that GC fanatics

  D needs more action you know.

via Digitalmars-d | 21 Oct 08:34 2014

Re: Postblit bug

On Tuesday, 21 October 2014 at 01:50:55 UTC, H. S. Teoh via 
Digitalmars-d wrote:
> 	/* Note: this is hypothetical syntax */
> 	tail_const(Wrapper!T) x;
>
> gets translated to:
>
> 	Wrapper!(const(T)) x;

Please note that an important reason for using const is 
multi-threading where you may want to accept multiple readers and 
one writer. So IMO non-const parts of an object should stay on a 
different cache lines from the const parts…

thedeemon via Digitalmars-d | 21 Oct 07:47 2014

Re: cannot create account on issues.dlang.org

On Tuesday, 21 October 2014 at 04:16:10 UTC, Brad Roberts via 
Digitalmars-d wrote:
> On 10/20/2014 8:47 PM, thedeemon via Digitalmars-d wrote:
>> Another problem: a week ago I created an account (thedeemon), 
>> activated
>> it and successfully used but now I cannot log in (says 
>> username or
>> password not valid, but I'm pretty sure I didn't change the 
>> password).
>
> You can always use the forgot password link to revive the 
> account.

Thanks, turns out when it says username it really means email. 
Works fine, I was just using it wrong.

thedeemon via Digitalmars-d | 21 Oct 05:47 2014

Re: cannot create account on issues.dlang.org

On Sunday, 19 October 2014 at 19:24:03 UTC, Brad Roberts via 
Digitalmars-d wrote:
> Yes, the email queue running was indeed not running.  I've 
> kicked it and will look into why it wasn't doing its job.
>
> On 10/19/2014 8:26 AM, anonymous via Digitalmars-d wrote:
>>> A confirmation email has been sent containing a link to 
>>> continue
>>> creating an account. The link will expire if an account is 
>>> not created
>>> within 3 days.
>>
>> Tried this a couple times. First time was yesterday. No email
>> yet. Maybe some gears are stuck on the server?

Another problem: a week ago I created an account (thedeemon), 
activated it and successfully used but now I cannot log in (says 
username or password not valid, but I'm pretty sure I didn't 
change the password).

Xinok via Digitalmars-d | 21 Oct 03:03 2014

Linking to other resources in the installer

Recent statistics of the downloads on dlang.org suggest that D 
may have thousands of active users who keep up to date on the 
latest releases of DMD. However, there are many who simply don't 
participate in the community here. As such, they may be unaware 
of certain resources, such as the forums, wiki, DUB registry, and 
bug tracker.

I'm unaware of any statistics for how many downloads are for 
specific packages or which OS, but I'm willing to bet that a 
large number of people download the Windows installer. As it 
stands now, the installer only offers a few "extras" being Visual 
D, DMC, and D1. It doesn't even provide a link to the dlang.org 
homepage. I feel there is an opportunity here to connect these 
people to some additional resources such as those I mentioned 
above and others. There are a few ways we can incorporate this 
into the installer:

* On the post-install screen, provide a few links here.
* Add start menu shortcuts to these things.
* Many installers open a webpage after installation is complete. 
This could be an option on the post-install screen.

What do you all think? There is some work to be done in making it 
easier for users to discover these resources, especially in terms 
of redesigning the website. I think modifying the installer is an 
extra step in that direction.

katuday via Digitalmars-d | 20 Oct 20:36 2014

What is the status of 64-bit development on Windows?

I am new to D. Where do I get a D compiler to build 64-bit 
binaries on Windows 7?
Searching the forum shows 64-bit support on Windows as 
work-in-progress in 2013. Is this still the case?
Thanks.

Domingo via Digitalmars-d | 20 Oct 17:29 2014

D compiler plugin like melt

Hello !

Just to document it here and in case it can be interesting to 
have the same on the D compiler.

http://gcc-melt.org/

Cheers !


Gmane