On Tuesday, 24 April 2018 at 13:36:48 UTC, Steven Schveighoffer
wrote:
On 4/24/18 5:11 AM, bauss wrote:
On Tuesday, 24 April 2018 at 07:58:01 UTC, Radu wrote:
On Tuesday, 24 April 2018 at 00:46:39 UTC, Byron Heads wrote:
Fibers on Win32 have a memory leak for sure:
import core.thread
On Friday, 20 April 2018 at 20:52:17 UTC, Byron Moxie wrote:
On Friday, 20 April 2018 at 20:46:20 UTC, Steven Schveighoffer
wrote:
On 4/20/18 2:58 PM, Byron Moxie wrote:
[...]
It sounds like the problems may be due to Win32 and not the
other pieces. Have you tried on a Win64 build? Even if
On Thursday, 17 December 2015 at 04:11:56 UTC, tcak wrote:
I searched the function "__lseek64" under /usr/include/dmd"
with "grep -R __lseek64", but nothing is found. I work on Linux
64-bit. So, I guess it is either Windows related, or 32bit dmd
related. "lseek64" is found in "unistd.d", but
On Wednesday, 16 December 2015 at 18:21:33 UTC, Byron Heads wrote:
On Wednesday, 16 December 2015 at 18:14:35 UTC, Byron Heads
wrote:
On Wednesday, 16 December 2015 at 17:23:15 UTC, Byron Heads
wrote:
Seeing this issue on 2.069.2 using etc.c.zlib.
C:\d\dmd2\windows\bin\..\lib\phobos.lib(gzlib
Seeing this issue on 2.069.2 using etc.c.zlib.
C:\d\dmd2\windows\bin\..\lib\phobos.lib(gzlib)
Error 42: Symbol Undefined __lseeki64
The code was compiling in 2.067. Not clear on where to look to
fix this issue.
On Wednesday, 16 December 2015 at 17:23:15 UTC, Byron Heads wrote:
Seeing this issue on 2.069.2 using etc.c.zlib.
C:\d\dmd2\windows\bin\..\lib\phobos.lib(gzlib)
Error 42: Symbol Undefined __lseeki64
The code was compiling in 2.067. Not clear on where to look to
fix this issue.
I can
On Wednesday, 16 December 2015 at 18:14:35 UTC, Byron Heads wrote:
On Wednesday, 16 December 2015 at 17:23:15 UTC, Byron Heads
wrote:
Seeing this issue on 2.069.2 using etc.c.zlib.
C:\d\dmd2\windows\bin\..\lib\phobos.lib(gzlib)
Error 42: Symbol Undefined __lseeki64
The code was compiling
On Saturday, 5 September 2015 at 13:32:04 UTC, Mike McKee wrote:
On Saturday, 5 September 2015 at 11:43:16 UTC, Mike McKee wrote:
On a Mac (Yosemite version), how would I create a window in D,
embed Chromium, use D to show a local SQLite test database
(id, firstname, lastname) inside Chromium,
On Wednesday, 18 February 2015 at 21:21:11 UTC, Byron Heads wrote:
On Wednesday, 18 February 2015 at 21:05:10 UTC, Byron Heads
wrote:
On Wednesday, 18 February 2015 at 20:55:56 UTC, ketmar wrote:
On Wed, 18 Feb 2015 20:35:44 +, Byron Heads wrote:
On Wednesday, 18 February 2015 at 20:33
I have a medium size daemon application that uses several
threads, libasync, and daemonize. On windows it runs correctly
with GC enabled, but on linux the GC causes a deadlock while
allocating memory.
Adding core.memory.GC.disable; to main causes the application to
work correctly (and quickly
On Wednesday, 18 February 2015 at 21:05:10 UTC, Byron Heads wrote:
On Wednesday, 18 February 2015 at 20:55:56 UTC, ketmar wrote:
On Wed, 18 Feb 2015 20:35:44 +, Byron Heads wrote:
On Wednesday, 18 February 2015 at 20:33:40 UTC, ketmar wrote:
On Wed, 18 Feb 2015 20:27:07 +, Byron
On Wednesday, 18 February 2015 at 21:21:11 UTC, Byron Heads wrote:
On Wednesday, 18 February 2015 at 21:05:10 UTC, Byron Heads
wrote:
On Wednesday, 18 February 2015 at 20:55:56 UTC, ketmar wrote:
On Wed, 18 Feb 2015 20:35:44 +, Byron Heads wrote:
On Wednesday, 18 February 2015 at 20:33
On Wednesday, 18 February 2015 at 20:33:40 UTC, ketmar wrote:
On Wed, 18 Feb 2015 20:27:07 +, Byron Heads wrote:
are you forking? ;-)
I am in the daemonize library
https://github.com/NCrashed/daemonize
On Wednesday, 18 February 2015 at 20:41:12 UTC, Dicebot wrote:
Any chance you are using gdm-3.12.x?
I was so mad when I have encountered this:
https://issues.dlang.org/show_bug.cgi?id=4890
Dont think so
$dpkg --get-selections | grep gdm doesn't return anything
also running via ssh
On Wednesday, 18 February 2015 at 20:55:56 UTC, ketmar wrote:
On Wed, 18 Feb 2015 20:35:44 +, Byron Heads wrote:
On Wednesday, 18 February 2015 at 20:33:40 UTC, ketmar wrote:
On Wed, 18 Feb 2015 20:27:07 +, Byron Heads wrote:
are you forking? ;-)
I am in the daemonize library
Anyone seeing this error?
Assertion failure: '0' on line 423 in file 'backend\aa.c'
DMD 2.065 win8
-Byron
On Tue, 10 Jun 2014 17:06:08 +0200, Artur Skawina via Digitalmars-d-learn
wrote:
On 06/10/14 02:28, Byron via Digitalmars-d-learn wrote:
Should this work? It seems like the short circuit booleans are not
working:
enum isPrimitive(T) = isBasicType!T || (isArray!T isBasicType!
I am working on d-leveldb wrapper (https://github.com/bheads/d-leveldb)
and I need to be able to pass blocks of data between D and leveldb API.
I am having rouble getting the byte size of dynamic arrays and POD
classes.
I can get the right size for 1D dynamic arrays, need a way to compute the
On Thu, 16 May 2013 08:11:35 -0500, 1100110 wrote:
On 05/16/2013 08:09 AM, Byron Heads wrote:
I am working on d-leveldb wrapper (https://github.com/bheads/d-leveldb)
and I need to be able to pass blocks of data between D and leveldb API.
I am having rouble getting the byte size of dynamic
On Thu, 16 May 2013 15:32:35 +0200, bearophile wrote:
Byron Heads:
now I am wondering way a POD has a vtable.
In D global structs are PODs, while classe instances are are not PODs.
All classes have a vtable because they inherit some methods from the
Object class.
Bye,
bearophile
On Thu, 16 May 2013 08:11:35 -0500, 1100110 wrote:
__traits(classInstanceSize, MyClass); ?
Any ideas on how to get the element type of an array
ie: int[] - int int[][] - int[]
I am going to block dynamic arrays with more then 1D, since they are
holding pointers in the data block
On Thu, 16 May 2013 13:49:51 +, Byron Heads wrote:
On Thu, 16 May 2013 08:11:35 -0500, 1100110 wrote:
__traits(classInstanceSize, MyClass); ?
Any ideas on how to get the element type of an array ie: int[] - int
int[][] - int[]
I am going to block dynamic arrays with more
On Thu, 09 May 2013 03:29:06 +0200, evilrat wrote:
first doesn't compile with DMD 2.062 as int implicitly not converted to
long.
foo func takes associative array, within this example you can use type
Variant[string] to make life a bit easier(but i can't recommend it for
ur real code cause
On Thu, 09 May 2013 02:33:08 +0200, bearophile wrote:
Byron Heads:
I have a variant associative array. In the example below I am
wondering if there is a way to create the array without having to
indicate the variant type on all of the values. Would like to be able
to write code like #2
I have a variant associative array. In the example below I am wondering
if there is a way to create the array without having to indicate the
variant type on all of the values. Would like to be able to write code
like #2, or something cleaner/better for #1. This is intended for a
library.
After upgrading an ubuntu machine from 2.047 to 2.048 I am getting an
error:
/usr/include/d/dmd/phobos/std/traits.d(25): Error: identifier 'string' is
not defined
I doesn't matter what I compile.
I added
alias immutable(char[]) string to traits.d
Then I get the following error.
On Tue, 17 Aug 2010 19:31:58 +, Byron Heads wrote:
After upgrading an ubuntu machine from 2.047 to 2.048 I am getting an
error:
/usr/include/d/dmd/phobos/std/traits.d(25): Error: identifier 'string'
is not defined
I doesn't matter what I compile.
I added
alias immutable(char
On Tue, 29 Jun 2010 15:27:41 -0400, bearophile wrote:
In D use dynamic arrays unless you really need to remove or add a lot of
items from the start or middle of the sequence. On modern CPUs linked
lists are usually the wrong data structure to use.
Bye,
bearophile
D's dynamic arrays are
Just a few things that may cause you some bugs/errors
On Tue, 29 Jun 2010 23:33:13 +0200, BLS wrote:
On 29/06/2010 22:12, Steven Schveighoffer wrote:
// Confirm these are the same instance
if (b1 == b2 b2 == b3 ) {
writeln(Same instance\n);
}
I think you mean to
Doesn't look like sys/stat.h is include in the druntime.
What I really was looking for was umask
-Byron
When I use fork I am getting a core.thread.ThreadException: Unable to
load thread state exception.
This is dmd 2.047 on OS X
I am trying to convert a small C application.
module fork;
import core.sys.posix.unistd,
std.stdio;
void main()
{
auto pid = fork();
if( pid 0 ) {
On Mon, 21 Jun 2010 21:32:21 +, Byron Heads wrote:
When I use fork I am getting a core.thread.ThreadException: Unable to
load thread state exception.
This is dmd 2.047 on OS X
I am trying to convert a small C application.
This runs fine under linux
-Byron
On Mon, 21 Jun 2010 21:37:56 +, Lars T. Kyllingstad wrote:
Yes, it is: core.sys.posix.sys.stat
-Lars
I guess it helps if I included a -R in my grep!
thanks
-B
Whats the proper way to get access to some of the Posix functions?
ie. fork setsid...
import core.sys.posix.unistd; //? Is it proper to import from core.sys ?
-B
On Thu, 17 Jun 2010 21:31:10 +, Byron Heads wrote:
is setMaxMailboxSize not implemented yet or is it bugged?
This is a little better example of it not working:
import core.sys.posix.unistd;
import std.stdio,
std.concurrency,
std.random;
enum MAX = 1;
void main
35 matches
Mail list logo