On Monday, 31 August 2015 at 07:38:18 UTC, Enamex wrote:
Some posters on reddit remarked that D's sales pitch on the
website is unnecessarily long and unindicative.
I'm only making a suggestion; suggest others or comment on this
one:
D is a multiparadigm systems programming language with
On Monday, 10 March 2014 at 06:38:35 UTC, Steve Teale wrote:
On Sunday, 9 March 2014 at 14:09:28 UTC, Tolga Cakiroglu wrote:
For this, you create an Interface that matches to the method
declaration of your class. But notice that instead of defining
methods, you will define attributes those
On Sunday, 9 March 2014 at 12:07:22 UTC, Steve Teale wrote:
Martin Nowak's Gihub druntime Page has
module main;
import core.runtime, core.thread;
void main() {
auto lib = Runtime.loadLibrary(./liba.so);
auto thr = new Thread({
auto lib = Runtime.loadLibrary(./liba.so);
On Wednesday, 16 October 2013 at 13:34:04 UTC, Andrej Mitrovic
wrote:
On 10/16/13, Andrei Alexandrescu
seewebsiteforem...@erdani.org wrote:
What are you protesting against?
Walter.
The last change log was awesome.
I vote to get rid of Walter. :)
On Monday, 9 September 2013 at 11:14:47 UTC, Mike Parker wrote:
I'm experimenting with some Linux stuff right now and am
currently working on something using epoll. But I've run into
an issue where dmd just doesn't see anything in
core.sys.linux.epoll. As a workaround, I've implemented my own
On Wednesday, 7 August 2013 at 22:36:39 UTC, Milvakili wrote:
Hi,
I can compile
void main(){
auto myRegx = regex(`(?!test)`);
}
however can not compile this one
void main(){
auto myRegx = ctRegex!(`(?!test)`);
}
code sample:http://dpaste.dzfl.pl/d38926f4
and get the following error:
...
On Saturday, 20 July 2013 at 21:19:03 UTC, Gary Willoughby wrote:
I'm starting to blog a little more and in particular i've
started writing more about D. I'm using it a great deal at work
now and all new stuff is to be written in it. I'm loving every
minute of this and really want to sing its
On Monday, 15 July 2013 at 06:46:52 UTC, timotheecour wrote:
On Monday, 15 July 2013 at 03:49:10 UTC, Timothee Cour wrote:
I'm trying to interact with a process using std.process and
redirected stdin/stdout/stderr.
What would be the recommended way?
For example:
auto
On Monday, 1 July 2013 at 12:03:25 UTC, Roderick Gibson wrote:
I'm asking because I'm doing some game development in D and
I've come upon the entity component architecture, and it looks
like a good way to handle the complexity and interdependency
that games seem to have.
The components wind
On Sunday, 30 June 2013 at 19:03:13 UTC, shuji wrote:
this code is in a .cpp file
//funcs.lib
//windows includes...
HWND hwnd;
int setHWND(HWND extHwnd){
hwnd = extHwnd;
return 0;
}
So im trying to import from D like this. I dont think I can
implement this line in C++
extern
Is this known?
I've heard there are many problems with associative arrays.
dmd 2.063
---
module scopefailtest;
int[char] AAarray;
void main(string[] args)
{
AAarray = ['a':1, 'b':2, 'c':3];
foreach(aa; AAarray)
{
scope(failure)continue;
aa = 32;
}
}
---
Seems like there are several levels of wrong actually: What
do you expect scope(failure)continue to do exactly?
I was reading an array of files (Document[string]).
Stuck the scope(failure)continue in late at night apparently to
skip reading files that no longer exist.
Forgot about it.
On Monday, 24 June 2013 at 01:22:12 UTC, cal wrote:
What is going on here?
import std.stdio, std.typecons;
struct S
{
int x;
Tuple!(S) foo() { return tuple(this); }
}
void main()
{
S s;
s.x = 8;
writeln((s.foo())); //output: Tuple!(S)(S(8))
writeln((s.foo())[0]);
On Wednesday, 12 June 2013 at 12:50:39 UTC, Andrei Alexandrescu
wrote:
Reddit:
http://www.reddit.com/r/programming/comments/1g6x9g/dconf_2013_code_analysis_for_d_with_analyzed/
Hackernews: https://news.ycombinator.com/item?id=5867764
Twitter:
On Monday, 10 June 2013 at 18:59:22 UTC, Andrei Alexandrescu
wrote:
I'm experiencing trouble uploading the video of Don's talk,
please bear with me. It will be available either later today or
tomorrow morning.
Sorry,
Andrei
Will there be video for Andrew Edwards?
On Sunday, 9 June 2013 at 10:11:25 UTC, khurshid wrote:
D language have like Pascal/Delphi with statement, which
very useful for writing readable code.
http://dlang.org/statement.html#WithStatement
Maybe I'm wrong, but, I never saw where using this statement
in phobos source codes, what
On Monday, 10 June 2013 at 20:51:16 UTC, Jesse Phillips wrote:
On Monday, 10 June 2013 at 18:25:05 UTC, Graham Fawcett wrote:
Hi folks,
There's an interesting discussion going on at Reddit about
choosing a replacement language for 0install:
Compiling with -profile and without -release
Gives the following error (not exactly but the best I can recall)
balancedParens is not nothrow safe pure
With -release and -profile all is fine.
Builds fine without -profile.
Simple question is why?
On Friday, 7 June 2013 at 21:39:26 UTC, bearophile wrote:
Anthony Goins:
Simple question is why?
I am compiling this code with -profile, and I don't see errors:
import std.string: balancedParens;
void main() {
assert(balancedParens([[]], '[', ']'));
}
Bye,
bearophile
okay found
On Friday, 7 June 2013 at 23:42:58 UTC, Anthony Goins wrote:
On Friday, 7 June 2013 at 21:39:26 UTC, bearophile wrote:
Anthony Goins:
Simple question is why?
I am compiling this code with -profile, and I don't see errors:
import std.string: balancedParens;
void main() {
assert
On Friday, 7 June 2013 at 23:57:37 UTC, bearophile wrote:
Anthony Goins:
Is this even worth a bug report?
Yes, it's worth a bug report in Bugzilla, it's a (small) Phobos
Bug. I confirmed its presence.
Bye,
bearophile
Thank you for all your help. Not just here but throughout the
forums
On Friday, 7 June 2013 at 12:20:23 UTC, finalpatch wrote:
string mixins and template mixins don't work either.
On Friday, 7 June 2013 at 12:14:45 UTC, finalpatch wrote:
Hi folks,
I need to apply different calling conventions to the same
interfaces when compiling for different platform. It's
Is this a bug?
file : /home/anthony/projects/dcomposer/src/printui.d,
A line from DMD 2.063 json output.
file : \/usr\/include\/d\/gsv\/SourceBuffer.d,
A line from an older DMD version. Forward slashes escaped
according to json standard.
Hesitant to file a bug report because by the time I
On Tuesday, 4 June 2013 at 21:35:27 UTC, Brian Schott wrote:
On Tuesday, 4 June 2013 at 20:59:55 UTC, Anthony Goins wrote:
Is this a bug?
file : /home/anthony/projects/dcomposer/src/printui.d,
A line from DMD 2.063 json output.
file : \/usr\/include\/d\/gsv\/SourceBuffer.d,
A line from
On Tuesday, 4 June 2013 at 21:35:27 UTC, Brian Schott wrote:
On Tuesday, 4 June 2013 at 20:59:55 UTC, Anthony Goins wrote:
Is this a bug?
file : /home/anthony/projects/dcomposer/src/printui.d,
A line from DMD 2.063 json output.
file : \/usr\/include\/d\/gsv\/SourceBuffer.d,
A line from
On Tuesday, 4 June 2013 at 21:55:38 UTC, Brian Schott wrote:
The char rule in the json standard can be matched by anything
that isn't a control character, a double quote, or a backslash.
I'm pretty sure you're not arguing that the forward slash is a
double quote or that the forward slash is a
On Tuesday, 4 June 2013 at 18:03:53 UTC, Jerry wrote:
Hi folks,
I've downloaded the current dmd 2.063 zip and tried it out.
This is
Ubuntu 12.10 x86_64. Every program I compile segfaults when I
try to
run it. As a simple example:
jlquinn@wyvern:~/re/test$ cat junk.d
import std.stdio;
On Friday, 31 May 2013 at 21:01:49 UTC, Andrey wrote:
Hello!
I'm trying to use following code:
==
//...
class A
{
private
{
int m_someVar = 10;
}
public
{
this()
{
On Friday, 31 May 2013 at 17:14:46 UTC, Shriramana Sharma wrote:
import std.stdio ;
void foo ( int[] array ) {
foreach ( i ; array ) { writeln ( i ) ; }
}
void main () {
foo ( [ 1, 2, 3 ] ) ;
}
On both DMD 2.062 and 2.063 this compiles OK but causes a
segfault.
I'm running
On Tuesday, 28 May 2013 at 12:57:12 UTC, Sergei Nosov wrote:
Hi!
I'm trying to implement an array, which uses malloc to allocate
memory. Also, I want to implement a random access range
interface for it.
That went pretty well, until I tried to sort it. Sorting
function asserted Failed to
30 matches
Mail list logo