On Thursday, 8 November 2018 at 07:54:56 UTC, Manu wrote:
On Wed, Nov 7, 2018 at 10:30 PM Vladimir Panteleev via
Digitalmars-d-announce
wrote:
On Thursday, 8 November 2018 at 06:08:20 UTC, Vladimir
Panteleev wrote:
> It was definitely about 4 seconds not too long ago, a few
> years at
On 11/7/2018 11:41 PM, Manu wrote:
I'm on an i7 with 8 threads and plenty of ram... although threads are
useless, since DMD only uses one ;)
So does every other compiler.
To do a multicore build, you'll need to use a makefile that supports -j.
On 11/7/2018 10:08 PM, Vladimir Panteleev wrote:
It does seem to take more time now; I wonder why.
That's easy. It's because nobody has profiled it for years.
Another reason is the backend being in D now, it is being compiled with DMD
rather than gcc/clang.
On Wed, Nov 7, 2018 at 11:55 PM Joakim via Digitalmars-d-announce
wrote:
>
> On Thursday, 8 November 2018 at 07:41:58 UTC, Manu wrote:
> > On Wed, Nov 7, 2018 at 10:30 PM Joakim via
> > Digitalmars-d-announce
> > wrote:
> >>
> >> On Thursday, 8 November 2018 at 04:16:44 UTC, Manu wrote:
> >> >
On Thursday, 8 November 2018 at 08:29:28 UTC, Manu wrote:
On Thu, Nov 8, 2018 at 12:10 AM Joakim via
Digitalmars-d-announce
wrote:
On Thursday, 8 November 2018 at 07:54:56 UTC, Manu wrote:
> On Wed, Nov 7, 2018 at 10:30 PM Vladimir Panteleev via
> Digitalmars-d-announce
> wrote:
>>
>> On
On Wednesday, 7 November 2018 at 13:15:03 UTC, Dennis wrote:
If you can't show that there are actual programmers writing
appropriately sized modules containg bugs simply because of the
lack of a class-private visibility level, then people don't
want to engineer a solution to a seemingly
On Thursday, 8 November 2018 at 04:16:44 UTC, Manu wrote:
On Tue, Nov 6, 2018 at 10:05 AM Vladimir Panteleev via
Digitalmars-d-announce
wrote:
This is a tool + article I wrote in February, but never got
around to finishing / publishing until today.
On Thursday, 8 November 2018 at 09:53:59 UTC, TheFireFighter
wrote:
well you could say the same about pointers. but..what happens
when a large number of programmers start using pointers?
I don't see the parallel between pointers and class-private.
But my argument actually is less about bugs,
https://github.com/jamadagni/textattr/
textattr is a library and command-line tool that makes adding
color and attributes to beautify the terminal output of your
program easier by translating human-readable specs into ANSI
escape codes.
The library is available for C, C++, Python and D. C++
On 2018-11-07 16:45, kinke wrote:
I upgraded it one day after releasing beta1, as I sadly forgot to check
for a newer dub version before publishing. I.e., the CI builds already
feature dub v1.12.
Cool, thanks.
--
/Jacob Carlborg
On Thu, Nov 8, 2018 at 12:10 AM Joakim via Digitalmars-d-announce
wrote:
>
> On Thursday, 8 November 2018 at 07:54:56 UTC, Manu wrote:
> > On Wed, Nov 7, 2018 at 10:30 PM Vladimir Panteleev via
> > Digitalmars-d-announce
> > wrote:
> >>
> >> On Thursday, 8 November 2018 at 06:08:20 UTC, Vladimir
On Thu, Nov 8, 2018 at 12:10 AM Walter Bright via
Digitalmars-d-announce wrote:
>
> On 11/7/2018 11:41 PM, Manu wrote:
> > I'm on an i7 with 8 threads and plenty of ram... although threads are
> > useless, since DMD only uses one ;)
>
> So does every other compiler.
>
> To do a multicore build,
On Wednesday, 7 November 2018 at 21:40:58 UTC, welkam wrote:
On Wednesday, 7 November 2018 at 14:39:55 UTC, Joakim wrote:
I don't know why you think that would matter: I'm using the
same compilers to build each DMD version and comparing the
build times as the backend was translated to D
dpp and a handful of vim macros did most of the work
On Thursday, 8 November 2018 at 02:36:21 UTC, test wrote:
Thanks to all for the hard work.
Look forward DIP1016 to be approved.
Agreed!
On Thu, Nov 8, 2018 at 12:55 AM Joakim via Digitalmars-d-announce
wrote:
>
> On Thursday, 8 November 2018 at 08:29:28 UTC, Manu wrote:
> > On Thu, Nov 8, 2018 at 12:10 AM Joakim via
> > Digitalmars-d-announce
> > wrote:
> >>
> >> On Thursday, 8 November 2018 at 07:54:56 UTC, Manu wrote:
> >
> >
On Tuesday, 6 November 2018 at 19:01:58 UTC, H. S. Teoh wrote:
It looks like it would be really useful one day when I try to
tackle the dmd-on-lowmem-system problem again.
Based on my profiling it seems that most memory is allocated in
void importAll(Scope* sc) found in attrib.d . A person
On Thursday, 8 November 2018 at 03:04:06 UTC, Jonathan M Davis
wrote:
On Wednesday, November 7, 2018 6:54:54 PM MST Mike Parker via
Digitalmars-d- announce wrote:
I'm happy to announce that Walter and Andrei have rendered
their verdict on DIP 1014. They were in agreement on two
points: they
On Thursday, 8 November 2018 at 07:54:56 UTC, Manu wrote:
On Wed, Nov 7, 2018 at 10:30 PM Vladimir Panteleev via
Digitalmars-d-announce
wrote:
On Thursday, 8 November 2018 at 06:08:20 UTC, Vladimir
Panteleev wrote:
> It was definitely about 4 seconds not too long ago, a few
> years at
On Thu, 08 Nov 2018 18:13:55 +0100, Jacob Carlborg wrote:
> I guess we have very different ideas on what "small scope" is. For me it
> means around 10 lines. Here's an example in the DMD code base, the
> method for doing the semantic analyze on a call expression [1]. It's 902
> lines long and has
On Thu, Nov 08, 2018 at 06:38:55PM +, welkam via Digitalmars-d-announce
wrote:
> On Thursday, 8 November 2018 at 18:15:55 UTC, Stanislav Blinov wrote:
> >
> > One keystroke (well ok, two keys because it's *) ;)
> > https://dl.dropbox.com/s/mifou0ervwspx5i/vimhl.png
> >
>
> What sorcery is
On Thursday, 8 November 2018 at 13:37:08 UTC, Shriramana Sharma
wrote:
https://github.com/jamadagni/textattr/
textattr is a library and command-line tool that makes adding
color and attributes to beautify the terminal output of your
program easier by translating human-readable specs into ANSI
On Thursday, 8 November 2018 at 19:07:32 UTC, Jacob Carlborg
wrote:
21 seconds on a Windows 10 virtual machine compiling using the
win32.mak file.
Sounds like we're narrowing it down to the Visual Studio solution.
On Thu, Nov 08, 2018 at 06:25:06PM +0100, Jacob Carlborg via
Digitalmars-d-announce wrote:
> On 2018-11-08 05:16, Manu wrote:
>
> > 4 seconds? That's just untrue. D is actually kinda slow these
> > days... In my experience it's slower than modern C++ compilers by
> > quite a lot.
>
> This is
On Thu, Nov 08, 2018 at 06:13:55PM +0100, Jacob Carlborg via
Digitalmars-d-announce wrote:
[...]
> I guess we have very different ideas on what "small scope" is. For me
> it means around 10 lines. Here's an example in the DMD code base, the
> method for doing the semantic analyze on a call
On Thursday, 8 November 2018 at 18:15:55 UTC, Stanislav Blinov
wrote:
One keystroke (well ok, two keys because it's *) ;)
https://dl.dropbox.com/s/mifou0ervwspx5i/vimhl.png
What sorcery is this? I need to know. I guess its vim but how
does it highlight symbols?
On Thu, 08 Nov 2018 18:38:55 +, welkam wrote:
> On Thursday, 8 November 2018 at 18:15:55 UTC, Stanislav Blinov wrote:
>>
>> One keystroke (well ok, two keys because it's *) ;)
>> https://dl.dropbox.com/s/mifou0ervwspx5i/vimhl.png
>>
>>
> What sorcery is this? I need to know. I guess its vim
On Thursday, 8 November 2018 at 17:50:20 UTC, welkam wrote:
On Wednesday, 7 November 2018 at 22:08:36 UTC, H. S. Teoh wrote:
Now for all of you who think that one letter variables are ok
here is exercise. Go and open src/dmd/func.d with your favorite
code editor. Find function
On 2018-11-08 18:25, Jacob Carlborg wrote:
This is my result on macOS:
$ $ make -f posix.mak clean
$ time make -f posix.mak -j 16
real 0m3.127s
user 0m5.478s
sys 0m1.686s
21 seconds on a Windows 10 virtual machine compiling using the win32.mak
file.
--
/Jacob Carlborg
On Thu, Nov 08, 2018 at 05:50:20PM +, welkam via Digitalmars-d-announce
wrote:
> On Wednesday, 7 November 2018 at 22:08:36 UTC, H. S. Teoh wrote:
> > I don't speak for the compiler devs, but IMO, one-letter variables
> > are OK if they are local, and cover a relatively small scope.
>
> By
On Thursday, 8 November 2018 at 18:48:05 UTC, Neia Neutuladh
wrote:
On Thu, 08 Nov 2018 18:38:55 +, welkam wrote:
On Thursday, 8 November 2018 at 18:15:55 UTC, Stanislav Blinov
wrote:
One keystroke (well ok, two keys because it's *) ;)
https://dl.dropbox.com/s/mifou0ervwspx5i/vimhl.png
On Thursday, 8 November 2018 at 18:52:02 UTC, H. S. Teoh wrote:
length is getting ridiculous
Having better editor support is nice but by "use better editor"
you meant use vim dont you? And even if I switch to vim it wont
solve my initial objection to one letter variable names. Its
needless
On 11/8/2018 9:23 AM, welkam wrote:
And where can i read about naming convention? My guess its not documented
anywhere and would not be in foreseeable future or ever. Also are you sure you
are not talking about two letter variables like
sc for scope
fd for function declaration
td for template
On Thursday, 8 November 2018 at 20:19:47 UTC, Vladimir Panteleev
wrote:
On Thursday, 8 November 2018 at 19:07:32 UTC, Jacob Carlborg
wrote:
21 seconds on a Windows 10 virtual machine compiling using the
win32.mak file.
Sounds like we're narrowing it down to the Visual Studio
solution.
On Thursday, 8 November 2018 at 20:19:47 UTC, Vladimir Panteleev
wrote:
Sounds like we're narrowing it down to the Visual Studio
solution.
Mildly interested, I gave DMD master a shot with my 5-years old
i5-3550 (@4 GHz) in VS 2017 (+ a recent Visual D beta):
DMD v2.083.0-beta1 host compiler
On Thursday, 8 November 2018 at 19:26:15 UTC, Bastiaan Veelo
wrote:
Cool, must remember this in case I need it one day. Do you have
plans to add it to the dub registry?
Don't know how. Can follow instructions if provided. Does DUB
also allow multi-language libs one of which is D?
On Thursday, 8 November 2018 at 23:50:18 UTC, TheFireFighter
wrote:
No it is not. You can keep saying there is, but it doesn't make
it so.
...
We don't seem to be on the same page here...do you
misunderstand what I want?
Fair enough, the exact thing you want is not possible. I
understand
On Thursday, 8 November 2018 at 13:18:30 UTC, Dennis wrote:
That sounds like "I just want there to be the option for
aggregate value types... without using struct.". The question
this raises is why the current solution is so problematic.
I just want (for example) to be able to write a
On Wednesday, 7 November 2018 at 22:08:36 UTC, H. S. Teoh wrote:
I don't speak for the compiler devs, but IMO, one-letter
variables are OK if they are local, and cover a relatively
small scope.
By saying more descriptive I should have clarified that I meant
to change them to 3-7 letter
On 09/11/2018 00:12, kinke wrote:
> On Thursday, 8 November 2018 at 20:19:47 UTC, Vladimir Panteleev wrote:
>> Sounds like we're narrowing it down to the Visual Studio solution.
>
> Mildly interested, I gave DMD master a shot with my 5-years old i5-3550
> (@4 GHz) in VS 2017 (+ a recent Visual
On Wednesday, 7 November 2018 at 22:03:20 UTC, Walter Bright
wrote:
Single letter names are appropriate for locally defined
symbols. There's also an informal naming convention for them,
changing the names would disrupt that.
And where can i read about naming convention? My guess its not
On 2018-11-08 05:16, Manu wrote:
4 seconds? That's just untrue. D is actually kinda slow these days...
In my experience it's slower than modern C++ compilers by quite a lot.
This is my result on macOS:
$ $ make -f posix.mak clean
$ time make -f posix.mak -j 16
real0m3.127s
user
On 2018-11-08 18:23, welkam wrote:
but you are not against
changing for loops to foreach that add almost nothing to code
readability and only look better.
Changing to a foreach loop definitely adds to readability and to be able
to better understand the code. If you read the "foreach"
On Thursday, 8 November 2018 at 07:54:56 UTC, Manu wrote:
https://youtu.be/msWuRlD3zy0
DMD only builds with one core, since it builds altogether.
And all builds are release builds... what good is a debug
build? DMD
is unbelievably slow in debug. If it wasn't already slow
enough... if
I try
On 2018-11-07 23:58, Walter Bright wrote:
Slides and video link:
http://nwcpp.org/october-2018.html
On 11/7/2018 2:08 PM, H. S. Teoh wrote:
I don't speak for the compiler devs, but IMO, one-letter variables are
OK if they are local, and cover a relatively small scope. Java-style
verbosity
45 matches
Mail list logo