On Monday, 7 December 2015 at 22:19:17 UTC, Enjoys Math wrote:
On Monday, 7 December 2015 at 22:01:15 UTC, BLM768 wrote:
On Monday, 7 December 2015 at 21:33:57 UTC, Enjoys Math wrote:
I've seen these:
https://github.com/DerelictOrg?page=1
BUt not sure how to use them, examples?
OpenGL
On Thursday, 17 December 2015 at 11:50:02 UTC, drug wrote:
I have two implementation of the same algorithm - D and C++
(that is port of D version). I assume that running these
implementations on the same data should give the same results
from both. But with some data the results differ (5th
On Monday, 4 January 2016 at 23:15:22 UTC, Guillaume Piolat wrote:
Can someone produce a _useful_ free function that uses inout?
There are useful getters using inout.
There are useless free functions using inout like
http://dpaste.dzfl.pl/d038012308ed
Adam D. Ruppe answered this on IRC:
Can someone produce a _useful_ free function that uses inout?
There are useful getters using inout.
There are useless free functions using inout like
http://dpaste.dzfl.pl/d038012308ed
Is there a fancy way to have some kind of string interpolation in
D?
On Wednesday, 23 December 2015 at 19:22:01 UTC, Taylor Hillegeist
wrote:
Shouldn't there be like a common (interface/abstract class)
that these back-ends can fulfill? maybe I am unaware of how
these things are done. And perhaps there are performance
reasons that many of these are baked in.
On Saturday, 28 November 2015 at 10:40:19 UTC, Mike McKee wrote:
Does anyone have a demo that shows how I can call the native
OSX API to draw a basic window that's minimizable and can be
closed?
I was thinking of making an installer for the Mac, you see. So
for instance, people would
On Tuesday, 27 August 2013 at 19:50:03 UTC, luminousone wrote:
I was under the impression that the atomic spinlock has a lower
latency for any waiters, then a mutex when its unlocked?
I am using this for a temporary or depending on performance, a
perminate replacement for std.concurrency
On Friday, 27 May 2016 at 10:00:40 UTC, Era Scarecrow wrote:
On Friday, 27 May 2016 at 09:51:56 UTC, rikki cattermole wrote:
This is good progress. Using the assembler doesn't have many
documentation examples of how to do things, guess the x[ESP]
example was totally useless on the iasm page.
On Friday, 27 May 2016 at 09:11:01 UTC, Era Scarecrow wrote:
Hmmm it just occurs to me I made a big assumption. I assumed
that if the CPU supports 64bit operations, that it would be
compiled to use 64bit registers when possible. I'm assuming
this is not the case. As such the tests I was doing
On Friday, 27 May 2016 at 09:44:47 UTC, Era Scarecrow wrote:
On Friday, 27 May 2016 at 09:39:36 UTC, Era Scarecrow wrote:
I suppose there's the requirement to have a register pointing
to this, which then would be mov EAX, this, and then add
lo[EAX], 1...
Nope, still hangs...
We can't know
On Friday, 27 May 2016 at 12:26:19 UTC, Andrew Edwards wrote:
OPTLINK (R) for Win32 Release 8.00.17
Copyright (C) Digital Mars 1989-2013 All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
sound.obj(sound)
Error 42: Symbol Undefined _DirectSoundCreate@12
On Thursday, 2 June 2016 at 06:28:51 UTC, Pie? wrote:
On Thursday, 2 June 2016 at 04:52:50 UTC, Mithun Hunsur wrote:
On Thursday, 2 June 2016 at 04:02:36 UTC, Pie? wrote:
Does anyone know if there is any Asio bindings or direct D
available that allows for IO?
Check out vibe.d:
On Wednesday, 1 June 2016 at 08:53:01 UTC, Rene Zwanenburg wrote:
I was wondering: what's the preferred method for deterministic
memory management?
You can annotate your functions as @nogc. The compiler will
disallow any potential GC use, including calling other
functions that are not
On Wednesday, 22 June 2016 at 05:04:42 UTC, Tofu Ninja wrote:
Is this intended behavior? I can't seem to find it documented
anywhere, I would think the loss in precision would atleast be
a warning.
real x = 10;
float y = x; // No error or warning
real to double and double to float also work.
On Sunday, 19 June 2016 at 07:25:29 UTC, Tofu Ninja wrote:
On Friday, 17 June 2016 at 08:49:47 UTC, Tofu Ninja wrote:
Is there a way to generate a single visuald project file for
all dub configurations, selecting the configuration from the
visual studio configuration manager? Or do I have to
1. Can vibe.d handle HTTPS connections?
2. Can vibe.d "rewrite" HTTP connections to HTTPS?
3. Can vibe.d be put behind a nginx reverse proxy?
4. Can vibe.d send mails?
Sorry if these questions are a bit basic, the implied subtext is
"and does it work well?".
On Saturday, 30 January 2016 at 01:17:13 UTC, Mike Parker wrote:
On Friday, 29 January 2016 at 19:46:40 UTC, Johannes Pfau wrote:
Now on windows, things are more complicated. First of all, I
can't seem
to simply use "libs": ["foo"] as the linker won't find the C
import .lib file. Then
On Wednesday, 24 February 2016 at 14:02:49 UTC, Ola Fosheim
Grøstad wrote:
On Wednesday, 24 February 2016 at 10:33:56 UTC, Tanel Tagaväli
wrote:
Hello!
I've been making some progress on the native D audio front:
https://github.com/clinei/daud/tree/28ac042a16ae6785605a9a501b5f867c8f962055
It's
On Thursday, 25 February 2016 at 14:01:30 UTC, Thalamus wrote:
I don't control the EXE itself and the code I write to
interface with it must be either C# or JavaScript, but this
repros with a test C# driver EXE as well. The interfacing C#
code can only be aware of the exposed D DLL functions
On Thursday, 25 February 2016 at 07:02:24 UTC, Ola Fosheim
Grøstad wrote:
On Wednesday, 24 February 2016 at 17:52:39 UTC, Guillaume
Piolat wrote:
Though it isn't fantastic aliasing-wise on the last octave, I
should try something than power-of-2s next time I need it.
Why would it help to not
On Tuesday, 26 January 2016 at 13:56:39 UTC, Igor wrote:
//ubyte[__traits(classInstanceSize, App)] buffer;
auto buffer =
core.stdc.stdlib.malloc(__traits(classInstanceSize,
App))[0..__traits(classInstanceSize, App)];
works, so it is the ubyte line.
Make sure the buffer
On Thursday, 18 February 2016 at 07:52:11 UTC, Joel wrote:
On Thursday, 18 February 2016 at 07:11:23 UTC, Joel wrote:
I had dub installed in a folder that meant I had to put 'sudo
dub' to run it. I've tried to fix the problem, but where do
you put it (also I tried one place, but couldn't put
On Friday, 12 February 2016 at 13:00:30 UTC, Charles wrote:
1. Yes. Example:
https://github.com/rejectedsoftware/vibe.d/tree/master/examples/https_server
2. I'd do this with nginx. Example:
http://serverfault.com/a/337893
3. Yes.
4. Yes. Example:
On Sunday, 14 February 2016 at 13:23:28 UTC, Guillaume Piolat
wrote:
On Sunday, 14 February 2016 at 12:56:51 UTC, Vladde Nordholm
wrote:
I'm not sure of how to use alias efficiently, so I want to
know if I could somehow do this (psuedo-code)
class Singleton
{
//So instead of calling
On Sunday, 14 February 2016 at 12:56:51 UTC, Vladde Nordholm
wrote:
I'm not sure of how to use alias efficiently, so I want to know
if I could somehow do this (psuedo-code)
class Singleton
{
//So instead of calling `Singleton.getSingleton()` you just
call `Singleton`
alias this =
I'm cargo-culting the use of --combined with DUB because I
somehow think inlining will be better in this way. (For thos who
don't use DUB, what it does is compiling the whole program with a
single compiler invokation instead of making one static library
by package.)
But I've never measured
On Monday, 14 March 2016 at 11:50:38 UTC, Rene Zwanenburg wrote:
It shouldn't make a difference for the resulting executable,
but compilation itself may be faster. I did a little test just
to be sure. Two DUB packages, one with:
module m;
string foo() { return "asdf"; }
And the other:
On Tuesday, 8 March 2016 at 18:11:24 UTC, John wrote:
* For this kind of implementation, is the Algebraic type a good
choice ? Is a simple union perhaps better ?
You can go with Algebraic. I used to do that in scheme-d. Then I
switched to a tagged union by hand to avoid a compiler
On Wednesday, 9 March 2016 at 13:12:18 UTC, Jonathan M Davis
wrote:
In general though, you should use pure wherever possible.
- Jonathan M Davis
Thanks for the detailed answer and gotchas.
It thought compilers would use pure in alias analysis to ensure
everything did not mutate during a
On Wednesday, 9 March 2016 at 10:08:33 UTC, ag0aep6g wrote:
On 09.03.2016 10:56, Guillaume Piolat wrote:
If I understand purity correctly
(http://klickverbot.at/blog/2012/05/purity-in-d/), every
function out
there can be marked pure as long as it doesn't modify globals,
shared
variables or
On Wednesday, 9 March 2016 at 09:56:05 UTC, Guillaume Piolat
wrote:
If I understand purity correctly
(http://klickverbot.at/blog/2012/05/purity-in-d/), every
function out there can be marked pure as long as it doesn't
modify globals, shared variables or do I/O?
It seems more function can be
If I understand purity correctly
(http://klickverbot.at/blog/2012/05/purity-in-d/), every function
out there can be marked pure as long as it doesn't modify
globals, shared variables or do I/O?
It seems more function can be marked pure that I previously
thought.
On Tuesday, 26 April 2016 at 09:07:59 UTC, Begah wrote:
I am trying to create an asset manager for my textures. I had
the idea ( it may be a wrong idea ) to create a hashmap of my
textures with a string as the key. When the program request a
texture, it firts check if it is in the hashmap and
On Sunday, 22 May 2016 at 14:04:48 UTC, ixid wrote:
On Sunday, 22 May 2016 at 12:55:47 UTC, Guillaume Piolat wrote:
On Sunday, 22 May 2016 at 12:13:07 UTC, ixid wrote:
What is the best OpenGL tutorial with D to use? I've tried to
use d-gamedev-intro and opengl-tutorials and seem to get
On Sunday, 22 May 2016 at 09:47:54 UTC, Era Scarecrow wrote:
On Sunday, 22 May 2016 at 09:39:45 UTC, Saurabh Das wrote:
On Sunday, 22 May 2016 at 09:07:32 UTC, Guillaume Piolat wrote:
https://github.com/d-gamedev-team/gfm/blob/master/integers/gfm/integers/wideint.d
wideint was exactly what I
On Sunday, 22 May 2016 at 12:13:07 UTC, ixid wrote:
What is the best OpenGL tutorial with D to use? I've tried to
use d-gamedev-intro and opengl-tutorials and seem to get
errors, files that are no longer included are needed (dgl)? and
deprecation messages.
Not a tutorial by any means but
On Sunday, 22 May 2016 at 07:35:32 UTC, Rusty wrote:
I know it's possible to do [explicit object
allocation](http://wiki.dlang.org/Memory_Management#Explicit_Class_Instance_Allocation) on the heap, but I find that quite cumbersome.
So.. is it possible to overload 'new' and 'delete' to not use
On Sunday, 22 May 2016 at 07:40:08 UTC, Nicholas Wilson wrote:
On Saturday, 21 May 2016 at 09:43:38 UTC, Saurabh Das wrote:
I see that 'cent' and 'ucent' are reserved for future use but
not yet implemented. Does anyone have a working implementation
of these types?
Alternatively, is there an
On Tuesday, 24 May 2016 at 15:27:45 UTC, llaine wrote:
The only bad point here is that I can't find a "Effective D"
page. A document that gives tips for writing clear, idiomatic D
code. A must read for any new D programmer. It augments the
tour and the language specification, both of which
On Tuesday, 26 July 2016 at 15:11:00 UTC, llaine wrote:
why it isn't the "big thing" already.
1. Less easy to explain
A big selling point is that D is good in all directions, and
stupidly easy to apply in many situations.
That is a lot harder to explain that a simple value proposal like
On Friday, 12 August 2016 at 10:45:22 UTC, Cauterite wrote:
- Would having an entry function other than
core.thread.thread_entryPoint() pose problems?
No.
What about during stack unwinding?
It doesn't need runtime or attachment.
Should I try to replicate the exception handling code of
On Friday, 12 August 2016 at 18:59:35 UTC, Guillaume Piolat wrote:
- Callback case:
You may have problems if one of the registered thread is
destroyed outside of your program and then the GC tries to stop
it though. For this reason if you are in the callback case you
can try to detach it on
On Tuesday, 16 August 2016 at 16:40:30 UTC, Adam D. Ruppe wrote:
On Tuesday, 16 August 2016 at 16:29:18 UTC, Guillaume Piolat
wrote:
Hey, I also stumbled upon this with imageformats decoding PNG.
Image loading makes 10x the garbage it should.
Let's see what this threads unveils...
leet me
On Wednesday, 17 August 2016 at 10:45:01 UTC, Saurabh Das wrote:
Is there any way I can log to a terminal or a file from inside
an @nogc function?
Thanks,
Saurabh
import core.stdc.stdio;
printf("am logging C-style\n");
On Saturday, 18 February 2017 at 20:15:55 UTC, timmyjose wrote:
My rudimentary knowledge of the D ecosystem tells me that there
is a GC in D, but that can be turned off. Is this correct?
Also, some threads online mention that if we do turn off GC,
some of the core std libraries may not fully
On Sunday, 21 August 2016 at 16:14:53 UTC, Zane wrote:
Hey all,
My knowledge of GCs is limited, but my faith in them (for most
applications) has greatly increased with advances (like with
Golang's recent updates). I am now trying to get a better sense
for the direction D is going regarding
On Tuesday, 16 August 2016 at 15:46:23 UTC, WhatMeWorry wrote:
I've got a large Visual Studio Solution which contains lots of
Projects. Each project is a standalone D/OpenGL tutorial. I
want to make it OS and IDE agnostic so it can be easily played
with on Windows, Linux, and Mac OS so I
On Friday, 17 June 2016 at 02:55:43 UTC, thedeemon wrote:
On Friday, 17 June 2016 at 01:51:41 UTC, Joerg Joergonson wrote:
Hi, so, do you have any idea why when I load an image with
png.d it takes a ton of memory?
I've bumped into this previously. It allocates a lot of
temporary arrays for
On Monday, 15 August 2016 at 08:45:07 UTC, Tofu Ninja wrote:
So this is kind of an open ended question, just looking for
advice on doing it in general, if it's possible, and doing it
specifically in D on windows. I am not super familiar with how
shared libraries work so I had some questions.
On Monday, 5 September 2016 at 05:14:56 UTC, Nicholas Wilson
wrote:
On Saturday, 3 September 2016 at 17:13:49 UTC, Darren wrote:
Now I wonder if I can load shaders from separate files (à la
http://www.opengl-tutorial.org/beginners-tutorials/tutorial-2-the-first-triangle/).
see:
On Monday, 5 September 2016 at 17:25:45 UTC, Tofu Ninja wrote:
I can build directly from dub with no problem, but building
from VS gives that error.
Building with dub uses the dmd settings in sc.ini
Building with VisualD can override those settings.
On Thursday, 1 September 2016 at 07:46:04 UTC, qznc wrote:
I find the documentation on MemoryOrder lacking about the
semantics of rel. :(
[0] https://dlang.org/library/core/atomic/memory_order.html
What helped me was to read std::memory_order documentation
On Thursday, 1 September 2016 at 10:38:07 UTC, qznc wrote:
On Thursday, 1 September 2016 at 10:30:12 UTC, Guillaume Piolat
wrote:
On Thursday, 1 September 2016 at 07:46:04 UTC, qznc wrote:
I find the documentation on MemoryOrder lacking about the
semantics of rel. :(
[0]
On Wednesday, 14 September 2016 at 09:40:47 UTC, wobbles wrote:
On Wednesday, 14 September 2016 at 09:01:11 UTC, Guillaume
Piolat wrote:
Is there vibe.d hosting sold anywhere?
Not that I know, but any VPS you rent would be capable of
hosting it.
I guess you don't want to deal with all of
On Wednesday, 14 September 2016 at 10:56:57 UTC, llaine wrote:
No PaaS service, but you can pretty simply use Heroku to deploy
any vibe.d application.
Check the tour.dlang.io
http://tour.dlang.io/tour/en/vibed/deploy-on-heroku where
everything is explained :)
Thanks!
Is there vibe.d hosting sold anywhere?
On Thursday, 29 September 2016 at 06:24:08 UTC, Jacob Carlborg
wrote:
On 2016-09-29 03:43, David Nadlinger wrote:
Jacob is also the author of DVM, so he might be a bit biased.
;)
And you would never recommend LDC? ;)
More or less related: it would be nice if DVM supports LDC
fetching and
On Thursday, 15 September 2016 at 22:03:12 UTC, Patric Dexheimer
wrote:
LLVM D compiler (1a7070): based on DMD v2.071.2-b2 and LLVM
3.9.0git-fbbabf3
command: dub run --build=release --arch=x86_64
--compiler=D:/ldc/bin/ldc2.exe
Output:
Performing "release" build using D:/ldc/bin/ldc2.exe
On Sunday, 18 September 2016 at 15:40:09 UTC, Basile B. wrote:
Hello, I'm sure it was working last time I've tried (I can't
say when, maybe > 6 months). I'm on linux x86_64, GDB 7.8
If I send to GDB "break _d_assert" it will break correctly on
"assert(false);" so I can jump over. But the
Hi,
Interesting question, so I took your examples and made them do
the same thing with regards to allocation (using malloc instead
of new in both languages).
I removed the stopwatch to use "time" instead.
Now the programs should do the very same thing. Will they be as
fast too?
D code:
On Monday, 19 September 2016 at 17:42:51 UTC, A D dev wrote:
Hi list,
What blogs about D do you read?
Thanks in advance.
https://dlang.org/blog/
http://dblog.aldacron.net/
http://minas-mina.com/
http://nomad.so/tag/d/
http://blog.thecybershadow.net/
https://p0nce.github.io/d-idioms/
On Tuesday, 16 August 2016 at 16:40:30 UTC, Adam D. Ruppe wrote:
On Tuesday, 16 August 2016 at 16:29:18 UTC, Guillaume Piolat
wrote:
Hey, I also stumbled upon this with imageformats decoding PNG.
Image loading makes 10x the garbage it should.
Let's see what this threads unveils...
leet me
On Sunday, 25 September 2016 at 16:23:11 UTC, Matthias Klumpp
wrote:
Hello!
I am working together with others on the D-based
appstream-generator[1] project, which is generating software
metadata for "software centers" and other package-manager
functionality on Linux distributions, and is used
On Wednesday, 28 September 2016 at 08:18:40 UTC, Joel wrote:
I'm thinking using home brew.
Use the DMD installer instead on dlang.org
On Wednesday, 28 September 2016 at 09:34:23 UTC, Mike Parker
wrote:
Use the DMD installer instead on dlang.org
Any particular reason? I've been using homebrew for it. I like
the simple command line update.
Not really.
I didn't know it was up-to-date. Las time I tried it wasn't
up-to-date
On Friday, 30 September 2016 at 07:36:58 UTC, Jacob Carlborg
wrote:
Yeah, that would be nice. Would it be interesting to have "dmd"
point to "ldmd2" when LDC is selected as the current compiler?
Or is that just confusing.
Confusing. For me it's much more common to want a current DMD
On Wednesday, 26 October 2016 at 08:18:07 UTC, hardreset wrote:
Is there a page somewhere on how to program D without using the
GC?
The information is scattered.
How do I allocate / free structs / classes on the heap manually?
Classes =>
On Friday, 28 October 2016 at 13:37:55 UTC, Basile B. wrote:
I would need actually something like
https://github.com/CouscousPHP/Couscous but in D.
You can easily make a custom SSG with
https://github.com/kiith-sa/dmarkdown
On Monday, 21 November 2016 at 20:04:51 UTC, Ali Çehreli wrote:
Let me know if it's not the equivalent of the original.
Ali
I've changed the idiom, thanks. The place to discuss this is the
d-idioms bugtracker, else I would have skipped this message.
On Tuesday, 22 November 2016 at 16:57:28 UTC, kink wrote:
I hate this 'idiom' too (just a clumsy workaround for something
that should work out of the box), but the non-bindability of
rvalues to ref params and the associated dispute is veeery old,
nothing new, so I don't agree that the
On Sunday, 20 November 2016 at 19:12:06 UTC, Chainingsolid wrote:
I planning out a game that has to use a lock step, peer to peer
networking model to achieve multiplayer, and thus I need to
have any floating point used produce the exact same results, no
matter what, aka be completely
On Sunday, 20 November 2016 at 22:36:12 UTC, Chainingsolid wrote:
I'm making an rts so the client/server model would require very
unrealistic bandwidth, hence the lock step peer to peer system.
Indeed, peer to peer require determinism I guess.
On Friday, 4 November 2016 at 14:55:27 UTC, Guillaume Piolat
wrote:
On Thursday, 3 November 2016 at 18:54:14 UTC, Gary Willoughby
wrote:
What is the simplest way of doing @nogc string concatenation?
I use sprintf + zero-terminated strings (or a RAII struct to
convert slices to ZT strings).
On Thursday, 3 November 2016 at 18:54:14 UTC, Gary Willoughby
wrote:
What is the simplest way of doing @nogc string concatenation?
I use sprintf + zero-terminated strings (or a RAII struct to
convert slices to ZT strings).
On Friday, 28 October 2016 at 11:50:20 UTC, hardreset wrote:
On Thursday, 27 October 2016 at 07:52:09 UTC, Guillaume Piolat
wrote:
On Wednesday, 26 October 2016 at 08:18:07 UTC, hardreset wrote:
Is there a page somewhere on how to program D without using
the GC?
The information is scattered.
On Monday, 10 October 2016 at 21:12:42 UTC, Martin Lundgren wrote:
So what's been happening in memory management land lately? Bad
GC seems like one of the Dlangs weak points, so showing
improvements here could definitely bring more people in.
It's not that the D GC is bad per se, but rather
On Thursday, 8 December 2016 at 11:32:56 UTC, Paolo Invernizzi
wrote:
On Thursday, 8 December 2016 at 11:09:12 UTC, ketmar wrote:
what can be done, tho, is article (or series of articles)
describing what exactly druntime is, how it is compared to
libc and libc++, why it doesn't hurt at all,
On Wednesday, 7 December 2016 at 12:12:56 UTC, Ilya Yaroshenko
wrote:
R, Matlab, Python, Mathematica, Gauss, and Julia use C libs.
--Ilya
As a C lib, you have the possibility of not initializing the
runtime, which leaves usable a part of phobos+druntime and it's
only a matter of avoiding
On Wednesday, 14 December 2016 at 21:38:27 UTC, Benjiro wrote:
It also seems that the core runtime is incomplete with basic
loading but no handling of dlsym, so your still forced to use
the basic c conversion casting.
int function() fn = cast(int function())dlsym(lib,
libFunction);
fn();
On Wednesday, 11 January 2017 at 06:14:35 UTC, Era Scarecrow
wrote:
Suddenly reminds me some of the speedup assembly I was writing
for wideint, but seems I lost my code. too bad, the 128bit
multiply had sped up and the division needed some work.
I'm a taker if you have some algorithm to
On Tuesday, 10 January 2017 at 13:13:17 UTC, Basile B. wrote:
On Tuesday, 10 January 2017 at 11:38:43 UTC, Guillaume Piolat
wrote:
On Tuesday, 10 January 2017 at 10:41:54 UTC, Basile B. wrote:
don't forget to flag
asm pure nothrow {}
otherwise it's slow.
Why?
It's an empirical
On Tuesday, 10 January 2017 at 10:41:54 UTC, Basile B. wrote:
don't forget to flag
asm pure nothrow {}
otherwise it's slow.
Why?
On Monday, 19 December 2016 at 14:45:07 UTC, biocyberman wrote:
I see, it is both a good thing and a bad thing. Good thing is
to encourage developers to submit packages to central dub
registry. Bad thing is, when that does not happen soon enough,
other developers who use the package will
On Tuesday, 11 April 2017 at 04:59:27 UTC, Russel Winder wrote:
Go only uses Git, Mercurial, or Bazaar for dependency handling.
Rust (via Cargo) allows for a central repository, and Git (,
and Mercurial ?) repositories. Dub appears only to allow for
central repository, or have I missed it's
Is it possible to use std.experimental.allocator without the
runtime or with the runtime disabled?
It would be ideal for allocating audio buffers in the audio
thread. malloc is tolerated but using a pre-allocated area with a
fallback on malloc would be way better and faster too.
On Wednesday, 8 March 2017 at 12:28:13 UTC, Jacob Carlborg wrote:
On 2017-03-08 12:59, Guillaume Piolat wrote:
Is it possible to use std.experimental.allocator without the
runtime or
with the runtime disabled?
I had a quick look through the imports, I could not find
anything that I know
On Monday, 14 August 2017 at 04:41:24 UTC, brian wrote:
Howdy folks.
Has anyone gotten an example of using D as mechanism to read in
video files, specifically from a webcam?
I don't see any OpenCV libraries, and the example in the DCV
library that uses FFMPEG, I can't get to work (I've
On Tuesday, 11 July 2017 at 22:59:42 UTC, Igor Shirkalin wrote:
On Tuesday, 11 July 2017 at 06:18:44 UTC, Biotronic wrote:
On Monday, 10 July 2017 at 20:03:32 UTC, Igor Shirkalin wrote:
[...]
If DRuntime is not made aware of the thread's existence, the
thread will not be stopped by the GC,
On Tuesday, 18 July 2017 at 19:49:35 UTC, Jean-Louis Leroy wrote:
Hi,
I want to add a few flags while building with dub. I tried:
DFLAGS='-d-version=explain' dub test ...
...but DFLAGS does not seem to be honored. In fact I wouldn't
mind adding a builtType to my dub.sdl (but then will it
I rely a lot on such constants for SSE:
align(16) static immutable short[8] A = [ 1, 1, 1, 1, 3, 3,
3, 3 ];
Does such alignment actually work on all OS, at all times?
Word on the street says align() doesn't work with globals.
On Monday, 17 July 2017 at 20:36:58 UTC, Igor wrote:
I also tried "Very Sleepy" profiler but it only shows symbols
for main application and not for the DLL that it loads which is
also built with debug info.
Something that works very well is CPU profiling with CodeXL. It
used to be an
On Wednesday, 26 July 2017 at 14:05:09 UTC, Jean-Louis Leroy
wrote:
I have a package hierarchy (here
https://github.com/jll63/openmethods.d/blob/master/dub.sdl) and
I would like to 'dub run' or 'dub test' everything. Is there a
recursive mode that I've missed?
I don't think there is one. But
On Monday, 3 July 2017 at 08:55:20 UTC, Martin Tschierschke wrote:
Hello for a simple game I would like to add some very simple
sound, not much different than the beeps of "PAC Man". Is there
anything I can use for this?
DerelictSDL supports the loading of SDL_mixer, which makes it
very
On Saturday, 1 July 2017 at 19:07:48 UTC, Void-995 wrote:
can i use simd as base to extend it's syntax for making
something like GLM for C++?
You can use simd to implement something like GLM, but extending
the syntax of SIMD will prove more difficult.
vector types are a bit different in LDC
On Saturday, 1 July 2017 at 19:23:57 UTC, Void-995 wrote:
Looking good, but I'm thinking more about 1:1 GLSL syntax (main
reason - rapid prototype of GLSL/HLSL/OpenCL in D and code
portability back and forward basing on usage) and heavy
depending on SIMD. Just math and nothing else. Also may
On Tuesday, 27 June 2017 at 13:11:10 UTC, Steven Schveighoffer
wrote:
But I would use a close method, and not destroy(obj). The
reason is because often times, you have wrapper types around
your socket type, and just one extra level of indirection means
the destructor cannot be used to clean up
On Wednesday, 28 June 2017 at 02:13:10 UTC, Jonathan M Davis
wrote:
There are definitely cases where finalizers make sense. Case in
point: if you have a socket class, it makes perfect sense for
it to have a finalizer. Yes, it's better to close it manually,
but it will work just fine for the GC
On Wednesday, 28 June 2017 at 09:16:22 UTC, Guillaume Piolat
wrote:
On Wednesday, 28 June 2017 at 02:13:10 UTC, Jonathan M Davis
wrote:
There are definitely cases where finalizers make sense. Case
in point: if you have a socket class, it makes perfect sense
for it to have a finalizer. Yes,
On Wednesday, 28 June 2017 at 11:21:07 UTC, Moritz Maxeiner wrote:
On Wednesday, 28 June 2017 at 09:16:22 UTC, Guillaume Piolat
wrote:
So far everyone is ignoring my example when A needs B to be
destroyed. This happens as soon as you use DerelictUtil for
example.
I thought I had
1 - 100 of 276 matches
Mail list logo