Hello.
I am trying to implement a templated struct containing a
data member created by std.variant.Algebraic instantiated
with the struct's template parameters.
The problem is, I want to template the struct with e.g.
arrays (lists, etc.) of its own type. I don't know
any way to do this without
I've just installed a new system - Ubuntu 11.10 beta x64 and can't get
dmd/phobos 2.055 to work.
When I try to compile file hello.d with the following content:
import std.stdio;
void main()
{
writeln("Hello World!");
}
I get this error:
/usr/lib/gcc/x86_64-linux-
gnu/4.6.1/../../../../l
Jonathan M Davis wrote:
> On Friday, September 16, 2011 12:47 Kiith-Sa wrote:
>> I've just installed a new system - Ubuntu 11.10 beta x64 and can't get
>> dmd/phobos 2.055 to work.
>>
>> When I try to compile file hello.d with the following content:
>
On Wednesday, 15 February 2012 at 06:51:11 UTC, RedShift wrote:
Can I use OpenGL or DirectX with D? If so, where can I find a
guide to get everything setup?
Derelict provides bindings for OpenGL and SDL (and many other
game-related libraries) - these are used exactly the same way
they are use
To clarify, Derelict 2 fully supports up to OpenGL 3.3. 4.x
support is partial (but will be fully implemented very soon).
Derelict 3 supports all versions of OpenGL, minus features
deprecated in 3.x (i.e. core OpenGL profiles only).
Does that mean it is not possible to use old OpenGL 2.x style
On Sunday, 19 February 2012 at 13:37:19 UTC, simendsjo wrote:
A question for the vim users out there: What plugins etc are
you using when writing D code?
I'm using the patched ctags, updated d.syntax and snipMate, but
are there other good plugins I could use?
I use SnipMate with many custom sn
On Sunday, 19 February 2012 at 20:09:58 UTC, simendsjo wrote:
On Sun, 19 Feb 2012 17:00:37 +0100, Kiith-Sa <4...@theanswer.com>
wrote:
Thanks. supertab and autoComplPop seems really nice.
A couple of other stuff to add to the list:
surround, delimitMate
and "smart semicolon
SciD is a scientific math library providing vectors/matrices of
arbitrary
sizes, but not useful at all for game development.
See gl3n for a game-oriented vector/matrix library:
https://bitbucket.org/dav1d/gl3n
Also, AFAIK, Manu is working on what should end up being
a Phobos module for game-ori
On Sunday, 24 August 2014 at 11:56:44 UTC, nikki wrote:
I come from languages that don't offer structs, I have this
json load function that has to keep some data and intuitively
I've written a struct, I've read about the differences, heap vs
stack, value vs reference, but know I think i am over
On Monday, 25 August 2014 at 16:46:11 UTC, Ryan wrote:
Me: Software developer for 30 years.
So perhaps this is old fashion, but I wanted to start using D
by whipping together nice little personal utilities.
I tried installing MonoDevelop and Mono-D. I can't even figure
out the basics, such
On Monday, 25 August 2014 at 17:47:47 UTC, Ryan wrote:
Thanks for both responses. This is the information I was
looking for.
I have DMD, GTK# (For MonoDevelop), MonoDevelop, MonoD, dubs,
and GTKD installed.
I've got some things to compile... So the crux of my issue is
that I can't figure o
On Tuesday, 26 August 2014 at 10:38:47 UTC, Bienlein wrote:
Hello,
does anyone know of a List/Set/Map implementation that does not
rely on the GC? The would be the last thing I need for D to be
really happy with it ;-)
Thanks, Bienlein
These use the work-in-progress std.allocator and seem
On Sunday, 24 August 2014 at 08:03:11 UTC, Bienlein wrote:
Hello,
I was having a look at the new nogc annotation and therefore
wrote some code that creates an instance on the heap bypassing
the GC (code adapted from http://dpaste.dzfl.pl/2377217c7870).
Problem is that calls to call the class'
can only measure execution time (still very
useful, down to instruction level).
RotateRight Zoom, Intel VTune should also be good, but both are
commercial.
If you're writing a game or any other real-time interactive
application and need to profile occasional lags, you might need a
different approach
(but in this case you won't avoid manual instrumentation,
although it's rather easy to use):
http://defenestrate.eu/2014/09/05/frame_based_game_profiling.html
https://github.com/kiith-sa/tharsis.prof
On Thursday, 2 October 2014 at 20:16:56 UTC, Gary Willoughby
wrote:
Say i have created a program written in D, what tools are
available for me to track memory allocations?
If you write a program and its performance is slow because you
suspect too many allocations are taking place in unrecognis
On Friday, 3 October 2014 at 08:18:45 UTC, thedeemon wrote:
On Thursday, 2 October 2014 at 20:16:56 UTC, Gary Willoughby
wrote:
Say i have created a program written in D, what tools are
available for me to track memory allocations?
I wrote a tiny module trackallocs.d that inserts a GC proxy an
age strips showing things like continuous
integration status, code coverage, etc.
There's also a service generating these: shields.io
I generated a simple "listed at| code.dlang.org" shield, and
added it to my project READMEs as a link pointing to
code.dlang.org for example, see D:Y
On Tuesday, 30 December 2014 at 21:19:52 UTC, jklp wrote:
On Tuesday, 30 December 2014 at 21:12:38 UTC, Kiith-Sa wrote:
A few weeks/months ago someone here mentioned that it'd be
good if DUB projects linked to code.dlang.org to help anyone
who runs into such a project quickly discover ot
On Tuesday, 30 December 2014 at 21:19:52 UTC, jklp wrote:
On Tuesday, 30 December 2014 at 21:12:38 UTC, Kiith-Sa wrote:
A few weeks/months ago someone here mentioned that it'd be
good if DUB projects linked to code.dlang.org to help anyone
who runs into such a project quickly discover ot
19 matches
Mail list logo