Le 23/03/2018 à 23:43, Xavier Bigand a écrit :
I am trying to initialize an global immutable associative array of structs, but
it doesn't compile.
I am getting the following error message : "Error: not an associative array
initializer".
As I really need to store my data for a compile time
I am trying to initialize an global immutable associative array of structs, but
it doesn't compile.
I am getting the following error message : "Error: not an associative array
initializer".
As I really need to store my data for a compile time purpose if we can't do
that with AA, I'll use
Le 16/03/2018 à 22:58, Xavier Bigand a écrit :
Le 15/03/2018 à 01:09, Flamaros a écrit :
On Wednesday, 14 March 2018 at 01:17:54 UTC, rikki cattermole wrote:
You will still need DllMain, that is a platform requirement.
I am not sure about that because when DllAnalyser don't see it in the
Le 15/03/2018 à 01:09, Flamaros a écrit :
On Wednesday, 14 March 2018 at 01:17:54 UTC, rikki cattermole wrote:
You will still need DllMain, that is a platform requirement.
I am not sure about that because when DllAnalyser don't see it in the
opengl32.dll from the system32 directory. And the
As I am trying to do a dll that acts exactly like one written in C, I am trying
to compile my code with the -betterC option. So I would not need the DllMain
function.
I am not sure that I use the best syntax for my CTFE function to be able to
make it works with the option -betterC and to
Le 12/03/2018 à 23:28, Xavier Bigand a écrit :
Le 12/03/2018 à 23:24, Xavier Bigand a écrit :
Le 12/03/2018 à 22:30, arturg a écrit :
On Monday, 12 March 2018 at 21:00:07 UTC, Xavier Bigand wrote:
Hi,
I have a CTFE function that I want to make more generic by given it a
module as parameter.
Le 12/03/2018 à 23:24, Xavier Bigand a écrit :
Le 12/03/2018 à 22:30, arturg a écrit :
On Monday, 12 March 2018 at 21:00:07 UTC, Xavier Bigand wrote:
Hi,
I have a CTFE function that I want to make more generic by given it a
module as parameter.
My actual code looks like :
Le 12/03/2018 à 22:30, arturg a écrit :
On Monday, 12 March 2018 at 21:00:07 UTC, Xavier Bigand wrote:
Hi,
I have a CTFE function that I want to make more generic by given it a
module as parameter.
My actual code looks like :
mixin(implementFunctionsOf());
string implementFunctionsOf()
{
Hi,
I have a CTFE function that I want to make more generic by given it a
module as parameter.
My actual code looks like :
mixin(implementFunctionsOf());
string implementFunctionsOf()
{
import std.traits;
string res;
foreach(name; __traits(allMembers,
Le 08/02/2017 à 19:27, Ilya Yaroshenko a écrit :
I can answer for the product on which I am working (Home Design 3D),
others are video games made with Unity which is imposed by the editor.
On Home Design 3D the development teams have the choice of technologies
to use, but we have to convince
Le 05/02/2017 à 18:32, Basile B. a écrit :
On Sunday, 5 February 2017 at 14:59:04 UTC, Xavier Bigand wrote:
Hi,
I am trying to create an allocator that don't use the GC, and I have
issues for the initialization of member before calling the constructor.
Here is my actual code :
mixin template
Hi,
I am trying to create an allocator that don't use the GC, and I have
issues for the initialization of member before calling the constructor.
Here is my actual code :
mixin template NogcAllocator(T)
{
static TnogcNew(T, Args...)(Args args) @nogc
{
Le 21/01/2017 à 10:54, John Colvin a écrit :
On Saturday, 21 January 2017 at 00:03:11 UTC, Xavier Bigand wrote:
std::numeric_limits::lowest() is describe as "A finite value x such
that there is no other finite value y
* where y < x."
According to what I presume that definition means
Le 21/01/2017 à 13:24, Jerry a écrit :
On Friday, 20 January 2017 at 22:47:17 UTC, Xavier Bigand wrote:
Hi,
I am writing some code with opengl commands that I want to check in
debug, so I am using the function checkgl (from glamour lib).
The issue is that checkgl throw exception and can't be
Le 21/01/2017 à 00:50, Nordlöw a écrit :
On Friday, 20 January 2017 at 23:45:38 UTC, Xavier Bigand wrote:
Using -type.max is close to what I want but for integer int.min is
different than -int.max.
In c++11 there is std::numeric_limits::lowest() that works perfectly.
Can an equivalent
Hi,
I am creating an AABB struct that should be initialized in an invalid
state. Here is my actual code :
struct AABB(type, int dimensions)
{
static assert(dimensions == 2 || dimensions == 3);
VectorType min = Vector!(type, 3)(type.max, type.max, type.max);
Hi,
I am writing some code with opengl commands that I want to check in
debug, so I am using the function checkgl (from glamour lib).
The issue is that checkgl throw exception and can't be @nogc, I had try
to use std.experimental.logger in place of exceptions, but it doesn't
work either.
Le 15/01/2017 à 18:40, Andre Pany a écrit :
Hi,
on Dockerhub I published a repository which makes it really easy to
develop Android
applications using LDC and Joakims work. The repository contains Android
1.1.0 beta from
https://github.com/joakim-noah/android/releases and also the NDK from
Le 13/12/2016 23:44, Johan Engelen a écrit :
On Tuesday, 13 December 2016 at 21:27:57 UTC, Xavier Bigand wrote:
Hi,
I have the following code snippet :
voidset()
{
GLfloat[]data = [
-1.0f, -1.0f, 0.0f,
1.0f, -1.0f, 0.0f,
0.0f, 1.0f,
Hi,
I am trying to use Nsight with VisualD by it tell me that it can not
start the program "". It seems that it does not use the right property
of the project to retrieve the path of my generated binary.
I do not know if it is an issue of VisualD directly or DUB that don't
correctly
Le 13/12/2016 22:39, ag0aep6g a écrit :
On 12/13/2016 10:27 PM, Xavier Bigand wrote:
voidset()
{
GLfloat[]data = [
-1.0f, -1.0f, 0.0f,
1.0f, -1.0f, 0.0f,
0.0f, 1.0f, 0.0f,
];
glBindVertexArray(mVAO);
Hi,
I have the following code snippet :
voidset()
{
GLfloat[] data = [
-1.0f, -1.0f, 0.0f,
1.0f, -1.0f, 0.0f,
0.0f, 1.0f, 0.0f,
];
Hi,
I am using DUB with the SDL language and I have two questions:
1. How can I add some text file to my project? I want to add shaders
in my Visual Project.
2. How to make a compiler option depending on the platform and debug
mode at the same time?
Thanks.
Le 25/02/2016 03:48, Walter Bright a écrit :
On 2/24/2016 6:05 PM, Adam D. Ruppe wrote:
I've also heard from big users who want the performance more than
compile time
and hit difficulty in build scaling..
I know that performance trumps all for many users. But we can have both
- dmd and
Le 17/02/2016 23:57, Márcio Martins a écrit :
I was reading the other thread "Speed kills" and was wondering if there
is any practical reason why DMD is the official compiler?
Currently, newcomers come expecting their algorithm from rosetta code to
run faster in D than their current language,
Le 17/02/2016 12:54, Vladimir Panteleev a écrit :
On Tuesday, 16 February 2016 at 21:27:22 UTC, Ola Fosheim Grøstad wrote:
On Tuesday, 16 February 2016 at 19:03:13 UTC, Zoadian wrote:
I'll write derelict bindings.
600 lines of code to display a triangle...
I found this:
Le 17/12/2015 17:12, Vadim Lopatin a écrit :
On Wednesday, 16 December 2015 at 13:32:21 UTC, Suliman wrote:
Is it's possible to use some native frontend with dlangui instead of
drawing all controls with OpenGL? I really dislike how all OpenGL
toolkit looks like.
OpenGL is just hardware
Le 21/08/2015 02:30, Manu via Digitalmars-d a écrit :
On 15 August 2015 at 05:11, Tofu Ninja via Digitalmars-d
digitalmars-d@puremagic.com wrote:
On Friday, 14 August 2015 at 18:51:51 UTC, David Nadlinger wrote:
On Friday, 14 August 2015 at 15:11:39 UTC, ponce wrote:
Are sparse matrices a
Le 05/04/2015 11:08, FreeSlave a écrit :
I wrote small library for getting standard paths (like Pictures, Music)
Here's dub package http://code.dlang.org/packages/standardpaths
And github repo https://github.com/MyLittleRobo/standardpaths
You can see open issues on github. Please, participate
Le 31/03/2015 20:21, Andrei Alexandrescu a écrit :
On 3/31/15 7:45 AM, Idan Arye wrote:
On Tuesday, 31 March 2015 at 13:34:24 UTC, Dicebot wrote:
On Tuesday, 31 March 2015 at 10:25:57 UTC, Idan Arye wrote:
I understand the preference to librarize as much as possible, but I
don't think the
Le 27/03/2015 15:02, CraigDillabaugh a écrit :
On Friday, 27 March 2015 at 10:10:37 UTC, Dominikus Dittes Scherkl wrote:
On Thursday, 26 March 2015 at 19:32:53 UTC, Idan Arye wrote:
But when it comes to heavily templated functions - understanding the
signature is HARD. It's hard enough for
Le 15/03/2015 22:18, romain a écrit :
On Sunday, 15 March 2015 at 01:15:51 UTC, Xavier Bigand wrote:
The DML engine is almost finished. This night we worked on the file
reloading. This will allow direct update of GUI when modifying lua
files without loosing states. For example if you only
Le 16/03/2015 08:56, Suliman a écrit :
Perfect news! Hope to see first beta to this summer time!
Wow you put us under pressure :-)
It's hard to tell when we could reach the beta status, cause last months
we just didn't push any code on DQuick. So we can't give any release date.
I'll put
Le 13/03/2015 01:20, Andrei Alexandrescu a écrit :
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 decision making process
Le 13/03/2015 20:38, Aram a écrit :
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
The DML engine is almost finished. This night we worked on the file
reloading. This will allow direct update of GUI when modifying lua files
without loosing states. For example if you only modify the color
property of a Rectangle item it will be the only thing that will be
updated (and binded
Le 10/03/2015 02:25, karl a écrit :
Please don't use SDL2 and such as basis, or OpenGL with
glBegin+glReadPixels without FBOs and PBOs (not Pbuffers). I'm a GL
driver dev (userspace) for a smaller company, and I see too much gore in
popular software like that (gnome3 is the most-horrific). A
Le 10/03/2015 11:16, Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?=
ola.fosheim.grostad+dl...@gmail.com a écrit :
On Tuesday, 10 March 2015 at 08:02:00 UTC, Kagamin wrote:
Yet, web 2.0 technologies have only rudimentary notion of backward
compatibility, all it breaks routinely.
No... there are
I think it can be interesting to provide some string formats can be
directly converted into color structures.
For example :
- plain color names : red, blue, light gray,...
- hexadecimal : #FF3CBB, #FF3CBBAA (same with alpha)
- decimal : 255, 158, 200, 255, 158, 200, 170
...
I think to that
Le 01/01/2015 07:38, Manu via Digitalmars-d a écrit :
I've been working on a pretty comprehensive module for dealing with
colours in various formats and colour spaces and conversions between
all of these.
It seems like a hot area for duplicated effort, since anything that
deals with multimedia
I develop a web site with vibe, but because I am using a Virtual Private
Server I get some memory issues. The server only has 1Go of memory (
900Mo free) and it seems I can't compile directly on it a simple static
page (70 lines).
I get the following message when building with dub :
Running
Le 10/11/2014 17:41, Etienne a écrit :
On 2014-11-10 11:32 AM, Xavier Bigand wrote:
Is there some options can help me to reduce the memory consumption? As
it's for production purpose I don't think that is a good idea to remove
compiler optimizations.
The memory issues are probably related to
Le 10/11/2014 18:17, Etienne a écrit :
On 2014-11-10 12:02 PM, Xavier Bigand wrote:
As I know to be able to have no down time with vibe we need to be able
to build directly on the server where the program runs.
Maybe I just need to wait that I have some users to pay a better server
with more
Le 24/10/2014 15:26, Meta a écrit :
On Friday, 24 October 2014 at 13:04:48 UTC, ketmar via Digitalmars-d wrote:
On Fri, 24 Oct 2014 10:42:47 +
Martin Nowak via Digitalmars-d digitalmars-d@puremagic.com wrote:
On Friday, 24 October 2014 at 02:44:48 UTC, Adam D. Ruppe wrote:
I always just
Le 24/10/2014 15:45, ketmar via Digitalmars-d a écrit :
On Fri, 24 Oct 2014 13:26:15 +
Meta via Digitalmars-d digitalmars-d@puremagic.com wrote:
Let's try to help debug the problem rather than making
presumptions about OPs technical knowledge.
that's only if OP wants his problem to be
Le 02/10/2014 08:22, Manu via Digitalmars-d a écrit :
On 2 October 2014 00:16, bearophile via Digitalmars-d
digitalmars-d@puremagic.com wrote:
Max Klyga:
https://www.youtube.com/watch?v=TH9VCN6UkyQ
A third talk (from another person) about related matters:
Le 28/09/2014 02:48, Ivan a écrit :
On Tuesday, 20 Augu2013 at 21:22:48 UTC, Flamaros wrote:
I want to share a short presentation of the project I am working on
with friends. It's a prototype of a GUI library written in D.
This pdf contains our vision of what the project would be. Samples are
Le 20/09/2014 04:25, po a écrit :
He actually talks about Andre around 40' ;0
As a fellow game dev:
I don't agree with him about RAII, I find it useful
He kind of has a point about exceptions, I'm not big on them
I get the impression his C++ knowledge is about the level of C++ with
Le 22/08/2014 09:48, Daniel Murphy a écrit :
Joakim wrote in message news:ynfwlptfuzfutksbn...@forum.dlang.org...
Yes, I'm aware of ddmd. You've mentioned many times that it only
works because dmd is written using a very unC++-like style, to the
point where github's source analyzer claims
Le 21/08/2014 15:20, seany a écrit :
I am starting this thread to quench my thirst for knowledge.
I notice, that the existing wrappers to other languages are:
C: D can natively interface to C
C++ : Some interfacing possible
Lua : There is LuaD and DLua
Le 21/08/2014 17:19, Justin Whear a écrit :
On Thu, 21 Aug 2014 13:20:02 +, seany wrote:
I am starting this thread to quench my thirst for knowledge.
I notice, that the existing wrappers to other languages are:
C: D can natively interface to C
C++ : Some
Le 19/08/2014 12:58, Gary Willoughby a écrit :
On Wednesday, 21 July 2004 at 23:52:45 UTC, J C Calvarese wrote:
The GUI library issue has been brought up, but it hasn't really been
resolved either.
I think the only cross-platform GUI library out there right now is DUI.
Nope, there are
Le 17/08/2014 20:19, Joakim a écrit :
On Thursday, 24 July 2014 at 01:17:44 UTC, Joakim wrote:
I'll start cleaning up my fairly simple build process and document it
on the wiki, so that others can easily play with D on Android/x86.
Finally cleaned up my build process a bit and wrote it up on
Le 26/08/2014 10:59, Ola Fosheim Grøstad
ola.fosheim.grostad+dl...@gmail.com a écrit :
On Tuesday, 26 August 2014 at 06:44:52 UTC, Jacob Carlborg wrote:
Both MacRuby [1] and RubyMotion [2] supports ahead of time
compilation. I'm pretty sure Apple doesn't allow anything else than
compiled
Le 25/08/2014 09:18, Brost a écrit :
On Monday, 25 August 2014 at 06:44:25 UTC, Jacob Carlborg wrote:
On 25/08/14 08:18, Brost wrote:
Is D different in this regard ?
In addition to being ABI compatible with C, D is also compatible with
C++ [1]. D recently got support for C++ templates and
My friend Bruno who works on the property binding engine make some
progress. After the possibility to use property binding in D (native
side) in addition of Lua (script side), he currently finishing the model
list implementation. This feature will allow user to create list of
items for list
Le 11/07/2014 16:36, Dicebot a écrit :
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:
https://github.com/D-Programming-Language/phobos/pull/1500
Documentation:
Le 24/06/2014 18:03, Alix Pexton a écrit :
On 22/06/2014 9:52 AM, Alix Pexton wrote:
I feel that most of the new logos that have been proposed lately are too
much of a departure from what we already have, so I'm throwing a few of
my own designs into the ring.
Le 16/06/2014 08:20, Nick Sabalausky a écrit :
On 6/15/2014 4:26 PM, Burp wrote:
I work in the game industry so I'm familiar with this type of mindset.
Not everyone in my industry is like this, but unfortunately many are(I
avoid working with them).
He doesn't understand metaprogramming
Le 16/06/2014 03:28, Manu via Digitalmars-d a écrit :
On 15 June 2014 21:28, Peter Alexander via Digitalmars-d
digitalmars-d@puremagic.com wrote:
http://c0de517e.blogspot.ca/2014/06/where-is-my-c-replacement.html?m=1
The arguments against D are pretty weak if I'm honest, but I think it's
Le 12/06/2014 23:12, John a écrit :
On Thursday, 12 June 2014 at 19:38:06 UTC, André wrote:
Hi,
Is it possible to add a newsgroup for DGui on this forum? It
would be great to have a communication platform and also
advertising this really great Windows ui toolkit. With an easy to
use and
Le 14/06/2014 22:18, Xavier Bigand a écrit :
Le 12/06/2014 23:12, John a écrit :
On Thursday, 12 June 2014 at 19:38:06 UTC, André wrote:
Hi,
Is it possible to add a newsgroup for DGui on this forum? It
would be great to have a communication platform and also
advertising this really great
I get a failure on a test in format.d when I build my own project with
unittest. I though importing phobos header would not regenerate their
unittest modules.
Any idea of what can cause this issue? I already have reinstalled dmd
with visualD completely.
Le 12/06/2014 20:09, Rene Zwanenburg a écrit :
On Thursday, 12 June 2014 at 15:46:12 UTC, Mike wrote:
On Thursday, 12 June 2014 at 00:20:28 UTC, cal wrote:
Might it be worth stitching things together into a proper image
processing package?
Well I started working on TGA because I was
Le 12/06/2014 20:35, Xavier Bigand a écrit :
Le 12/06/2014 20:09, Rene Zwanenburg a écrit :
On Thursday, 12 June 2014 at 15:46:12 UTC, Mike wrote:
On Thursday, 12 June 2014 at 00:20:28 UTC, cal wrote:
Might it be worth stitching things together into a proper image
processing package?
Well I
Le 12/05/2014 19:14, Dicebot a écrit :
On Monday, 12 May 2014 at 17:03:41 UTC, Manu via Digitalmars-d wrote:
But D is *so close*... and I like it! _
I have to say that this discussion has certainly left me somewhat
intrigued by Rust though.
I've never given it a fair go because I find the
digitalmars-d@puremagic.com:
On 11 May 2014 05:39, H. S. Teoh via Digitalmars-d
digitalmars-d@puremagic.com wrote:
On Sat, May 10, 2014 at 09:16:54PM +0200, Xavier Bigand via Digitalmars-d wrote:
- Same question if D migrate to ARC?
I highly doubt D will migrate to ARC. ARC will probably
Le 10/05/2014 01:31, Francesco Cattoglio a écrit :
On Friday, 9 May 2014 at 21:05:18 UTC, Wyatt wrote:
But conversely, Manu, something has been bothering me: aren't you
restricted from using most libraries anyway, even in C++? Decent or
acceptable performance isn't anywhere near maximum, so
Le 10/05/2014 08:53, Paulo Pinto a écrit :
Am 10.05.2014 08:27, schrieb Manu via Digitalmars-d:
On 10 May 2014 07:05, Wyatt via Digitalmars-d
digitalmars-d@puremagic.com wrote:
On Friday, 9 May 2014 at 16:12:00 UTC, Manu via Digitalmars-d wrote:
...
The only option I know that works is
Le 10/05/2014 11:35, Douglas Peterson a écrit :
Rust is quite seductive (own point of view of course) in its traits
system. They've found the right median line between OOP and TMP. I mean
it's a realy nice concept.
Have you a direct link about traits? Cause I am almost unable to see
their
Le 10/05/2014 15:25, Manu via Digitalmars-d a écrit :
On 10 May 2014 19:07, Xavier Bigand via Digitalmars-d
digitalmars-d@puremagic.com wrote:
Le 10/05/2014 01:31, Francesco Cattoglio a écrit :
On Friday, 9 May 2014 at 21:05:18 UTC, Wyatt wrote:
But conversely, Manu, something has been
Le 10/05/2014 17:58, Manu via Digitalmars-d a écrit :
On 11 May 2014 01:44, Paulo Pinto via Digitalmars-d
digitalmars-d@puremagic.com wrote:
Am 10.05.2014 15:37, schrieb Manu via Digitalmars-d:
On 10 May 2014 19:43, Xavier Bigand via Digitalmars-d
digitalmars-d@puremagic.com wrote:
I don't
I am not sure about the title...
All debates about memory management are interesting even if I am not
sure to be able to help a lot on it, but I have some concerns about the
time will elapse to get a valid answer.
My concerns as Dlang user are :
- Even if GC is the solution, how long I need
Le 09/05/2014 15:22, Chris a écrit :
On Thursday, 8 May 2014 at 16:16:22 UTC, Joakim wrote:
Well, Android/x86 for now. I've been plugging away at getting D
running on Android/x86 and got all of the druntime modules' unit tests
and 37 of 50 phobos modules' unit tests to pass. I had to hack dmd
Le 07/05/2014 05:58, Manu via Digitalmars-d a écrit :
On 7 May 2014 08:07, Xavier Bigand via Digitalmars-d
digitalmars-d@puremagic.com wrote:
Le 06/05/2014 13:39, Paulo Pinto a écrit :
Android works well, I love my nexus, it proves to me that it's possible to
create really smooth
Le 06/05/2014 08:33, Jacob Carlborg a écrit :
On 06/05/14 08:07, HaraldZealot wrote:
I notice that I view only part of problem, can anybody link or describe
me completely state and problems of current garbage collection and other
resource management? It help me in finding of existence solution
Le 06/05/2014 06:05, Manu via Digitalmars-d a écrit :
On 6 May 2014 13:51, HaraldZealot via Digitalmars-d
digitalmars-d@puremagic.com wrote:
That said, I really want my destructors, and would be very upset to
see them go. So... ARC?
Manu, can you direct me what is ARC? This abbreviation is
Le 06/05/2014 12:58, Manu via Digitalmars-d a écrit :
On 6 May 2014 16:33, Jacob Carlborg via Digitalmars-d
digitalmars-d@puremagic.com wrote:
On 06/05/14 08:07, HaraldZealot wrote:
I notice that I view only part of problem, can anybody link or describe
me completely state and problems of
Le 06/05/2014 13:39, Paulo Pinto a écrit :
On Tuesday, 6 May 2014 at 10:58:14 UTC, Manu via Digitalmars-d wrote:
On 6 May 2014 16:33, Jacob Carlborg via Digitalmars-d
digitalmars-d@puremagic.com wrote:
On 06/05/14 08:07, HaraldZealot wrote:
I notice that I view only part of problem, can
Le 06/05/2014 14:04, Manu via Digitalmars-d a écrit :
On 6 May 2014 21:39, Paulo Pinto via Digitalmars-d
digitalmars-d@puremagic.com wrote:
On Tuesday, 6 May 2014 at 10:58:14 UTC, Manu via Digitalmars-d wrote:
On 6 May 2014 16:33, Jacob Carlborg via Digitalmars-d
digitalmars-d@puremagic.com
Le 06/05/2014 14:30, Michel Fortin a écrit :
On 2014-05-06 12:04:55 +, Manu via Digitalmars-d
digitalmars-d@puremagic.com said:
Notably, I didn't say 'phones'. Although I think they do generally
fall into this category, I think they're drifting away. Since they run
full OS stack's, it's
Le 04/05/2014 11:21, Marc Schütz schue...@gmx.net a écrit :
A meta question, not related to your specific implementation:
While Qt is certainly the most powerful and comprehensive portable GUI
framework, it also contains lots of code that's not related to user
interfaces: strings,
Le 04/05/2014 18:19, Gary Willoughby a écrit :
On Sunday, 4 May 2014 at 14:09:38 UTC, w0rp wrote:
Best of luck to you guys. I encourage as many people as possible to
give writing D GUI libraries a go, and perhaps we can all learn from
each other.
Done ;)
Le 01/05/2014 09:23, Dicebot a écrit :
On Thursday, 1 May 2014 at 01:45:21 UTC, Xavier Bigand wrote:
Splitting all features at an absolute atomic level can be achieve for
open-source libraries, but it's pretty much impossible for an
industrial software. Why being so restrictive when it's
Le 01/05/2014 13:44, w0rp a écrit :
On Thursday, 1 May 2014 at 11:05:55 UTC, Jacob Carlborg wrote:
On 2014-04-30 23:35, Andrei Alexandrescu wrote:
Agreed. I think we should look into parallelizing all unittests. --
Andrei
I recommend running the tests in random order as well.
This is a
Le 01/05/2014 16:01, Atila Neves a écrit :
On Thursday, 1 May 2014 at 11:44:12 UTC, w0rp wrote:
On Thursday, 1 May 2014 at 11:05:55 UTC, Jacob Carlborg wrote:
On 2014-04-30 23:35, Andrei Alexandrescu wrote:
Agreed. I think we should look into parallelizing all unittests. --
Andrei
I
Le 30/04/2014 17:43, Andrei Alexandrescu a écrit :
Hello,
A coworker mentioned the idea that unittests could be run in parallel
(using e.g. a thread pool). I've rigged things to run in parallel
unittests across modules, and that works well. However, this is too
coarse-grained - it would be
Le 30/04/2014 17:59, Andrei Alexandrescu a écrit :
On 4/30/14, 8:54 AM, bearophile wrote:
Andrei Alexandrescu:
A coworker mentioned the idea that unittests could be run in parallel
In D we have strong purity to make more safe to run code in parallel:
pure unittest {}
This doesn't follow.
Le 30/04/2014 19:50, Jonathan M Davis via Digitalmars-d a écrit :
On Wed, 30 Apr 2014 08:59:42 -0700
Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com
wrote:
On 4/30/14, 8:54 AM, bearophile wrote:
Andrei Alexandrescu:
A coworker mentioned the idea that unittests could be run
Le 30/04/2014 19:58, Atila Neves a écrit :
On Wednesday, 30 April 2014 at 17:50:34 UTC, Jonathan M Davis via
Digitalmars-d wrote:
On Wed, 30 Apr 2014 08:59:42 -0700
Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com
wrote:
On 4/30/14, 8:54 AM, bearophile wrote:
Andrei
Le 30/04/2014 21:23, Dicebot a écrit :
On Wednesday, 30 April 2014 at 18:19:34 UTC, Jonathan M Davis via
Digitalmars-d wrote:
On Wed, 30 Apr 2014 17:58:34 +
Atila Neves via Digitalmars-d digitalmars-d@puremagic.com wrote:
Unit tests though, by definition (and I'm aware there are more than
Le 30/04/2014 22:09, Russel Winder via Digitalmars-d a écrit :
On Wed, 2014-04-30 at 11:19 -0700, Jonathan M Davis via Digitalmars-d
wrote:
[…]
I disagree with this. A unit test is a test that tests a single piece
of functionality - generally a function - and there are functions which
have to
Le 30/04/2014 18:19, Byron a écrit :
On Wed, 30 Apr 2014 09:02:54 -0700, Andrei Alexandrescu wrote:
I think indeed a small number of unittests rely on order of execution.
Those will be still runnable with a fork factor of 1. We'd need a way to
specify that - either a flag or:
static shared
Le 30/04/2014 18:55, Andrei Alexandrescu a écrit :
Walter and I also discussed static unittest a while ago - yes, another
use of static :o).
A static unittest would be evaluated only during compilation, and would
prove things that fall in the realm of static checking but are not
verifiable with
Le 01/05/2014 03:54, Andrei Alexandrescu a écrit :
On 4/30/14, 6:20 PM, Xavier Bigand wrote:
Le 30/04/2014 17:59, Andrei Alexandrescu a écrit :
On 4/30/14, 8:54 AM, bearophile wrote:
Andrei Alexandrescu:
A coworker mentioned the idea that unittests could be run in parallel
In D we have
Le 16/04/2014 00:38, Jeroen Bollen a écrit :
Does anyone know of any (preferably complete) XCB bindings for D?
You can take a look to my bindings :
https://github.com/D-Quick/XCB
As I don't use them for the moment I am not sure there is no mistake in
it, but it sure that it can be build
96 matches
Mail list logo