On 7/11/14, 2:14 PM, Jacob Carlborg wrote:
On 2014-07-10 20:27, Andrei Alexandrescu wrote:
https://twitter.com/D_Programming/status/487301149645873152
https://www.facebook.com/dlang.org/posts/882371471776535
https://news.ycombinator.com/newest
On Saturday, 12 July 2014 at 08:54:29 UTC, Andrei Alexandrescu
wrote:
On 7/11/14, 2:14 PM, Jacob Carlborg wrote:
On 2014-07-10 20:27, Andrei Alexandrescu wrote:
https://twitter.com/D_Programming/status/487301149645873152
https://www.facebook.com/dlang.org/posts/882371471776535
Alright so, I've just finished Dakka's[0] exception support.
Functionality supported:
Local actor references
Remote node connections, using given ip/port
Remote actor calling
On start/stop/error support
Capabilities per node (can this node do x? if not which can do to create
a reference?)
On Saturday, 12 July 2014 at 00:13:47 UTC, David Nadlinger wrote:
For convenience, the list of unresolved issues marked as
regressions:
https://issues.dlang.org/buglist.cgi?bug_severity=regressionresolution=---
Seems like there is still quite a way to go until we can
release RC1.
David
On 2014-07-12 10:54, Andrei Alexandrescu wrote:
archive.org preserves the original format and resolution and isn't fussy
about file size. -- Andrei
I'm not sure what problems you're having but youtube supports
resolutions up to 4k and there are many files on youtube that are larger
than the
On 2014-07-12 15:21, AfroboyX wrote:
There is 1027 issues here... We can't even clear a list of 10
issues, what makes you think we can clear this list before the
next release?
The last three dashes of the URL is part of the link as well but is
apparently not recognized as part of the link.
On 7/12/14, 7:09 AM, Jacob Carlborg wrote:
On 2014-07-12 10:54, Andrei Alexandrescu wrote:
archive.org preserves the original format and resolution and isn't fussy
about file size. -- Andrei
I'm not sure what problems you're having but youtube supports
resolutions up to 4k and there are many
On Saturday, 12 July 2014 at 20:33:24 UTC, Andrei Alexandrescu
wrote:
On 7/12/14, 7:09 AM, Jacob Carlborg wrote:
On 2014-07-12 10:54, Andrei Alexandrescu wrote:
archive.org preserves the original format and resolution and
isn't fussy
about file size. -- Andrei
I'm not sure what problems
On Saturday, 12 July 2014 at 00:13:47 UTC, David Nadlinger wrote:
For convenience, the list of unresolved issues marked as
regressions:
https://issues.dlang.org/buglist.cgi?bug_severity=regressionresolution=---
Seems like there is still quite a way to go until we can
release RC1.
David
On 7/12/14, 4:31 PM, Andrew Edwards via Digitalmars-d-announce wrote:
On Saturday, 12 July 2014 at 00:13:47 UTC, David Nadlinger wrote:
For convenience, the list of unresolved issues marked as regressions:
https://issues.dlang.org/buglist.cgi?bug_severity=regressionresolution=---
Seems like
On 07/11/2014 09:53 AM, simendsjo wrote:
On 07/11/2014 06:28 PM, Russel Winder via Digitalmars-d wrote:
On Fri, 2014-07-11 at 17:43 +0200, simendsjo via Digitalmars-d wrote:
[…]
A little anecdote.. I once got a 20% speed increase in Python by
moving a variable instantiation outside a tight
Ali Çehreli:
Can that 'i = something' expression be monkey-patched in
Python? If so, it could have side-effects to make the program
change semantics like Russel Winder means.
Right. And even PyPy isn't a compiler. Python is interpreted. And
at best JITted. In most cases you use Cpython,
On Friday, 11 July 2014 at 17:44:29 UTC, Frustrated wrote:
So why isn't there a link to previous versions of dmd? I have a
regression I need to test out but can't find 2.064!
There's a perfect tool for that called DVM [1]. It's a
cross-platform tool that allows you to install any version of
On Friday, 11 July 2014 at 19:08:43 UTC, Nick Sabalausky wrote:
Yea, that's one of the things that drew me to D. It came around
saying (quite literally) pragmatic language design at exactly
the time I was noticing how much of a pain ideology-driven and
minimalist languages can be.
+1000
---
Am Fri, 11 Jul 2014 21:14:36 +
schrieb Robert burner Schadek rburn...@gmail.com:
On Friday, 11 July 2014 at 15:20:51 UTC, Johannes Pfau wrote:
An logger can still receive the complete string by appending
the chunks
received in put but we might need some 'finish' function to
signal
Am Fri, 11 Jul 2014 21:26:25 +
schrieb Robert burner Schadek rburn...@gmail.com:
On Friday, 11 July 2014 at 18:02:58 UTC, Marc Schütz wrote:
Some logging backends (e.g. systemd journal) support structured
logging. Should support for this be included (as a subclass,
presumably)?
On Fri, 2014-07-11 at 20:25 +, Joakim via Digitalmars-d wrote:
[…]
Name one general purpose language that currently crosses the
native-scripting divide and has good usage on both ends of the
market. It doesn't exist, because it's almost impossible to do.
[…]
Go and D are really quite
W dniu 2014-07-11 05:18, Kapps pisze:
On Friday, 11 July 2014 at 02:32:00 UTC, Manu via Digitalmars-d wrote:
So, we allow assert() in nothrow functions, the argument is that
assert is non-recoverable, so it's distinct from user exceptions.
I have this in my 'nothrow @nogc' function:
On Fri, 2014-07-11 at 18:53 +0200, simendsjo via Digitalmars-d wrote:
[…]
Yes, I was very perplexed when I was profiling and finally found the
main offender. Unfortunately I don't have the code - it was a project
done for a past employer back in 2006/2007 (Python 2.4 IIRC).
Ah. In which case
On Friday, 11 July 2014 at 13:58:53 UTC, Nordlöw wrote:
Now that we have reasonable support for lexing and parsing D in
D through Dscanner/libdparse/DCD I believe it would be worth
the effort to try to implement D-specific merge algorithms that
operate on either the
- D token stream or
- a D
On Fri, 2014-07-11 at 16:54 +, Chris via Digitalmars-d wrote:
[…]
I remember Java used to be th best thing ever. After years
of using it, however, I found out how restricted the language was
/ is. Still, it's been a success, because people believed all the
propaganda. What matters
On Fri, 2014-07-11 at 10:40 -0700, H. S. Teoh via Digitalmars-d wrote:
[…]
When I finally got past the hype and tried out the language for myself,
I found the same thing you did: it's totally straitjacketed, and shoves
the OO idealogy down your throat even when it obviously doesn't fit. The
On Saturday, 12 July 2014 at 09:44:16 UTC, Piotr Szturman wrote:
W dniu 2014-07-11 05:18, Kapps pisze:
On Friday, 11 July 2014 at 02:32:00 UTC, Manu via
Digitalmars-d wrote:
So, we allow assert() in nothrow functions, the argument is
that
assert is non-recoverable, so it's distinct from user
On Saturday, 12 July 2014 at 03:22:10 UTC, Jesse Phillips wrote:
On Friday, 11 July 2014 at 14:39:09 UTC, David Nadlinger wrote:
On Friday, 11 July 2014 at 14:36:34 UTC, Dicebot wrote:
Round of a formal review before proceeding to voting. Subject
for Phobos inclusion :
On Saturday, 12 July 2014 at 03:54:59 UTC, safety0ff wrote:
I found this link on reddit:
http://dave.cheney.net/2014/07/11/visualising-the-go-garbage-collector
and I was wondering if there was interest in having D's GC
output detailed trace information.
I was thinking perhaps collecting data
Am Fri, 11 Jul 2014 14:36:30 +
schrieb Dicebot pub...@dicebot.lv:
Round of a formal review before proceeding to voting. Subject for
Phobos inclusion : http://wiki.dlang.org/Review/std.logger
authored by Robert Schadek.
Code:
Could you support importing from Internet feature? I think
that'll be very convenient.
import http://example.com/MyLibrary.d;;
On Saturday, 12 July 2014 at 12:24:19 UTC, Katayama Hirofumi MZ
wrote:
Could you support importing from Internet feature? I think
that'll be very convenient.
import http://example.com/MyLibrary.d;;
dub : code.dlang.org
On 12 July 2014 11:27, Russel Winder via Digitalmars-d
digitalmars-d@puremagic.com wrote:
On Fri, 2014-07-11 at 16:54 +, Chris via Digitalmars-d wrote:
[…]
I remember Java used to be th best thing ever. After years
of using it, however, I found out how restricted the language was
/
dub : code.dlang.org
OK, I'll move to there.
On Saturday, 12 July 2014 at 09:19:47 UTC, Johannes Pfau wrote:
I think we can provide structured logging support as a
non-breaking API
extension, so we should not make this part of this review. But
here's
how I'd imagine such an API to work:
I look at the journald spec and LoggerPayload
On Saturday, 12 July 2014 at 13:10:09 UTC, Katayama Hirofumi MZ
wrote:
https://github.com/D-Programming-Language/dub/issues/373
What I have meant is that importing from internet functionality
is currently provided by dub packages and does not belong to
compiler. URL imports in your proposed
https://github.com/D-Programming-Language/dub/issues/373
On Saturday, 12 July 2014 at 12:19:03 UTC, Johannes Pfau wrote:
Am Fri, 11 Jul 2014 14:36:30 +
schrieb Dicebot pub...@dicebot.lv:
Round of a formal review before proceeding to voting. Subject
for Phobos inclusion : http://wiki.dlang.org/Review/std.logger
authored by Robert Schadek.
On Saturday, 12 July 2014 at 11:06:10 UTC, Kiith-Sa wrote:
Would definitely like this. I even think something like this
should be built in.
Sadly, I think this feature would require recompiling druntime
because of overhead.
(now if possible, it'd also be good to have a way to get
On Sat, 2014-07-12 at 13:13 +, Dicebot via Digitalmars-d wrote:
On Saturday, 12 July 2014 at 13:10:09 UTC, Katayama Hirofumi MZ
wrote:
https://github.com/D-Programming-Language/dub/issues/373
What I have meant is that importing from internet functionality
is currently provided by dub
Am 12.07.2014 15:47, schrieb Russel Winder via Digitalmars-d:
On Sat, 2014-07-12 at 13:13 +, Dicebot via Digitalmars-d wrote:
On Saturday, 12 July 2014 at 13:10:09 UTC, Katayama Hirofumi MZ
wrote:
https://github.com/D-Programming-Language/dub/issues/373
What I have meant is that
Am 12.07.2014 14:54, schrieb Iain Buclaw via Digitalmars-d:
On 12 July 2014 11:27, Russel Winder via Digitalmars-d
digitalmars-d@puremagic.com wrote:
On Fri, 2014-07-11 at 16:54 +, Chris via Digitalmars-d wrote:
[…]
I remember Java used to be th best thing ever. After years
of using
On Thu, 2014-07-10 at 11:29 -0700, H. S. Teoh via Digitalmars-d wrote:
On Thu, Jul 10, 2014 at 07:17:39PM +0100, Russel Winder via Digitalmars-d
wrote:
On Mon, 2014-07-07 at 15:47 +, Meta via Digitalmars-d wrote:
On Monday, 7 July 2014 at 15:33:06 UTC, bearophile wrote:
If you
Am Sat, 12 Jul 2014 13:09:37 +
schrieb Robert burner Schadek rburn...@gmail.com:
On Saturday, 12 July 2014 at 09:19:47 UTC, Johannes Pfau wrote:
I think we can provide structured logging support as a
non-breaking API
extension, so we should not make this part of this review. But
Am Sat, 12 Jul 2014 13:18:29 +
schrieb Robert burner Schadek rburn...@gmail.com:
* Can the logger be influenced by command line flags /
environment
variables? I guess not, but if it can it should be documented.
I thought not writing about it makes it clear that you can not.
Yes,
I agree. Go approach my seem tempting in its simplicity but it
scales terribly. It is one of less wise decisions made by Go
authors.
On Sat, 2014-07-12 at 13:54 +0100, Iain Buclaw via Digitalmars-d wrote:
[…]
Or a better Oberon, I haven't quite decided which yet... :)
Whatever the reality initially, it is definitely now marketed as a
modernized C. Echoes of C++ then.
If there were more D users in the London area than one
On 12.07.2014 05:54, safety0ff wrote:
I found this link on reddit:
http://dave.cheney.net/2014/07/11/visualising-the-go-garbage-collector
and I was wondering if there was interest in having D's GC output
detailed trace information.
I was thinking perhaps collecting data and then writing it as
On Sat, 2014-07-12 at 15:52 +0200, Paulo Pinto via Digitalmars-d wrote:
[…]
Except when:
- one needs proper versions
Clearly just using DVCS repositories is a versioning problem, though the
Go system does not automatically update clones so you are in total
control of updating. Recognizing the
On 12 July 2014 15:11, Russel Winder via Digitalmars-d
digitalmars-d@puremagic.com wrote:
On Sat, 2014-07-12 at 13:54 +0100, Iain Buclaw via Digitalmars-d wrote:
[…]
Or a better Oberon, I haven't quite decided which yet... :)
Whatever the reality initially, it is definitely now marketed as a
On Sat, Jul 12, 2014 at 03:01:19PM +0100, Russel Winder via Digitalmars-d wrote:
On Thu, 2014-07-10 at 11:29 -0700, H. S. Teoh via Digitalmars-d wrote:
[...]
That was zen; this is tao. :P
Very Sifu Anthony Korahais
[...]
On Sat, 2014-07-12 at 14:07 +, Dicebot via Digitalmars-d wrote:
I agree. Go approach my seem tempting in its simplicity but it
scales terribly. It is one of less wise decisions made by Go
authors.
The decision wasn't made by the Go authors, it was proposed and
initially implemented by
On Sat, 2014-07-12 at 15:37 +0100, Iain Buclaw via Digitalmars-d wrote:
[…]
I live literally 400 yards away from the burnt down west pier. Its a
beautiful sight in the morning, come sun, rain, or fog. I hear they
are building a 100 metre high elevator-to-nowhere in its place. Sad
times...
On 12 July 2014 15:53, Russel Winder via Digitalmars-d
digitalmars-d@puremagic.com wrote:
On Sat, 2014-07-12 at 15:37 +0100, Iain Buclaw via Digitalmars-d wrote:
[…]
I live literally 400 yards away from the burnt down west pier. Its a
beautiful sight in the morning, come sun, rain, or fog. I
http://pointersgonewild.wordpress.com/2014/07/11/the-constness-problem/
I can relate to this. I don't use classes much in D, but I find
it frustrating that you need to reach to std.typecons.Rebindable
for what I would consider to be a more common usage of const with
classes.
I really feel
On Sat, 2014-07-12 at 07:37 -0700, H. S. Teoh via Digitalmars-d wrote:
On Sat, Jul 12, 2014 at 03:01:19PM +0100, Russel Winder via Digitalmars-d
wrote:
On Thu, 2014-07-10 at 11:29 -0700, H. S. Teoh via Digitalmars-d wrote:
[...]
That was zen; this is tao. :P
Very Sifu Anthony
On Friday, 11 July 2014 at 18:56:07 UTC, Timon Gehr wrote:
On 07/10/2014 08:12 PM, Jonathan Marler wrote:
So what do people think?
How do you make sure there is at most one thread of each kind?
Good question. First, since the language doesn't support starting
threads itself (like Go) but
On Saturday, 12 July 2014 at 14:43:13 UTC, Russel Winder via
Digitalmars-d wrote:
The decision wasn't made by the Go authors, it was proposed and
initially implemented by users, then incorporated into Go by the
official high priests.
As to whether it is wise, that is must be left to opinion and
On Monday, 7 July 2014 at 15:33:06 UTC, bearophile wrote:
Nordlöw:
Done.
But that author doesn't switch to dmd 2.066beta1 :-)
From the blog post:
However, the language itself feels a bit old and a bit too much
like C++. That's not strange considering its age, but you can’t
help thinking
On 07/12/2014 05:56 PM, Israel Rodriguez wrote:
On Monday, 7 July 2014 at 15:33:06 UTC, bearophile wrote:
From the blog post:
However, the language itself feels a bit old and a bit too much like
C++. That's not strange considering its age, but you can’t help
thinking that time has left D a
Overall looks good to me. Some points that haven't been mentioned so far
in this review round:
- Using a class with static members doesn't seem to be very idiomatic.
It seems like the three member properties can simply be made global and
everything should be fine - the LogManager. prefix
On Saturday, 12 July 2014 at 16:11:46 UTC, Timon Gehr wrote:
On 07/12/2014 05:56 PM, Israel Rodriguez wrote:
On Monday, 7 July 2014 at 15:33:06 UTC, bearophile wrote:
From the blog post:
However, the language itself feels a bit old and a bit too
much like
C++. That's not strange considering
On Sat, 2014-07-12 at 15:41 +, Dicebot via Digitalmars-d wrote:
[…]
verify contributions, version control. Regarding latter I find it
quite telling that dub has recently banned usage of ~master as
dependency version and only allows explicit tags/releases - good
hygienic decision for
On Sat, 2014-07-12 at 15:41 +, Dicebot via Digitalmars-d wrote:
[…]
Sorry but I am tired of endless appeal to history / usage - by
this logic Java and PHP are very good languages full of wisdom.
And if someone thinks so we will have a hard time agreeing about
anything.
Why are you
On 10/07/14 01:35, David Nadlinger via Digitalmars-d wrote:
A few lost hairs and an implementation of weak symbols later, this should now be
fixed in Git master.
In other words, there are currently no known issues with shared libraries, so
everybody test away. ;)
Hmm, I just rebuild current
On Sat, Jul 12, 2014 at 03:03:12PM +, Peter Alexander via Digitalmars-d
wrote:
http://pointersgonewild.wordpress.com/2014/07/11/the-constness-problem/
I can relate to this. I don't use classes much in D, but I find it
frustrating that you need to reach to std.typecons.Rebindable for what
On Sat, Jul 12, 2014 at 06:13:28PM +0200, Sönke Ludwig via Digitalmars-d wrote:
Overall looks good to me. Some points that haven't been mentioned so far in
this review round:
- Using a class with static members doesn't seem to be very
idiomatic. It seems like the three member properties can
On 12/07/14 19:12, Joseph Rushton Wakeling via Digitalmars-d wrote:
Hmm, I just rebuild current git master from a fresh pull, and the problem is
still there. :-(
I'm so sorry, this is completely wrong. I'd just forgotten to put back my
/etc/ld.so.conf.d/ldc2.conf file pointing to
On Friday, 11 July 2014 at 21:04:05 UTC, H. S. Teoh via
Digitalmars-d wrote:
On Thu, Jul 10, 2014 at 08:10:36PM +, via Digitalmars-d
wrote:
Hmm. Seems that you're addressing a somewhat wider scope than
what I had
in mind. I was thinking mainly of 'scope' as does not escape
the body
of this
Am 12.07.2014 18:20, schrieb Russel Winder via Digitalmars-d:
On Sat, 2014-07-12 at 15:41 +, Dicebot via Digitalmars-d wrote:
[…]
verify contributions, version control. Regarding latter I find it
quite telling that dub has recently banned usage of ~master as
dependency version and only
On Friday, 11 July 2014 at 22:03:37 UTC, H. S. Teoh via
Digitalmars-d wrote:
Along these lines, I'm wondering if turtles all the way down
is the
wrong way of looking at it. Consider, for example, an n-level
deep
nesting of aggregates. If obj.nest1 is const, then
obj.nest1.nest2.x
must also be
On Saturday, 12 July 2014 at 16:38:35 UTC, Russel Winder via
Digitalmars-d wrote:
On Sat, 2014-07-12 at 15:41 +, Dicebot via Digitalmars-d
wrote:
[…]
Sorry but I am tired of endless appeal to history / usage - by
this logic Java and PHP are very good languages full of
wisdom. And if
On Saturday, 12 July 2014 at 10:27:12 UTC, Russel Winder via
Digitalmars-d wrote:
In the end it is about community rather than the programming
language
per se. Java created a huge community that was evangelical. Go
has
rapidly created an active community that is evangelical. Python
has
rapidly
On 7/10/2014 10:53 PM, deadalnix wrote:
Most of them never gathered any attention.
Sometimes, when the idea is right, you still need to get behind and push it.
Build it and they will come is a stupid hollywood fantasy.
I've also written DIPs, which garnered zero comments. I implemented
Am Sat, 12 Jul 2014 13:27:26 -0700
schrieb Walter Bright newshou...@digitalmars.com:
On 7/10/2014 10:53 PM, deadalnix wrote:
Most of them never gathered any attention.
Sometimes, when the idea is right, you still need to get behind and
push it. Build it and they will come is a stupid
On 7/12/14, 4:04 AM, Dicebot wrote:
On Saturday, 12 July 2014 at 03:22:10 UTC, Jesse Phillips wrote:
On Friday, 11 July 2014 at 14:39:09 UTC, David Nadlinger wrote:
On Friday, 11 July 2014 at 14:36:34 UTC, Dicebot wrote:
Round of a formal review before proceeding to voting. Subject for
Phobos
On 7/12/14, 6:47 AM, Russel Winder via Digitalmars-d wrote:
On Sat, 2014-07-12 at 13:13 +, Dicebot via Digitalmars-d wrote:
On Saturday, 12 July 2014 at 13:10:09 UTC, Katayama Hirofumi MZ
wrote:
https://github.com/D-Programming-Language/dub/issues/373
What I have meant is that importing
This is a really bad idea. Being able to decide how a dependency
gets pulled in for a library you depend on is a blessing,
especially when you have to lock versions down. This only works
for something like loading JavaScript files, where you can assume
only roughly 6 concurrent connections per
On Saturday, 12 July 2014 at 15:03:13 UTC, Peter Alexander wrote:
http://pointersgonewild.wordpress.com/2014/07/11/the-constness-problem/
I can relate to this. I don't use classes much in D, but I find
it frustrating that you need to reach to
std.typecons.Rebindable for what I would consider
On 7/12/14, 10:19 AM, H. S. Teoh via Digitalmars-d wrote:
On Sat, Jul 12, 2014 at 06:13:28PM +0200, Sönke Ludwig via Digitalmars-d wrote:
Overall looks good to me. Some points that haven't been mentioned so far in
this review round:
- Using a class with static members doesn't seem to be very
On 7/12/14, 12:54 PM, Dicebot wrote:
On Saturday, 12 July 2014 at 16:38:35 UTC, Russel Winder via
Digitalmars-d wrote:
On Sat, 2014-07-12 at 15:41 +, Dicebot via Digitalmars-d wrote:
[…]
Sorry but I am tired of endless appeal to history / usage - by this
logic Java and PHP are very good
Somebody (I think bearophile) mentioned a while back that they
had a folder with all the D solutions from Rosettacode.
Yeah that would indeed be nice to have.
On 08/07/14 19:54, David Nadlinger via Digitalmars-d wrote:
And secondly, proper support for building druntime/Phobos as shared libraries
and loading D shared objects dynamically has now arrived in LDC! As you might be
aware, Martin Nowak has spent a considerable amount of effort on adding
On 7/12/14, 1:38 PM, Johannes Pfau wrote:
But you've got some nice bonus:
If somebody doesn't like your pull request you can just merge it anyway.
That hasn't happened in a really long time, and last time it did is
before we had due process in place.
But if you veto something the only one
On 7/12/14, 1:27 PM, Walter Bright wrote:
On 7/10/2014 10:53 PM, deadalnix wrote:
Most of them never gathered any attention.
Sometimes, when the idea is right, you still need to get behind and push
it. Build it and they will come is a stupid hollywood fantasy.
I've also written DIPs, which
I should be posting this in dmd-beta but instead I'm posting it
here because I am currently locked out of my gmail account, the
recovery account for which is yahoo and I'm locked out of that
too.
Google doesn't trust me because I moved out of the country and
then went on a trip... and Yahoo
Moved from D.announce for further discussion by request:
On Saturday, 12 July 2014 at 00:13:47 UTC, David Nadlinger wrote:
For convenience, the list of unresolved issues marked as
regressions:
https://issues.dlang.org/buglist.cgi?bug_severity=regressionresolution=---
Seems like there is
On 7/12/2014 1:38 PM, Johannes Pfau wrote:
But you've got some nice bonus:
If somebody doesn't like your pull request you can just merge it anyway.
I'd only do that in an emergency. I'll also just pull the ones for D1.
But if you veto something the only one who can probably merge anyway is
On 7/12/2014 5:27 PM, Andrew Edwards wrote:
Some advice would really be appreciated.
I share your pain. Others here have rescued my github apocalyptic screwups
several times.
On 7/12/2014 8:35 PM, Andrew Edwards wrote:
Moved from D.announce for further discussion by request:
On Saturday, 12 July 2014 at 00:13:47 UTC, David Nadlinger wrote:
For convenience, the list of unresolved issues marked as regressions:
On Friday, 11 July 2014 at 17:28:39 UTC, deadalnix wrote:
The compiler can ensure that you hit at least every 4k or so. It
doesn't look like a very hard constraint to have a volatile load
per untouched 4k of stack (which should be very rare).
Sure, it should be possible to work it into the
On 7/11/2014 10:28 AM, deadalnix wrote:
The compiler can ensure that you hit at least every 4k or so.
And it already does.
.On 12 July 2014 20:55, Joakim via Digitalmars-d
digitalmars-d@puremagic.com wrote:
On Saturday, 12 July 2014 at 10:27:12 UTC, Russel Winder via Digitalmars-d
wrote:
In the end it is about community rather than the programming language
per se. Java created a huge community that was
How Can I Print Raw Binary Into The Console?
I Have Variable Of Type ubyte which equals 0b011 How Can I Get
The Variable To Print Out As 011
On 07/11/2014 10:56 PM, Sean Campbell wrote:
How Can I Print Raw Binary Into The Console?
Taking a step back, a D program prints to stdout, not console. However,
in most cases a D program's output ends up on the console when it is
started in a console.
So, one can print any byte value to
In case you have missed the thread:
http://www.reddit.com/r/programming/comments/2ag8qe/the_constness_problem/
Bye,
bearophile
The Subject says it all, is something like psutils available in
D? [1]
I need it to measure memory usage of a process.
[1] https://github.com/giampaolo/psutil
thank you
Thomas
I also need to get the user and system time of a process, doesn't
seem to be available in Phobos. (e.g. getrusage in Linux but
platform independent)
On Friday, 11 July 2014 at 16:22:37 UTC, anonymous wrote:
There's http://dlang.org/phobos/std_traits.html#hasIndirections
Thx.
I've created a simple stack type using calloc/free which seems to
work nicely. Then instead of using C functions i've tried to
implement the same type using the GC. However i'm experiencing a
crash. I've been staring at this snippet for hours now any help
would be appreciated. This is a
On 12.07.2014 16:24, anonymous wrote:
No explanation or solution, but a reduction:
import core.memory;
void main()
{
alias T = ubyte;
enum size1 = 2_049; /* 2_048 = 2^^11 */
enum size2 = 1_048_577; /* 1_048_576 = 2^^20 */
T* _data;
_data =
On 12.07.2014 19:05, Rainer Schuetze wrote:
Thanks for the reduction. GC.realloc seems broken for reallocations to
sizes larger than the current GC pool.
Please file a bug report.
Actually done that myself: https://issues.dlang.org/show_bug.cgi?id=13111
Ive been reading the OSX notes for the DMD compiler but not
everything is clear to me as i dont know how exactly the compiler
looks for things.
i wanted to test it out first using this package from
code.dlang.org
http://code.dlang.org/packages/colorize
I downloaded the zip, extracted it, and
Hi,
I noticed that in Andrei's talks and his book, he used braces on
the same line of delcaration, however Phobos and other D
libraries I know use braces on their own line. Now I'm in a
position where I need to take decision on coding style of my
library and I get accustomed to use braces on
1 - 100 of 176 matches
Mail list logo