June 14, 2013
On 14/06/2013 08:40, Don wrote:
>   EclipseD is not as good as Notepad.
> Because they are unstable.
>

Just so we are absolutely clear, are you a talking about the current DDT project: http://code.google.com/p/ddt/ (formerly known as Mmrnmhrm)
or EclipseD: http://www.dsource.org/projects/eclipsed which was formerly know as DDT, but is an *ancient* project, it was abandoned even before Descent and Mmrnmhrm came out.

-- 
Bruno Medeiros - Software Engineer
June 14, 2013
Dicebot, el 14 de June a las 09:46 me escribiste:
> Have finally watched it. Great talk and good jokes! :)
> 
> One topic I'd like to hear more about is memory management techniques. It was told that only very small amount of garbage is generated and managed by GC, most code avoids heap allocations at all. Is this somehow enforced (tooling, code review, etc.) or simply judged by a common sense?

I would say is enforced by reality. If we have a "leak" we find out sooner than later. Of course, having that experience people is extra careful when coding now about those issues. We are starting to implement code review as the team gets bigger, which also help to detect these problems earlier.

> Is keeping such restriction easier in D1 than in D2?

Yes, but is because of Tango, not D1. Almost every function that needs to allocate takes an optional buffer to work on (and for the ones that didn't we wrote replacements that used this scheme). That makes the programmer automatically aware of this buffer reusing. I think, same as Manu said, if/when we were to move to D2 we'll have to completely avoid phobos unless a similar approach is taken in terms of memory allocation.

We even sometimes reuse exceptions to avoid allocating when something throws.

-- 
Leandro Lucarella (AKA luca)                     http://llucax.com.ar/
----------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------
Todos en el mundo somos grasas, no hago distinción de sexo y raza, sólo que algunos lo disfrutan y otros no pueden evitarlo.
June 14, 2013
On 2013-06-14 15:37, Leandro Lucarella wrote:

> I think, same as Manu said, if/when we were to move to D2 we'll have to completely avoid
> phobos unless a similar approach is taken in terms of memory allocation.

Tango is available for D2 as well :)

-- 
/Jacob Carlborg
June 14, 2013
Jacob Carlborg, el 14 de June a las 16:18 me escribiste:
> On 2013-06-14 15:37, Leandro Lucarella wrote:
> 
> >I think, same as Manu said, if/when we were to move to D2 we'll have to completely avoid phobos unless a similar approach is taken in terms of memory allocation.
> 
> Tango is available for D2 as well :)

Yes, I know. BTW, how many people is using it (if any)? If some could share the experience it would be appreciated.

But anyway, the point is, it would be nice to be able to use the standard library and it would be nice if the standard library could cover the use case of people that can afford to have a lot of heap activity. It doesn't seem to be a very specific use case, at least not for commercial use, at least is the impression I got in the conference.

-- 
Leandro Lucarella (AKA luca)                     http://llucax.com.ar/
----------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------
CHINO ATRAPA COTORRAS
	-- Crónica TV
June 14, 2013
On Thu, 13 Jun 2013 11:48:52 +0100
"Regan Heath" <regan@netmail.co.nz> wrote:
> 
> I use Notepad++ now and have used TextPad in the past.  But, those are just text editors with syntax highlighting (fairly flexibly and simply customisable highlighting BTW).
> 
> What are the basic features you would require of a development environment, I am thinking of features which go beyond the basic concept of a text editor, such as:
> 
> - The concept of a 'project' or some other collection of source files which can be loaded/displayed in some fashion to make it easier to find/select/edit individual files
> 
> - The ability to hook in 'tools' to key presses like "compile" executing "dmd ..." or similar.
> 

I've been using Programmer's Notepad 2 (for *all* my development for
the past few years), which is *mostly* a syntax highlighting
editor, but also has a concept of projects, configurable tools, and
"click an error to jump to it's line in the source". And I've never had
it crash or get wonky, or slowdown, or stall, or use a lot of resources,
ever.

(It also supports ctags, although I've never used it.)

June 14, 2013
Great talk, good to see someone talking about their real-world experience with D and Don kept it entertaining.

A quibble though: the title is horrible, as the talk has very little to do with metaprogramming, and those who aren't interested in the current title will just skip the talk.

A better, more accurate title and description might take it from the fourth-most viewed video to the most popular video, of those released so far.
June 14, 2013
On Friday, 14 June 2013 at 22:35:02 UTC, Nick Sabalausky wrote:
> On Thu, 13 Jun 2013 11:48:52 +0100
> "Regan Heath" <regan@netmail.co.nz> wrote:
>> 
>> I use Notepad++ now and have used TextPad in the past.  But, those
>> are just text editors with syntax highlighting (fairly flexibly and
>> simply customisable highlighting BTW).
>> 
>> What are the basic features you would require of a development
>>  environment, I am thinking of features which go beyond the basic
>> concept of a text editor, such as:
>> 
>> - The concept of a 'project' or some other collection of source
>> files which can be loaded/displayed in some fashion to make it easier
>> to find/select/edit individual files
>> 
>> - The ability to hook in 'tools' to key presses like "compile"
>> executing "dmd ..." or similar.
>> 
>
> I've been using Programmer's Notepad 2 (for *all* my development for
> the past few years), which is *mostly* a syntax highlighting
> editor, but also has a concept of projects, configurable tools, and
> "click an error to jump to it's line in the source". And I've never had
> it crash or get wonky, or slowdown, or stall, or use a lot of resources,
> ever.
>
> (It also supports ctags, although I've never used it.)

Geany is also nice. It's slightly more IDE-like than the above but is still very lightweight and simple.
June 15, 2013
On 2013-06-14 23:09, Leandro Lucarella wrote:

> Yes, I know. BTW, how many people is using it (if any)? If some could
> share the experience it would be appreciated.

I use it :). My experience so far is if you don't take advantage of these buffers it can be a bit annoying. The reason is that most functions either return T[] or const(T)[]. If you use "string" in the rest of your code you cannot easily store a returned value to a "string" variable. I guess some of those could be fixed by returning inout(T)[] instead.

Otherwise I think it's working good.

-- 
/Jacob Carlborg
June 17, 2013
On Fri, 14 Jun 2013 23:34:56 +0100, Nick Sabalausky <SeeWebsiteToContactMe@semitwist.com> wrote:

> On Thu, 13 Jun 2013 11:48:52 +0100
> "Regan Heath" <regan@netmail.co.nz> wrote:
>>
>> I use Notepad++ now and have used TextPad in the past.  But, those
>> are just text editors with syntax highlighting (fairly flexibly and
>> simply customisable highlighting BTW).
>>
>> What are the basic features you would require of a development
>> environment, I am thinking of features which go beyond the basic
>> concept of a text editor, such as:
>>
>> - The concept of a 'project' or some other collection of source
>> files which can be loaded/displayed in some fashion to make it easier
>> to find/select/edit individual files
>>
>> - The ability to hook in 'tools' to key presses like "compile"
>> executing "dmd ..." or similar.
>>
>
> I've been using Programmer's Notepad 2 (for *all* my development for
> the past few years), which is *mostly* a syntax highlighting
> editor, but also has a concept of projects, configurable tools, and
> "click an error to jump to it's line in the source". And I've never had
> it crash or get wonky, or slowdown, or stall, or use a lot of resources,
> ever.

Oh, yes, the ability to capture the compiler output and do a bit of a parse and jump to error is another top IDE feature IMO.

R

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/
June 17, 2013
On Fri, 14 Jun 2013 23:34:56 +0100, Nick Sabalausky <SeeWebsiteToContactMe@semitwist.com> wrote:
> "click an error to jump to it's line in the source".

Is there a hotkey for this? .. it's little things like having a configurable hotkey (so I can make it F4 like in MSVC that make or break a new IDE/editor IMO).

R

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/