On Friday, 13 March 2015 at 13:51:43 UTC, Dennis Ritchie wrote:
And you can somehow memoization stuff at compile time?
If you want memoization at compile time I would suggest using the
template version of Factorial as template instantiations are
cached by the compiler. However,
Spir-V may be producable from HLL tools, but that doesn't mean
it's perfectly ok to use any HLL. Capability for HLL-to-spir is
exposed mainly for syntax sugar and shallow precompile
optimisations, but mostly to avoid vendor-specific HLL bugs that
have plagued GLSL and HLSL (those billion
I've not being following this list too closely, so forgive me if this has
been discussed before. Here's a simple suggestion that maybe could improve
D docs a bit.
Perhaps, psychologically, the worst about the docs is that the function
signature is used as a kind of section title. What about just
On 3/13/15 11:40 AM, ezneh wrote:
On Friday, 13 March 2015 at 14:48:11 UTC, Andrei Alexandrescu wrote:
On 3/13/15 1:53 AM, JN wrote:
Then I tried Code::Blocks and the debug experience has been almost
shockingly good. I had no idea! Then I found indeed a wiki page
describing the features:
Andrei Alexandrescu
seewebsiteforem...@erdani.org wrote in
news:mdv6st$28mg$1...@digitalmars.com:
Yah, indeed. Continuing the
experiment, I set out to find Go's
startsWith. So I googled for
``startswith golang''. First hit is
http://golang.org/pkg/strings/ but
there's no StartsWith on
On 3/13/2015 10:35 AM, Andrei Alexandrescu wrote:
One issue I see here is that it's difficult to group together functions with
slightly different names but related functionality (e.g. findSplit,
findSplitBefore, findSplitAfter).
That's what
See Also:
findSplit, findSplitBefore,
On Wednesday, 11 March 2015 at 03:16:50 UTC, Taylor Hillegeist
wrote:
So I found http://ec-lang.org/ it seems alot like D, But it has
a company backing it. It just seems interesting.
heh they choose a lot worse name for a language than D :D.
https://issues.dlang.org/show_bug.cgi?id=14281
Martin Nowak c...@dawg.eu changed:
What|Removed |Added
Keywords||pull
--- Comment #1 from Martin
On 03/13/2015 11:28 AM, Ali Çehreli wrote:
enum int[] factorials = memoizeFactorials(N);
Oops! That's generally a trap! The array better be 'static' because a
manifest constant like 'enum factorials' would be inserted everywhere it
is used. (Similar to a C macro.)
I've been scratching my
On 3/13/15 12:02 PM, Joe Greer wrote:
In this case, there
should really be an entry associated
with the string class that
indicates that this algorithm works with
it and for that matter, all
common string operations that are
implemented as algorithms should be
referred to there.
Yah, I think
On Friday, 13 March 2015 at 16:30:07 UTC, Matt wrote:
Thank you, adding the subConfigurations section to dub.json
seems to allow the program to compile and run successfully.
However, to test the code, I first tried in the main program:
---
py_eval!string(import sys\nprint(sys.path));
---
On 3/13/2015 8:18 AM, Florin Mihaila wrote:
Hi everyone,
I'm the guy who threw the rock in the pond. I should probably
clarify a few things about the notes (which Andrei posted with my
permission).
Thank you very much. You've performed an invaluable service for us.
On 03/13/2015 06:16 AM, weaselcat wrote:
confusingly, D uses enum for named compile-time constants.
http://ddili.org/ders/d.en/enum.html
Actually, 'static' works as well. I have enumerated the cases here:
http://ddili.org/ders/d.en/functions_more.html#ix_functions_more.CTFE
quote
For a
On Friday, 13 March 2015 at 19:01:08 UTC, weaselcat wrote:
On Friday, 13 March 2015 at 18:55:18 UTC, Walter Bright wrote:
On 3/13/2015 3:34 AM, bearophile wrote:
Strict mode is a D2 with immutable+@safe+pure by default,
Note that you can get this largely by starting a module with
the
On 3/13/15 8:37 AM, Chris wrote:
Yep. This is part of the make people feel good about it approach.
Plus, we're not selling shit, it's really a good product. In a way, we
do it the other way around: bad marketing for a good product.
Yah, indeed. Continuing the experiment, I set out to find Go's
On 3/13/15 10:03 AM, Leandro Motta Barros via Digitalmars-d wrote:
**startsWith** [this is the title, rendered in some very prominent way.
Just the function name, no parameters or anything else]
Yah, that'd be nice, and hopefully somewhat automatic with the new-style
documentation
On Friday, 13 March 2015 at 18:20:48 UTC, bachmeier wrote:
Finally, I feel I should respond to this:
On Friday, 13 March 2015 at 02:28:53 UTC, bachmeier wrote:
If you want to be Rob Pike Jr., Go is great. If you want to
program your way, not so much.
I have no reason to take this personally,
On Friday, 13 March 2015 at 14:48:11 UTC, Andrei Alexandrescu
wrote:
On 3/13/15 1:53 AM, JN wrote:
Then I tried Code::Blocks and the debug experience has been
almost shockingly good. I had no idea! Then I found indeed a
wiki page describing the features:
http://wiki.dlang.org/CodeBlocks. It
On Friday, 13 March 2015 at 19:03:29 UTC, Namespace wrote:
On Friday, 13 March 2015 at 19:01:08 UTC, weaselcat wrote:
On Friday, 13 March 2015 at 18:55:18 UTC, Walter Bright wrote:
On 3/13/2015 3:34 AM, bearophile wrote:
Strict mode is a D2 with immutable+@safe+pure by default,
Note that
On Friday, 13 March 2015 at 00:20:40 UTC, Andrei Alexandrescu
wrote:
A friend of mine needed to complete a small project and thought
of using a language he didn't know for it. He already knew I
work on D so he considered it alongside Go. He ended up
choosing the latter, and documented his
On 03/13/2015 10:18 AM, Dude wrote:
On Wednesday, 11 March 2015 at 03:16:50 UTC, Taylor Hillegeist
wrote:
So I found http://ec-lang.org/ it seems alot like D, But it has a
company backing it. It just seems interesting.
heh they choose a lot worse name for a language than D :D.
Finally, I feel I should respond to this:
On Friday, 13 March 2015 at 02:28:53 UTC, bachmeier wrote:
If you want to be Rob Pike Jr., Go is great. If you want to
program your way, not so much.
I have no reason to take this personally, seeing as I'm pretty
secure in my non-Rob-Pike-ness, but
https://issues.dlang.org/show_bug.cgi?id=14281
Issue ID: 14281
Summary: duplicate .debug_info entries for arrays, delegates
and aa's
Product: D
Version: unspecified
Hardware: All
OS: Linux
Status:
On Friday, 13 March 2015 at 14:34:23 UTC, Russel Winder wrote:
On Fri, 2015-03-13 at 14:20 +, Chris via Digitalmars-d
wrote:
[…]
reluctant to learn something new. Crowd 2. we can win over,
yet we have failed to communicate with them, to reach out to
them. Most people I know have a look
On Friday, 13 March 2015 at 19:11:59 UTC, weaselcat wrote:
On Friday, 13 March 2015 at 19:03:29 UTC, Namespace wrote:
On Friday, 13 March 2015 at 19:01:08 UTC, weaselcat wrote:
On Friday, 13 March 2015 at 18:55:18 UTC, Walter Bright wrote:
On 3/13/2015 3:34 AM, bearophile wrote:
Strict mode
On Friday, 13 March 2015 at 18:55:18 UTC, Walter Bright wrote:
On 3/13/2015 3:34 AM, bearophile wrote:
Strict mode is a D2 with immutable+@safe+pure by default,
Note that you can get this largely by starting a module with
the following:
immutable @safe pure:
no you can't until there
On Friday, 13 March 2015 at 14:34:30 UTC, Wyatt wrote:
On Friday, 13 March 2015 at 13:51:05 UTC, Paulo Pinto wrote:
How do you do semantic refactoring in UNIX shell?
With tools. (Can you be less abstract? Semantic refactoring
could be all sorts of things-- it's not a well-defined term of
On Friday, 13 March 2015 at 15:18:33 UTC, Florin Mihaila wrote:
Hi everyone,
I'm the guy who threw the rock in the pond. I should probably
clarify a few things about the notes (which Andrei posted with
my
permission).
Thanks for an extended feedback.
On 3/13/2015 6:18 AM, Dicebot wrote:
In my opinion it is better to focus on tempting users with D strong bits than
oversell it by trying it compete in topics it has inherent disadvantage. There
is not point in try to compete with Go on topic of simplicity - they have
crippled the language
On 3/13/15 12:05 PM, Walter Bright wrote:
Having a me too language is not an easy way to sell it
Well Go is the epitome of me too but is doing well for other reasons.
-- Andrei
On Friday, 13 March 2015 at 18:38:16 UTC, Ali Çehreli wrote:
On 03/13/2015 11:28 AM, Ali Çehreli wrote:
enum int[] factorials = memoizeFactorials(N);
Oops! That's generally a trap! The array better be 'static'
because a manifest constant like 'enum factorials' would be
inserted everywhere
On 3/13/2015 7:51 AM, Chris wrote:
Also, sometimes I have the impression that people use any excuse not to use D.
I've learned to be careful when people say I can't use [insert your product]
because of X. All too often, it isn't X at all. I discovered this by addressing
the problem, and
https://issues.dlang.org/show_bug.cgi?id=14226
Ketmar Dark ket...@ketmar.no-ip.org changed:
What|Removed |Added
CC||ket...@ketmar.no-ip.org
On Friday, 13 March 2015 at 08:31:28 UTC, Namespace wrote:
The most of Dgame is ready, only the tutorials are missing to
arrive to the release state.
http://dgame-dev.de/?page=tutorial
I've worked the whole day to get them updated. Hopefully I don't
missed something.
I will merge the 0.5.0
On 3/13/2015 3:34 AM, bearophile wrote:
Strict mode is a D2 with immutable+@safe+pure by default,
Note that you can get this largely by starting a module with the following:
immutable @safe pure:
something like a var keyword to denote mutable values,
Transitive const may make this
I will merge the 0.5.0 branch this evening and tag a release
candidate v0.5.0rc.
https://github.com/Dgame/Dgame/releases/tag/v0.5.0-beta.1
On Friday, 13 March 2015 at 18:55:18 UTC, Walter Bright wrote:
On 3/13/2015 3:34 AM, bearophile wrote:
Strict mode is a D2 with immutable+@safe+pure by default,
Note that you can get this largely by starting a module with
the following:
immutable @safe pure:
As far as I'm aware,
On 3/13/2015 7:20 AM, Chris wrote:
This is true. This battle is lost. But a lot of users, even people who are
interested in D, shy away from D, because they don't have the feeling that this
is something really useful. We fail to communicate both its general usefulness
and its strong points as
On 3/13/2015 10:31 AM, Andrei Alexandrescu wrote:
For example the expression (assuming s is e.g. a string)
File(/tmp/a).byChunk(4096).joiner.startsWith(s)
opens a file, progressively reads chunks of 4KB, stitches them together at no
cost, compares against a prefix until it makes a decision,
https://issues.dlang.org/show_bug.cgi?id=14225
--- Comment #10 from Martin Nowak c...@dawg.eu ---
(In reply to Walter Bright from comment #9)
What is the prospect of this being done in time for 2.067?
I'm working on that, but dwarf.c is a mess. So far everything I tried had to
touch too much
On Friday, 13 March 2015 at 17:11:06 UTC, Israel wrote:
Well see the real problem is that D cant seem to cater to one
group or another.
It cant cater to new/inexperienced people because it isnt
portrayed that way.
I don't think D is a priori not suitable for rookies. It just
needs more
On 03/13/2015 05:26 AM, bearophile wrote:
Now I think it doesn't work any more, giving errors like this:
That may be related to the recent changes in the build system. Have you
been following the following threads? (I haven't been; so, I am sure
whether they apply.)
[dmd-internals] DMD
On 03/13/2015 06:51 AM, Dennis Ritchie wrote:
And you can somehow memoization stuff at compile time?
Scarily simple. :D
import std.stdio;
enum N = 15;
enum int[] factorials = memoizeFactorials(N);
int[] memoizeFactorials(int n)
{
if (!__ctfe) {
// Make sure that this function is
On Friday, 13 March 2015 at 21:12:52 UTC, Robert M. Münch wrote:
How do I declare such missing Windows API functions myself?
In the file you want to use it, you can just write
extern(Windows) void OutputDebugStringA(in char*);
and it should work... or whatever the signature is, check msdn,
On 03/13/2015 12:09 PM, Dennis Ritchie wrote:
And you can make the same memoized variable was available at compile
time and at run time? :)
Yes, run-time is always possible and if it can be computed at compile
time, compile-time is also possible.
Ali
On Friday, 13 March 2015 at 19:18:11 UTC, Namespace wrote:
On Friday, 13 March 2015 at 19:11:59 UTC, weaselcat wrote:
On Friday, 13 March 2015 at 19:03:29 UTC, Namespace wrote:
On Friday, 13 March 2015 at 19:01:08 UTC, weaselcat wrote:
On Friday, 13 March 2015 at 18:55:18 UTC, Walter Bright
https://issues.dlang.org/show_bug.cgi?id=14282
Issue ID: 14282
Summary: executeShell should can sh and ignore the SHELL env
variable
Product: D
Version: D2
Hardware: All
OS: Linux
Status: NEW
On Friday, 13 March 2015 at 10:02:02 UTC, Walter Bright wrote:
On 3/13/2015 2:22 AM, w0rp wrote:
I'll never forget what Bjarne said about people wanting a
simple language. His
response to I want a simple language was, No, you don't!
Because it's always
I want it to be simple... with just this
On Friday, 13 March 2015 at 19:18:27 UTC, Walter Bright wrote:
It's important for us to find the real reasons, instead of
chasing pots 'o gold at the end of rainbows.
I suggest reading something about the lean startup methodology...
It really opens mind about issues like that.
---
Paolo
https://issues.dlang.org/show_bug.cgi?id=14282
Martin Nowak c...@dawg.eu changed:
What|Removed |Added
Summary|executeShell should can sh |executeShell should use sh
On Fri, 2015-03-13 at 10:31 -0700, Andrei Alexandrescu via Digitalmars-d
wrote:
[…]
File(/tmp/a).byChunk(4096).joiner.startsWith(s)
[…]
Conversely, this is exactly the sort of expression that Scala (and
Haskell sort of, Haskell insists on function application syntax) are
getting huge
On Friday, 13 March 2015 at 21:11:46 UTC, Alex Parrill wrote:
On Friday, 13 March 2015 at 21:02:39 UTC, Almighty Bob wrote:
The language reference is pretty abysmal too. EG...
It has that feel all the way through. You go looking for
things and they never seem to be where you expect, or they
Ali Çehreli:
That may be related to the recent changes in the build system.
Right.
Have you been following the following threads? (I haven't been;
so, I am sure whether they apply.)
I have not.
[dmd-internals] DMD now requires a working D compiler to be
build
Proposal : aggregated
https://issues.dlang.org/show_bug.cgi?id=14282
--- Comment #1 from Martin Nowak c...@dawg.eu ---
Quote from
http://pubs.opengroup.org/onlinepubs/9699919799/functions/system.html
One reviewer suggested that an implementation of system() might want to use
an environment variable such as SHELL
On 3/13/15 1:24 PM, weaselcat wrote:
On Friday, 13 March 2015 at 19:18:11 UTC, Namespace wrote:
On Friday, 13 March 2015 at 19:11:59 UTC, weaselcat wrote:
On Friday, 13 March 2015 at 19:03:29 UTC, Namespace wrote:
On Friday, 13 March 2015 at 19:01:08 UTC, weaselcat wrote:
On Friday, 13 March
https://issues.dlang.org/show_bug.cgi?id=14282
Martin Nowak c...@dawg.eu changed:
What|Removed |Added
Keywords||pull
--- Comment #2 from Martin
On Friday, 13 March 2015 at 15:17:06 UTC, Andrei Alexandrescu
wrote:
This in big bold font, too. The HTML way of saying, you wanted
startsWith? I'll give you more startsWith than you can carry.
Picture the effect this has on someone who just wanted to see
if a string starts with another.
We
Walter Bright:
On 3/13/2015 3:34 AM, bearophile wrote:
Strict mode is a D2 with immutable+@safe+pure by default,
Thank you Walter for giving me an actual answer :-)
Note that you can get this largely by starting a module with
the following:
immutable @safe pure:
immutable in my
On Friday, 13 March 2015 at 21:12:52 UTC, Robert M. Münch wrote:
Hi, I want to use the Windows OutputDebugString() which is not
defined anywhere.
How do I declare such missing Windows API functions myself? And
with which libaries do I then need to link? Does DMD contain
all necessary Windows
On Friday, 13 March 2015 at 22:02:42 UTC, weaselcat wrote:
On Friday, 13 March 2015 at 21:52:30 UTC, Almighty Bob wrote:
On Friday, 13 March 2015 at 21:11:46 UTC, Alex Parrill wrote:
On Friday, 13 March 2015 at 21:02:39 UTC, Almighty Bob wrote:
The language reference is pretty abysmal too.
On Wednesday, 11 March 2015 at 08:22:30 UTC, Xavier Bigand wrote:
DQuick is just like QtQuick, a simple render coupled to a
language that support property bindings, if you want more
advanced GUI components like widgets the user have to create
them based on primitives (images, border
On Friday, 13 March 2015 at 15:17:06 UTC, Andrei Alexandrescu
wrote:
There is something loosely related to curb appeal that has been
discussed here before. Consider someone just starts with D and
wants to figure whether there's a startsWith function in D.
So they google for something like
Yah, we sorely need a way to undo an attribute. BTW @undo is
short and sweet. -- Andrei
I thought reusing keywords is what you like:
Example #1:
pure:
nothrow:
// ... some stuff
default: // not pure/nothrow
Example #2:
class Foo {
final:
// ...
default: // virtual
//
On Friday, 13 March 2015 at 21:16:24 UTC, Ali Çehreli wrote:
On 03/13/2015 12:09 PM, Dennis Ritchie wrote:
And you can make the same memoized variable was available at
compile
time and at run time? :)
Yes, run-time is always possible and if it can be computed at
compile time, compile-time
On Friday, 13 March 2015 at 21:52:30 UTC, Almighty Bob wrote:
On Friday, 13 March 2015 at 21:11:46 UTC, Alex Parrill wrote:
On Friday, 13 March 2015 at 21:02:39 UTC, Almighty Bob wrote:
The language reference is pretty abysmal too. EG...
It has that feel all the way through. You go looking
On 3/13/2015 12:01 PM, weaselcat wrote:
On Friday, 13 March 2015 at 18:55:18 UTC, Walter Bright wrote:
On 3/13/2015 3:34 AM, bearophile wrote:
Strict mode is a D2 with immutable+@safe+pure by default,
Note that you can get this largely by starting a module with the following:
immutable
On 3/13/15 12:19 PM, Walter Bright wrote:
On 3/13/2015 10:31 AM, Andrei Alexandrescu wrote:
For example the expression (assuming s is e.g. a string)
File(/tmp/a).byChunk(4096).joiner.startsWith(s)
opens a file, progressively reads chunks of 4KB, stitches them
together at no
cost, compares
On Friday, 13 March 2015 at 21:02:39 UTC, Almighty Bob wrote:
The language reference is pretty abysmal too. EG...
The language Introduction spends all it's time talking about
phases of compilation. That's like introducing someone to
driving by explaining how the internal combustion engine
Hi, I want to use the Windows OutputDebugString() which is not defined
anywhere.
How do I declare such missing Windows API functions myself? And with
which libaries do I then need to link? Does DMD contain all necessary
Windows link libs or am I supposed to get them myself?
So, it's not
On Fri, Mar 13, 2015 at 04:14:30PM -0700, Andrei Alexandrescu via Digitalmars-d
wrote:
On 3/13/15 3:14 PM, Walter Bright wrote:
On 3/13/2015 12:01 PM, weaselcat wrote:
On Friday, 13 March 2015 at 18:55:18 UTC, Walter Bright wrote:
On 3/13/2015 3:34 AM, bearophile wrote:
Strict mode is a D2
On 3/13/15 5:33 PM, engnieer wrote:
[1] The problem is that all these nice Python and R implementations
are practically useless for real world applications. Too slow, too
cumbersome, too many dependencies. It has to be rewritten anyway. (I'd
be happy, if they used at least C.)
No, no, no.
On 3/13/15 6:32 PM, H. S. Teoh via Digitalmars-d wrote:
On Fri, Mar 13, 2015 at 04:14:30PM -0700, Andrei Alexandrescu via Digitalmars-d
wrote:
On 3/13/15 3:14 PM, Walter Bright wrote:
On 3/13/2015 12:01 PM, weaselcat wrote:
On Friday, 13 March 2015 at 18:55:18 UTC, Walter Bright wrote:
On
On 3/13/15 5:54 PM, deadalnix wrote:
On Saturday, 14 March 2015 at 00:34:35 UTC, Ziad Hatahet wrote:
On Fri, Mar 13, 2015 at 6:45 AM, Russel Winder via Digitalmars-d
digitalmars-d@puremagic.com wrote:
The removal of shared memory multi-threading in favour of using
processes and channels
https://issues.dlang.org/show_bug.cgi?id=11530
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
On Wednesday, 11 March 2015 at 16:35:22 UTC, Andrei Alexandrescu
wrote:
I would agree it would be bad if dustmite and dub were
locked-in to only work with dmd. Is that the case?
No, both support all three D compilers.
On Wednesday, 11 March 2015 at 08:00:22 UTC, Vladimir Panteleev
wrote:
On Wednesday, 11 March 2015 at 07:32:48 UTC, Andrei
Alexandrescu wrote:
It doesn't seem so to me. You find easy weaknesses in my
vision and pump on them instead of working on making it
stronger. That's the easy but that
https://issues.dlang.org/show_bug.cgi?id=14279
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=14279
--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/c2b9108d01173d0a8414a99f895675ccce71a66a
fix Issue 14279 -
On Friday, 13 March 2015 at 14:23:27 UTC, Namespace wrote:
On Friday, 13 March 2015 at 10:51:22 UTC, stewarth wrote:
On Friday, 13 March 2015 at 08:31:28 UTC, Namespace wrote:
The most of Dgame is ready, only the tutorials are missing to
arrive to the release state.
Is there anything you
https://issues.dlang.org/show_bug.cgi?id=11530
--- Comment #6 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/c775004af512810da1048f42df6cf6f9d2de4cba
fix Issue 11530 - need gdb
On Wednesday, March 11, 2015 17:23:13 welkam via Digitalmars-d wrote:
Observation Nr. 1
People prefer to write var++ instead of ++var.
Observation Nr. 2
Because of observation Nr. 1 and other reasons compilers became
good at removing code that is not needed making var++ and ++var
to produce
https://issues.dlang.org/show_bug.cgi?id=14056
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
CC|
On Friday, 13 March 2015 at 22:02:42 UTC, weaselcat wrote:
On Friday, 13 March 2015 at 21:52:30 UTC, Almighty Bob wrote:
Well I figured that was probably the case.
It's just not very smart to have that as the only obvious
guide to the language on the home page.
There's a Books and Articles
On Saturday, 14 March 2015 at 01:40:50 UTC, Almighty Bob wrote:
1. Tutorial, only to be taken to the first chapter of a book
that is not free.
2. Language reference, to be taken to terse reference docs for
experienced users.
3. If they are still around they may try Articles. When they
click
https://issues.dlang.org/show_bug.cgi?id=14225
--- Comment #13 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/c89d666984b74bcd6d50afbdf2d478370f3c52a9
fix Issue 14225 - GDB:
https://issues.dlang.org/show_bug.cgi?id=14225
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
On Saturday, 14 March 2015 at 03:12:39 UTC, Andrei Alexandrescu
wrote:
On 3/13/15 5:54 PM, deadalnix wrote:
On Saturday, 14 March 2015 at 00:34:35 UTC, Ziad Hatahet wrote:
On Fri, Mar 13, 2015 at 6:45 AM, Russel Winder via
Digitalmars-d
digitalmars-d@puremagic.com wrote:
The removal of
https://issues.dlang.org/show_bug.cgi?id=14231
--- Comment #1 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/5b8cf5996130507555b26a34c901e9eb9b45238d
fix Issue 14231
fix
On Friday, 13 March 2015 at 22:14:45 UTC, Walter Bright wrote:
On 3/13/2015 12:01 PM, weaselcat wrote:
On Friday, 13 March 2015 at 18:55:18 UTC, Walter Bright wrote:
On 3/13/2015 3:34 AM, bearophile wrote:
Strict mode is a D2 with immutable+@safe+pure by default,
Note that you can get this
On 3/13/15 3:14 PM, Walter Bright wrote:
On 3/13/2015 12:01 PM, weaselcat wrote:
On Friday, 13 March 2015 at 18:55:18 UTC, Walter Bright wrote:
On 3/13/2015 3:34 AM, bearophile wrote:
Strict mode is a D2 with immutable+@safe+pure by default,
Note that you can get this largely by starting a
On 3/13/15 2:02 PM, Almighty Bob wrote:
The language reference is pretty abysmal too. EG...
The language Introduction spends all it's time talking about phases of
compilation. That's like introducing someone to driving by explaining
how the internal combustion engine works.
The page on
On 3/13/15 2:22 PM, Russel Winder via Digitalmars-d wrote:
On Fri, 2015-03-13 at 10:31 -0700, Andrei Alexandrescu via Digitalmars-d
wrote:
[…]
File(/tmp/a).byChunk(4096).joiner.startsWith(s)
[…]
Conversely, this is exactly the sort of expression that Scala (and
Haskell sort of, Haskell
[1] The problem is that all these nice Python and R
implementations are practically useless for real world
applications. Too slow, too cumbersome, too many dependencies.
It has to be rewritten anyway. (I'd be happy, if they used at
least C.)
No, no, no. Your real world doesn't seem to
On Fri, Mar 13, 2015 at 6:45 AM, Russel Winder via Digitalmars-d
digitalmars-d@puremagic.com wrote:
The removal of shared memory multi-threading in favour of using
processes and channels should never be underestimated as a Really Good
Thing™ that other native code languages (*) have failed to
On Saturday, 14 March 2015 at 00:34:35 UTC, Ziad Hatahet wrote:
On Fri, Mar 13, 2015 at 6:45 AM, Russel Winder via
Digitalmars-d
digitalmars-d@puremagic.com wrote:
The removal of shared memory multi-threading in favour of using
processes and channels should never be underestimated as a
On Friday, 13 March 2015 at 21:12:52 UTC, Robert M. Münch wrote:
Hi, I want to use the Windows OutputDebugString() which is not
defined anywhere.
The declaration can be already part of WindowsAPI project:
https://github.com/AndrejMitrovic/WindowsAPI just see it there.
How do I declare such
On Friday, 13 March 2015 at 19:05:59 UTC, Matt wrote:
example code, see if I can figure it out, but if you can
advise, that would be fantastic. Thank you for all the help so
far, it's really been appreciated
My penitence for not putting this information on readthedocs.
I've tried the
https://issues.dlang.org/show_bug.cgi?id=14225
--- Comment #11 from Martin Nowak c...@dawg.eu ---
OK, found it. For TYref we set the pointer byte_size to -1.
Wondering why we're emitting TYref for arrays though.
--
https://issues.dlang.org/show_bug.cgi?id=14225
Martin Nowak c...@dawg.eu changed:
What|Removed |Added
Keywords||pull
--- Comment #12 from Martin
On 13/03/2015 7:47 p.m., zhmt wrote:
On Friday, 13 March 2015 at 06:39:31 UTC, Rikki Cattermole wrote:
On 13/03/2015 7:35 p.m., zhmt wrote:
ubyte[] arr ;
I pass the arr.ptr to c program, it fails silently.
Is there any way to cast a ubyte[] to a clang pointer?
Theoretically this should
1 - 100 of 180 matches
Mail list logo