On 23/04/14 19:17, Atila Neves wrote:
Thanks. :)
The examples directory (which actually only contains one example) shows
what is the bare minimum needed. You need:
1. A file with the .wire extension with the host and port for cucumber
to connect to in features/step_definitions (just like the
Aha, their they are. I didn't noticed the step definitions
before. Especially confusing since you do have a
step_definitions directory.
I think I had to create that directory to put the .wire file in
there. I can't remember.
Cool. Have you considered embedding Ruby in some executable and
On 24/04/14 09:19, Atila Neves wrote:
I did, yeah, that's why I asked that question recently about calling D
from Ruby.
Right, that was you.
I also thought of using Thrift and played about with it but
in the end decided that the simplest option is to just use the wire
protocol. It even
On 2014-04-23 15:24, Atila Neves wrote:
Like testing with Cucumber? Wish you could call native D code with it?
Now you can!
http://code.dlang.org/packages/unencumbered
https://github.com/atilaneves/unencumbered
I especially like registering functions that take the parameters with
the types
On 2014-04-23 15:24, Atila Neves wrote:
Like testing with Cucumber? Wish you could call native D code with it?
Now you can!
http://code.dlang.org/packages/unencumbered
https://github.com/atilaneves/unencumbered
I especially like registering functions that take the parameters with
the types
On 04/22/2014 07:08 PM, bearophile wrote:
This code gives four problems to Dscanner:
void main() {
auto x = float(5);
This is not valid. DMD and the grammar spec both do not allow
this.
auto r = 1. + 2;
Fixed. (https://issues.dlang.org/show_bug.cgi?id=12623)
int items[5];
I
Brian Schott:
This is not valid. DMD and the grammar spec both do not allow
this.
This was changed weeks ago. Now D accepts that code.
int items[5];
I don't support C-style declarations. DMD doesn't really
support them either.
(https://issues.dlang.org/show_bug.cgi?id=953)
Then I
On Thursday, 24 April 2014 at 21:36:24 UTC, bearophile wrote:
This was changed weeks ago. Now D accepts that code.
You want tooling to support language features that aren't
released?
Then I suggest DScanner to support the half-C-declarations,
because D compilers digests them just fine and
On Thursday, 24 April 2014 at 22:19:29 UTC, Brian Schott wrote:
Then I suggest DScanner to support the half-C-declarations,
because D compilers digests them just fine and they are very
common in D code you will find in the wild. A code analyzer
has to accept the real world code people write,
Brian Schott:
You want tooling to support language features that aren't
released?
I think it's nice for a language tool to try to follow closely
the improvements in the language. But you are right, the update
rhythms of DScanner are left to you.
Several people have indicated that they
On 28-7-2013 0:27, Brian Schott wrote:
DScanner is a tool for analyzing D source code. It has the following features:
* Prints out a complete AST of a source file in XML format.
* Syntax checks code and prints warning/error messages
* Prints a listing of modules imported by a source file
*
On 23/04/14 19:12, Walter Bright wrote:
Too many double negatives for me to be sure what you're saying. But it
is clear to me that with Michel's experience with ARC in iOS combined
with Manu's enthusiasm for it suggests that they are the right team to
come up with a workable proposal, where
On 24/04/14 00:29, Martin Nowak wrote:
Looks fairly interesting, because it partly solves the issue to allow
custom rtinfo.
I don't like this solution for custom RTInfo. It requires you to change
your type. I would rather modify the compiler to do something like this:
* Add a UDA to
On 23.04.2014 20:35, Messenger wrote:
On Wednesday, 23 April 2014 at 15:33:36 UTC, Orvid King wrote:
After all of that, I intend to include a base draft of the design of
the GC, along with opening the PRs and committing the starting API.
So, is there something I’m missing? Am I overlooking
Is there a good way to deprecate a module? The deprecated
attribute only applies to declarations, so doesn't appear to work
for the module header.
As a particular example, to solve problems with mismatched module
names and pathnames, I moved some files to new locations. To
support anyone
On 23/04/14 08:39, Walter Bright wrote:
I made a build of dmd with a collector in it. It destroyed the speed.
Took it out.
Isn't that bad advertisement for the GC in D? Or has it something to do
with DMD not being designed with a GC in mind?
--
/Jacob Carlborg
On Monday, 7 April 2014 at 02:34:59 UTC, Kapps wrote:
These results are a bit disappointing. Ideally you'd see a
massive bias
towards new users, but we see the opposite :(
Perhaps this poll isn't public enough? On reddit and stuff?
I don't imagine many new users read these forums frequently,
On 24/04/14 00:12, Nick Sabalausky wrote:
SCSS has always been more interesting to me than SASS, but yea, this
seems to pretty much be an independently-developed equivalent to SCSS,
which is pretty cool.
Technically, Sass is the name of the language. It provides two syntaxes,
SASS and SCSS.
On 24/04/14 00:08, Nick Sabalausky wrote:
They don't work.
But...maybe they're only intended to be single-page-only examples? (Now
that I think about it...)
Yes. Bootstrap won't touch your links with JavaScript, unless you tell
it to.
If so, then I must have misunderstood the examples.
On 23 April 2014 22:24, Iain Buclaw ibuc...@gdcproject.org wrote:
On 23 April 2014 21:55, Nordlöw digitalmars-d@puremagic.com wrote:
Maybe we should investigate where the memory is going first before
planning our attack :-)
I agree. Tool anyone?
I'm using valgrind - may take a while to
On Thursday, 24 April 2014 at 06:08:11 UTC, Jacob Carlborg wrote:
On 24/04/14 00:29, Martin Nowak wrote:
Looks fairly interesting, because it partly solves the issue
to allow
custom rtinfo.
I don't like this solution for custom RTInfo. It requires you
to change your type. I would rather
I am following discussions about GC and some other 'critical'
improves in D language for a long time. I see a lot of arguments
and heaps of code, that often hard to understand (for example
Templates) even more complicated to use it.
I like D, but more and more I am playing with Python, and
I guess this could be done without modifying the compiler, just
extend RTInfo(T) to support this UDA, but there's a problem
with attributes. They don't propagate to class' children, thus
they can't solve the main question of this topic.
But as an additional feature such UDA might be useful.
On Wednesday, 23 April 2014 at 08:12:42 UTC, Walter Bright wrote:
tl;dr: allocation is a critical speed issue with dmd. Using the
bump-pointer method is very fast, and it matters.
Alternatively we could replace heap on size threshold.
Also, this whole thing is not only about RT registration, it may
be used differently. The next usage that comes to mind after RT
is validating proper inheritance. E.g. Some root class wants it's
subclasses to always have a default ctor available, which again
can be verified in CT.
On Thursday, 24 April 2014 at 06:38:42 UTC, Suliman wrote:
I am following discussions about GC and some other 'critical'
improves in D language for a long time. I see a lot of
arguments and heaps of code, that often hard to understand (for
example Templates) even more complicated to use it.
On Wednesday, 23 April 2014 at 15:33:36 UTC, Orvid King wrote:
After all of that, I intend to include a base draft of the
design of the GC, along with opening the PRs and committing the
starting API. So, is there something I’m missing? Am I
overlooking the obvious? Is there a more practical
On Wednesday, 23 April 2014 at 23:25:43 UTC, Andrei Alexandrescu
wrote:
1. you don't use a monofont and have to figure out what cpl
is in em
or rem.
I'm talking averages.
It varies with the font used. :-P And if you use a webfont the
rendering will be less legible than when you use a
On 4/24/2014 2:17 AM, bytedruid wrote:
(Side note: I entered a fake email address, is that a no-no one this list?)
It's fine, many of us do that. Look at mine ;)
(Argh! Accidentally emailed this to digitalmars-d@puremagic.com twice!
Actually posting to NG now...)
On 4/23/2014 6:48 PM, H. S. Teoh via Digitalmars-d wrote:
until sometime in the last few
years I got so sick of JS eating up CPU, memory, causing needless
browser slowdowns, popping up
Suliman:
It would be very nice to add to dlang wiki comparison woth
Python, to show that D code can be easy as Python.
In the Rosettacode site there are around one thousand Python-D
comparisons.
Bye,
bearophile
Most of my D code looks nothing like what you see posted on
these lists. I likely don't write code in the idiomatic D way,
but it still works and is a lot easier on the eyes than my C++
code.
I think improving the library documentation and some parts of
the library (ie. XML, JSON a few
On Wednesday, 23 April 2014 at 23:17:02 UTC, Adam D. Ruppe wrote:
On Wednesday, 23 April 2014 at 21:55:48 UTC, John Colvin wrote:
If it could be put on code.dlang.org that would be awesome.
http://code.dlang.org/packages/cssexpand
Nice, thanks a lot. How much effort would it be to turn this
On 4/23/2014 6:19 PM, H. S. Teoh via Digitalmars-d wrote:
On Wed, Apr 23, 2014 at 05:32:00PM -0400, Nick Sabalausky via Digitalmars-d
wrote:
I certainly won't disagree that small fonts can be hard to read, but
on the other end, I've seen a lot of newer websites with gigantic
fonts, and I find
On Thursday, 24 April 2014 at 08:05:53 UTC, Suliman wrote:
Most of my D code looks nothing like what you see posted on
these lists. I likely don't write code in the idiomatic D way,
but it still works and is a lot easier on the eyes than my C++
code.
I think improving the library
On Thursday, 24 April 2014 at 06:38:42 UTC, Suliman wrote:
I am following discussions about GC and some other 'critical'
improves in D language for a long time. I see a lot of
arguments and heaps of code, that often hard to understand (for
example Templates) even more complicated to use it.
On Thursday, 24 April 2014 at 08:06:18 UTC, Alix Pexton wrote:
On 23/04/2014 5:28 PM, Dicebot wrote:
Gosh now I finally know what researches to blame for my eyes
bleeding
upon most web site restylings (Facebook *caugh-caugh*).
Are you sure that your eyes aren't bleeding because your fonts
On 23/04/2014 5:28 PM, Dicebot wrote:
Gosh now I finally know what researches to blame for my eyes bleeding
upon most web site restylings (Facebook *caugh-caugh*).
Are you sure that your eyes aren't bleeding because your fonts are too
small?
A...
On Thursday, 24 April 2014 at 06:08:11 UTC, Jacob Carlborg wrote:
On 24/04/14 00:29, Martin Nowak wrote:
Looks fairly interesting, because it partly solves the issue
to allow
custom rtinfo.
I don't like this solution for custom RTInfo. It requires you
to change your type. I would rather
On 4/23/14, Joakim via Digitalmars-d digitalmars-d@puremagic.com wrote:
It might help if you put
forth a tentative proposal, that the D goons can then proceed to
destroy... I mean, critically evaluate.
Btw guys, what's stopping us from simply porting over Leandro's CDGC
to D2? I've looked at
On 4/24/14, Jon Giddy via Digitalmars-d digitalmars-d@puremagic.com wrote:
Is there a good way to deprecate a module?
It's a filed enhancement:
https://issues.dlang.org/show_bug.cgi?id=12567
As a current workaround you can use a deprecated block:
-
module bar;
deprecated:
void test() { }
On 4/24/14, Jon Giddy via Digitalmars-d digitalmars-d@puremagic.com wrote:
Is there a good way to deprecate a module?
Also, please ask these types of questions in D.learn in the future. Thanks!
On Wednesday, 23 April 2014 at 18:35:26 UTC, Messenger wrote:
On Wednesday, 23 April 2014 at 15:33:36 UTC, Orvid King wrote:
After all of that, I intend to include a base draft of the
design of the GC, along with opening the PRs and committing
the starting API. So, is there something I’m
On Thursday, 24 April 2014 at 06:13:31 UTC, Jon Giddy wrote:
The file uses a static module constructor to display a run-time
warning. Since the file simply imports the new module, there
isn't anywhere to hang a deprecated attribute, to trigger a
compile-time warning/error.
I don't know of a
On Thursday, 24 April 2014 at 06:18:01 UTC, bytedruid wrote:
I'd say D is looking pretty good, now if it just hand a
standard GUI library...
There were reports on an ongoing work on Qt bindings, you might
want to help with that.
On Thursday, 24 April 2014 at 09:06:13 UTC, Nick Sabalausky
On 4/24/14, 3:16 AM, Jacob Carlborg wrote:
On 23/04/14 08:39, Walter Bright wrote:
I made a build of dmd with a collector in it. It destroyed the speed.
Took it out.
Isn't that bad advertisement for the GC in D? Or has it something to do
with DMD not being designed with a GC in mind?
dmd
On 04/24/14 04:56, Marco Leise via Digitalmars-d wrote:
But »1 size_t« doesn't always yield an int result! Compare to
It does. That expression *always* yields an int [1]. Assigning the
result to a wider type does not affect the value (the overflow has
already happened by then).
size_t x = 1
On Thursday, 24 April 2014 at 08:58:13 UTC, Nick Sabalausky wrote:
I agree. Unfortunately though, browsers haven't always has
reasonable defaults, so people had to work around, so now it's
all pretty much screwed.
Maybe what we need is a CSS for sane-size-defaults: on; which
would provide a
On 21/04/2014 09:49, Lars T. Kyllingstad wrote:
I often wish private meant class private in D. I know, the usual
argument against this is that someone who writes a module usually has
full control of that module, but again, Phobos is an example of the
contrary. Each module has at least a dozen
On Tuesday, 22 April 2014 at 06:39:47 UTC, Jacob Carlborg wrote:
On 21/04/14 10:49, Lars T. Kyllingstad wrote:
Ok, so any number was poorly phrased. What I meant was a
large
number, because in my experience, modules tend to be quite
large.
Specifically, they are rarely limited to containing
Am Thu, 24 Apr 2014 13:11:18 +0200
schrieb Artur Skawina via Digitalmars-d
digitalmars-d@puremagic.com:
`size_t x = 1 shiftAmount` is definitely not something that
should be recommended, see above. Just use the correct type on
the lhs of shift operators.
auto x = cast(size_t) 1 shiftAmount;
On Wednesday, 23 April 2014 at 18:35:26 UTC, Messenger wrote:
On Wednesday, 23 April 2014 at 15:33:36 UTC, Orvid King wrote:
After all of that, I intend to include a base draft of the
design of the GC, along with opening the PRs and committing
the starting API. So, is there something I’m
rtInfo through attributes implemented. Jacob, have i done it the
way you wanted?
https://github.com/D-Programming-Language/druntime/pull/775#issuecomment-41278520
Walter Bright:
http://wiki.dlang.org/DIP60
Start on implementation:
https://github.com/D-Programming-Language/dmd/pull/3455
Currently this code doesn't compile because the lambda allocates
the closure on the heap:
void main() @nogc {
import std.algorithm: map;
int[3] data = [1,
On 04/24/14 14:49, Marco Leise via Digitalmars-d wrote:
Am Thu, 24 Apr 2014 13:11:18 +0200
schrieb Artur Skawina via Digitalmars-d
digitalmars-d@puremagic.com:
`size_t x = 1 shiftAmount` is definitely not something that
should be recommended, see above. Just use the correct type on
the
On Thursday, 24 April 2014 at 08:17:15 UTC, Nick Sabalausky wrote:
As if b hasn't always implied the semantics of emphasis
anyway...not that anyone's ever had any real use for semantic
which text is emphasized? for any purpose besides Should
this text be rendered in bold/italic or not?
Funny
Another thing that kills me about the new big picture up top,
scroll to gigantic say-nothing text below fad
The text below sounds like there might be some more learning to
do. So I try to click on the headers nothing happens. No see
more link.
Apparently Feature rich: we have more
On 24 April 2014 12:01, Ary Borenszweig via Digitalmars-d
digitalmars-d@puremagic.com wrote:
On 4/24/14, 3:16 AM, Jacob Carlborg wrote:
On 23/04/14 08:39, Walter Bright wrote:
I made a build of dmd with a collector in it. It destroyed the speed.
Took it out.
Isn't that bad advertisement
On Thursday, 24 April 2014 at 07:59:20 UTC, Martin Nowak wrote:
Nice, thanks a lot. How much effort would it be to turn this
into a full SCSS compiler?
Hmm, looking at the sass webpage, I think I could do some of the
features but prolly not all and with a different syntax. So it
wouldn't
On Thursday, 24 April 2014 at 10:14:07 UTC, Kagamin wrote:
On Wednesday, 23 April 2014 at 18:35:26 UTC, Messenger wrote:
On Wednesday, 23 April 2014 at 15:33:36 UTC, Orvid King wrote:
After all of that, I intend to include a base draft of the
design of the GC, along with opening the PRs and
On Thursday, 24 April 2014 at 14:15:45 UTC, Orvid King wrote:
On Thursday, 24 April 2014 at 10:14:07 UTC, Kagamin wrote:
On Wednesday, 23 April 2014 at 18:35:26 UTC, Messenger wrote:
On Wednesday, 23 April 2014 at 15:33:36 UTC, Orvid King wrote:
After all of that, I intend to include a base
On Wed, 23 Apr 2014 23:15:01 -0400, Marco Leise marco.le...@gmx.de wrote:
Am Wed, 23 Apr 2014 22:56:27 -0400
schrieb Steven Schveighoffer schvei...@yahoo.com:
On Wed, 23 Apr 2014 22:56:54 -0400, Marco Leise marco.le...@gmx.de
wrote:
Am Tue, 21 Jan 2014 04:34:56 +
schrieb Brian Schott
On Thursday, 24 April 2014 at 03:59:00 UTC, Rikki Cattermole
wrote:
Can we have it as a library?
css.d in there has the lib code now with my other html stuff
stripped out so it has fewer dependencies. Can dub just use it
without using the little main file?
Note btw that this code is
On Thu, Apr 24, 2014 at 04:58:06AM -0400, Nick Sabalausky via Digitalmars-d
wrote:
On 4/23/2014 6:19 PM, H. S. Teoh via Digitalmars-d wrote:
[...]
Usually when I run into a site with (1) microscopic fonts, (2) giant
(often multicolored) fonts, (3) no whitespace, or (4) has more
ads/filler
On Thursday, 24 April 2014 at 14:59:36 UTC, H. S. Teoh via
Digitalmars-d wrote:
On Thu, Apr 24, 2014 at 04:58:06AM -0400, Nick Sabalausky via
Digitalmars-d wrote:
On 4/23/2014 6:19 PM, H. S. Teoh via Digitalmars-d wrote:
[...]
Usually when I run into a site with (1) microscopic fonts,
(2)
On Thursday, 24 April 2014 at 07:09:27 UTC, Mike wrote:
On Wednesday, 23 April 2014 at 15:33:36 UTC, Orvid King wrote:
After all of that, I intend to include a base draft of the
design of the GC, along with opening the PRs and committing
the starting API. So, is there something I’m missing? Am
On Thursday, 24 April 2014 at 14:42:44 UTC, Adam D. Ruppe wrote:
On Thursday, 24 April 2014 at 03:59:00 UTC, Rikki Cattermole
wrote:
Can we have it as a library?
css.d in there has the lib code now with my other html stuff
stripped out so it has fewer dependencies. Can dub just use it
On Thursday, 24 April 2014 at 15:55:36 UTC, Sönke Ludwig wrote:
Am 24.04.2014 17:34, schrieb Ola Fosheim Grøstad
ola.fosheim.grostad+dl...@gmail.com:
According to the CCS 2.1 standard 1 px == 0.75pt.
http://www.w3.org/TR/CSS21/syndata.html#length-units
Thus:
16pt = 12px = 3.1mm at a reading
Am 24.04.2014 16:42, schrieb Adam D. Ruppe:
On Thursday, 24 April 2014 at 03:59:00 UTC, Rikki Cattermole wrote:
Can we have it as a library?
css.d in there has the lib code now with my other html stuff stripped
out so it has fewer dependencies. Can dub just use it without using the
little
On Thursday, 24 April 2014 at 14:22:17 UTC, Dicebot wrote:
On Thursday, 24 April 2014 at 14:15:45 UTC, Orvid King wrote:
Ah, I hadn't realized he had actually implemented the
concurrent GC he gave a talk on, I will make sure to look over
the code before writing out the design. I was also
Am 24.04.2014 17:34, schrieb Ola Fosheim Grøstad
ola.fosheim.grostad+dl...@gmail.com:
According to the CCS 2.1 standard 1 px == 0.75pt.
http://www.w3.org/TR/CSS21/syndata.html#length-units
Thus:
16pt = 12px = 3.1mm at a reading distance of 71 cm.
16pt = 21.3px
Am 24.04.2014 17:59, schrieb Sönke Ludwig:
Am 24.04.2014 16:42, schrieb Adam D. Ruppe:
On Thursday, 24 April 2014 at 03:59:00 UTC, Rikki Cattermole wrote:
Can we have it as a library?
css.d in there has the lib code now with my other html stuff stripped
out so it has fewer dependencies. Can
On Thursday, 24 April 2014 at 14:22:17 UTC, Dicebot wrote:
On Thursday, 24 April 2014 at 14:15:45 UTC, Orvid King wrote:
On Thursday, 24 April 2014 at 10:14:07 UTC, Kagamin wrote:
On Wednesday, 23 April 2014 at 18:35:26 UTC, Messenger wrote:
On Wednesday, 23 April 2014 at 15:33:36 UTC, Orvid
On 4/24/14, 2:20 AM, bearophile wrote:
Suliman:
It would be very nice to add to dlang wiki comparison woth Python, to
show that D code can be easy as Python.
In the Rosettacode site there are around one thousand Python-D comparisons.
Bye,
bearophile
Guess we could link from dlang.org to
On Thu, Apr 24, 2014 at 03:59:17PM +, via Digitalmars-d wrote:
On Thursday, 24 April 2014 at 15:55:36 UTC, Sönke Ludwig wrote:
Am 24.04.2014 17:34, schrieb Ola Fosheim Grøstad
ola.fosheim.grostad+dl...@gmail.com:
According to the CCS 2.1 standard 1 px == 0.75pt.
On Thursday, 24 April 2014 at 14:15:45 UTC, Orvid King wrote:
On Thursday, 24 April 2014 at 10:14:07 UTC, Kagamin wrote:
On Wednesday, 23 April 2014 at 18:35:26 UTC, Messenger wrote:
On Wednesday, 23 April 2014 at 15:33:36 UTC, Orvid King wrote:
After all of that, I intend to include a base
On Thursday, 24 April 2014 at 16:23:22 UTC, Andrei Alexandrescu
wrote:
Guess we could link from dlang.org to some. -- Andrei
It would be neat to have some of the shorter Rosetta Code
examples on rotation... Do they allow the examples to be
displayed outside of RC?
On Thursday, 24 April 2014 at 16:23:22 UTC, Andrei Alexandrescu
wrote:
Guess we could link from dlang.org to some. -- Andrei
It would be neat to have some of the shorter Rosetta Code
examples on rotation... Do they allow the examples to be
displayed outside of RC?
On Thursday, 24 April 2014 at 06:10:00 UTC, Rainer Schuetze wrote:
On 23.04.2014 20:35, Messenger wrote:
What is the state of Rainer Schütze's precise gc? Duplication
of effort
and all that.
The implementation relies on correct RTInfo generation, but
that still doesn't work as this pull
On Thursday, 24 April 2014 at 06:16:05 UTC, Jacob Carlborg wrote:
On 23/04/14 08:39, Walter Bright wrote:
I made a build of dmd with a collector in it. It destroyed the
speed.
Took it out.
Isn't that bad advertisement for the GC in D? Or has it
something to do with DMD not being designed
On Thursday, 24 April 2014 at 17:10:20 UTC, Brian Rogoff wrote:
The implementation relies on correct RTInfo generation, but
that still doesn't work as this pull request is sitting there
for 8 months now without getting much review:
https://github.com/D-Programming-Language/dmd/pull/2480
So
Andrei Alexandrescu:
Guess we could link from dlang.org to some. -- Andrei
A simpler solution is to to just link to this page, that contains
the links to all pages that contain D entries:
http://rosettacode.org/wiki/Category:D
Bye,
bearophile
On Thursday, 24 April 2014 at 06:38:42 UTC, Suliman wrote:
I am following discussions about GC and some other 'critical'
improves in D language for a long time. I see a lot of
arguments and heaps of code, that often hard to understand (for
example Templates) even more complicated to use it.
On Tuesday, 22 April 2014 at 06:39:47 UTC, Jacob Carlborg wrote:
I'm almost exclusively organizing with one class per module and
a deeper hierarchy of packages. Not saying that is the ideal
solution.
That's what i've started to do in a recent project and then use
the special 'package.d' file
On 4/24/14, 10:30 AM, bearophile wrote:
Andrei Alexandrescu:
Guess we could link from dlang.org to some. -- Andrei
A simpler solution is to to just link to this page, that contains the
links to all pages that contain D entries:
http://rosettacode.org/wiki/Category:D
Bye,
bearophile
On 4/24/2014 6:35 AM, bearophile wrote:
Currently this code doesn't compile because the lambda allocates the closure on
the heap:
Pointing out these issues is exactly what @nogc is designed to do.
void main() @nogc {
import std.algorithm: map;
int[3] data = [1, 2, 3];
On Thursday, 24 April 2014 at 17:33:08 UTC, Kagamin wrote:
Another issue is that in 64-bit address space precise GC gives
no advantage as false pointers have low probability, so precise
GC seems to be not worth the effort.
Except a precise gc is type-aware, no? And you could basically
ask it
On Thursday, 24 April 2014 at 17:33:08 UTC, Kagamin wrote:
Another issue is that in 64-bit address space precise GC gives
no advantage as false pointers have low probability, so precise
GC seems to be not worth the effort.
I disagree, in the current state of things there is benefit for
64
On 2014-04-24 16:19, Adam D. Ruppe wrote:
Hmm, looking at the sass webpage, I think I could do some of the
features but prolly not all and with a different syntax. So it wouldn't
work for a full scss compiler.
Sass really has some advanced features. It's possible to create a
function in Ruby
Walter Bright:
Pointing out these issues is exactly what @nogc is designed to
do.
Right.
Can't is a bit strong of a word. Needing a workaround that is
perhaps a bit ugly is more accurate. For your example,
enum int x = 3;
will solve the issue.
In most cases that x is a run-time
On Thursday, 24 April 2014 at 18:39:34 UTC, Messenger wrote:
Except a precise gc is type-aware, no? And you could basically
ask it to please print out everything that you have currently
allocated so I can debug what's allocating.
Depends on the implementation. One would want to not store data
On 4/24/2014 11:49 AM, bearophile wrote:
Walter Bright:
Can't is a bit strong of a word. Needing a workaround that is perhaps a bit
ugly is more accurate. For your example,
enum int x = 3;
will solve the issue.
In most cases that x is a run-time value, as in my example.
You can make
On 24/04/2014 9:44 AM, Dicebot wrote:
Considering the very same size 9 fonts are used as default everywhere
else in my desktop system and it feels just fine.. yeah, you must be
right. It must be small font and not weirdly scaled UI with 2/3 of
screen space blank. Sure.
We must just be
On Thursday, 24 April 2014 at 16:23:22 UTC, Andrei Alexandrescu
wrote:
On 4/24/14, 2:20 AM, bearophile wrote:
Suliman:
It would be very nice to add to dlang wiki comparison woth
Python, to
show that D code can be easy as Python.
In the Rosettacode site there are around one thousand
Am Thu, 24 Apr 2014 10:26:48 -0400
schrieb Steven Schveighoffer schvei...@yahoo.com:
On Wed, 23 Apr 2014 23:15:01 -0400, Marco Leise marco.le...@gmx.de wrote:
Am Wed, 23 Apr 2014 22:56:27 -0400
schrieb Steven Schveighoffer schvei...@yahoo.com:
On Wed, 23 Apr 2014 22:56:54 -0400, Marco
On 24/04/2014 9:44 AM, Dicebot wrote:
Considering the very same size 9 fonts are used as default everywhere
else in my desktop system and it feels just fine.. yeah, you must be
right. It must be small font and not weirdly scaled UI with 2/3 of
screen space blank. Sure.
We must just be
On Thu, Apr 24, 2014 at 08:21:04PM +0100, Alix Pexton via Digitalmars-d wrote:
On 24/04/2014 9:44 AM, Dicebot wrote:
Considering the very same size 9 fonts are used as default everywhere
else in my desktop system and it feels just fine.. yeah, you must be
right. It must be small font and not
On Thu, 24 Apr 2014 15:40:23 -0400, Marco Leise marco.le...@gmx.de wrote:
Am Thu, 24 Apr 2014 10:26:48 -0400
schrieb Steven Schveighoffer schvei...@yahoo.com:
On Wed, 23 Apr 2014 23:15:01 -0400, Marco Leise marco.le...@gmx.de
wrote:
Am Wed, 23 Apr 2014 22:56:27 -0400
schrieb Steven
Suliman:
It's much better to add best examples at wiki.dlang.org
I am updating the examples on Rosettacode almost daily (example:
I am currently modifying tens of entries to use @nogc). So you
Suliman do you want to keep updating the dwiki to follow the very
frequent changes in the
On Thu, 24 Apr 2014 17:08:40 -0400, bearophile bearophileh...@lycos.com
wrote:
Suliman:
It's much better to add best examples at wiki.dlang.org
I am updating the examples on Rosettacode almost daily (example: I am
currently modifying tens of entries to use @nogc)
I don't think this is
1 - 100 of 217 matches
Mail list logo