btw : I think D should get rid off un-bracketed if statement,
program king is not about sparing the number of lines...but
that’s again a matter of taste.
I'm that guy on the other side of the fence. I view unbracked IFs
as an essential part of concise code readability. Brackets are
the
On Monday, 13 April 2015 at 21:27:47 UTC, deadalnix wrote:
On Monday, 13 April 2015 at 13:56:17 UTC, Russel Winder wrote:
On Mon, 2015-04-13 at 13:12 +, Atila Neves via
Digitalmars-d wrote:
I did a `git up` on dmd, druntime and phobos, but phobos
wouldn't build. Weird, but I had to fork
On Monday, 13 April 2015 at 19:45:37 UTC, deadalnix wrote:
On Monday, 13 April 2015 at 17:04:51 UTC, John Colvin wrote:
Eww.
auto arr = new int[3];
Also, I think he's referring to something slightly different.
IMO, that shouldn't be too difficult to promote that on stack
if the reference
On 4/13/2015 7:48 PM, weaselcat wrote:
On Tuesday, 14 April 2015 at 02:45:37 UTC, weaselcat wrote:
On Tuesday, 14 April 2015 at 02:39:40 UTC, Walter Bright wrote:
On 4/13/2015 7:23 PM, weaselcat wrote:
this is essentially fusion/deforestation, correct?
??
On Tuesday, 14 April 2015 at 07:06:24 UTC, John Colvin wrote:
The problem is that the size isn't necessarily known.
C backends have alloca as a primitive:
http://llvm.org/docs/LangRef.html#alloca-instruction
I guess the compiler could put in a branch, but at that point
you'd probably want to
weaselcat:
It's reddit, that's not really surprising.
Do you know a place better than Reddit for general programming
discussions?
The lambda the ultimate blog is not generic.
Bye,
bearophile
On 4/14/2015 12:24 AM, bearophile wrote:
Walter Bright:
Algorithms don't actually do deforestation or fusion. The magic happens in how
the algorithm is implemented, i.e. the elements are created lazily (on demand)
rather than eagerly.
Stream fusion is often about laziness. There is a ton of
On Tuesday, 14 April 2015 at 07:30:22 UTC, bearophile wrote:
Generally you prefer something that's guaranteed to be
allocated on the stack when it's small and there's enough
stack. An array allocation annotated with scope, perhaps.
VLAs can save stackspace compared to fixed max sized arrays,
John Colvin:
The problem is that the size isn't necessarily known.
The size is generally known only at run-time, that's the point.
I guess the compiler could put in a branch, but at that point
you'd probably want to give the programmer control and have a
way of making it explicit.
You
On Tuesday, 14 April 2015 at 07:06:24 UTC, John Colvin wrote:
On Monday, 13 April 2015 at 19:45:37 UTC, deadalnix wrote:
On Monday, 13 April 2015 at 17:04:51 UTC, John Colvin wrote:
Eww.
auto arr = new int[3];
Also, I think he's referring to something slightly different.
IMO, that
On 2015-04-14 07:03, bitwise wrote:
You may want to look at Orange.
https://github.com/jacob-carlborg/orange
The API is clean, and non-invasive. The only downside for me, is that in
order to serialize a class by a base pointer, you have to register it at
compile time.
Yeah, this will require
On Friday, 10 April 2015 at 19:26:28 UTC, Jonas Drewsen wrote:
Cool!
I am not really that much into qml... but isn't much of the
power of qml coming from using javascript to do logic and
bindings?
Can you do D code stuff in the DML markup to handle that part
e.g. by mixin of the DML?
On Monday, 13 April 2015 at 20:41:20 UTC, Andrei Alexandrescu
wrote:
On 4/13/15 7:34 AM, H. S. Teoh via Digitalmars-d wrote:
On Mon, Apr 13, 2015 at 02:24:57PM +, Dicebot via
Digitalmars-d wrote:
I want to replace those with D scripts for a reason.
Now that dmd is dependent on an
Hello everyone!
I'm new to D.
While playing with around with traits,
I ended up writing this short example:
module test;
class Foo
{
private int _value = 21;
void foo()
{
import std.traits;
alias funs = MemberFunctionsTuple!( typeof( this ), bar
);
Walter Bright:
Algorithms don't actually do deforestation or fusion. The magic
happens in how the algorithm is implemented, i.e. the elements
are created lazily (on demand) rather than eagerly.
Stream fusion is often about laziness. There is a ton of
literature about this topic.
Bye,
On Tuesday, 14 April 2015 at 07:34:28 UTC, Ola Fosheim Grøstad
wrote:
VLAs can save stackspace compared to fixed max sized arrays,
but add recursion and try to figure out the right threshold
between small and large? You can't? So you need whole program
analysis...
To be clear: you get many
On 2015-04-14 10:33, Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?=
ola.fosheim.grostad+dl...@gmail.com wrote:
No.
No as in alloca doesn't work like that for default arguments or a
string mixin is still needed?
If alloca() ends up within a loop you are in a bad situation. Keep
in mind that alloca
On Tuesday, 14 April 2015 at 06:31:08 UTC, Jadbox wrote:
btw : I think D should get rid off un-bracketed if statement,
program king is not about sparing the number of lines...but
that’s again a matter of taste.
I'm that guy on the other side of the fence. I view unbracked
IFs as an essential
Memory overuse is usually reported as a bug in the compiler.
On Tuesday, 14 April 2015 at 08:28:23 UTC, Jacob Carlborg wrote:
On 2015-04-13 21:29, Marc =?UTF-8?B?U2Now7x0eiI=?=
schue...@gmx.net wrote:
This is the best I can come up with currently. I think with a
@forceinline attribute, it would be a lot better, assuming
`alloca()` is
usable inside an
On Tuesday, 14 April 2015 at 04:07:29 UTC, Joakim wrote:
On Monday, 13 April 2015 at 17:44:42 UTC, Laeeth Isharc wrote:
On Monday, 13 April 2015 at 16:33:06 UTC, Joakim wrote:
So that is why vibed demo app doesn't work although it does
compile. (The TLS kludge not yet in GDC). So if I make
On Monday, 13 April 2015 at 16:45:53 UTC, Paulo Pinto wrote:
In any case I doubt the Android team will do anything about it,
looking forward to Google IO 2015, to see if there will be any
announcement regarding either the dropped NDK support (not
available in AS) or if Java 8 will ever be
On 2015-04-13 21:29, Marc =?UTF-8?B?U2Now7x0eiI=?= schue...@gmx.net
wrote:
This is the best I can come up with currently. I think with a
@forceinline attribute, it would be a lot better, assuming `alloca()` is
usable inside an inlined method.
If I recall correctly alloca can be used as a
On Tuesday, 14 April 2015 at 09:57:55 UTC, wobbles wrote:
On Tuesday, 14 April 2015 at 01:31:27 UTC, Etienne wrote:
I'm currently experiencing Out Of Memory errors when compiling
in DMD on Windows
Has anyone found a way to compile a DMD x86_64 compiler on
Windows?
I've been having this
This is a specific request to Walter and Andrei, not a call for
yet another massive debate. I'm pretty sure every view has been
heard already, many times over.
Walter/Andrei, can you take a final decision on this? You put a
lot of effort in to DIP23 and it's just sitting there. It's a
On Monday, 13 April 2015 at 21:34:36 UTC, ketmar wrote:
here is Cdb[1] reader and creator, in two small modules.
reader: [2]
creator: [3]
sample: [4]
it's totally untested, but i believe that is works. at least
for the
given sample.
Public Domain, based on tinycdb[5].
[1]
https://issues.dlang.org/show_bug.cgi?id=14448
Issue ID: 14448
Summary: Compiler crashes when getting the address of a
function in MemberFunctionTuple
Product: D
Version: D2
Hardware: x86_64
OS: Linux
On Tuesday, 14 April 2015 at 12:07:18 UTC, Russel Winder wrote:
On Tue, 2015-04-14 at 08:53 +, Atila Neves via
Digitalmars-d wrote:
[…]
The -j option should be there for tweaking only, by default
I expect a modern tool to just use as many threads as I have
cores. Which of course is
On Tuesday, 14 April 2015 at 12:07:18 UTC, Russel Winder wrote:
On Tue, 2015-04-14 at 08:53 +, Atila Neves via
Digitalmars-d wrote:
[…]
The -j option should be there for tweaking only, by default
I expect a modern tool to just use as many threads as I have
cores. Which of course is
On Tuesday, 14 April 2015 at 06:31:08 UTC, Jadbox wrote:
btw : I think D should get rid off un-bracketed if statement,
program king is not about sparing the number of lines...but
that’s again a matter of taste.
I'm that guy on the other side of the fence. I view unbracked
IFs as an essential
On 2015-04-14 11:50, Marc =?UTF-8?B?U2Now7x0eiI=?= schue...@gmx.net
wrote:
It does work like that, but I don't see a way to pass the length to the
alloca() call. Unfortunately, we can't refer to other parameters. It
that were possible, it would indeed work:
import core.stdc.stdlib : alloca;
On Tuesday, 14 April 2015 at 06:31:08 UTC, Jadbox wrote:
btw : I think D should get rid off un-bracketed if statement,
program king is not about sparing the number of lines...but
that’s again a matter of taste.
I'm that guy on the other side of the fence. I view unbracked
IFs as an essential
On Mon, 2015-04-13 at 13:37 -0700, Andrei Alexandrescu via Digitalmars-d wrote:
On 4/13/15 7:10 AM, Russel Winder via Digitalmars-d wrote:
I can only make the D Hackathon 2015, on 2015-04-30 and 2015-05-01.
I'd love to get stuck in on something. Probably best for me to find
out the state of
On Tue, 2015-04-14 at 08:53 +, Atila Neves via Digitalmars-d wrote:
[…]
The -j option should be there for tweaking only, by default I
expect a modern tool to just use as many threads as I have cores.
Which of course is exactly what Ninja does.
N-1 not N on a system you are using as a
Hi.
I have been here a year or so, and trust you will forgive my
posting pseudonymously on this occasion. If you guess who it is,
please be kind enough not to say for now.
A friend has been invited to be a consultant for an investment
bank that would like to build a set of analytics for
On Tuesday, 14 April 2015 at 10:43:16 UTC, anonymous wrote:
On Tuesday, 14 April 2015 at 09:24:04 UTC, Filippo Fantini
wrote:
Hello everyone!
I'm new to D.
While playing with around with traits,
I ended up writing this short example:
module test;
class Foo
{
private int _value = 21;
correct link:
https://issues.dlang.org/show_bug.cgi?id=14448
On 15/04/2015 12:08 a.m., D Denizen since a year wrote:
Hi.
I have been here a year or so, and trust you will forgive my posting
pseudonymously on this occasion. If you guess who it is, please be kind
enough not to say for now.
A friend has been invited to be a consultant for an investment
On Tuesday, 14 April 2015 at 01:31:27 UTC, Etienne wrote:
I'm currently experiencing Out Of Memory errors when compiling
in DMD on Windows
Has anyone found a way to compile a DMD x86_64 compiler on
Windows?
I've been having this same issue.
Over-use of CTFE is what's causing it on my part,
On Tuesday, 20 May 2014 at 18:13:36 UTC, Vadim Lopatin wrote:
Hello!
I would like to announce my project, DlangUI library -
cross-platform GUI for D.
https://github.com/buggins/dlangui
License: Boost License 1.0
I've added first DlangUI tutorial on DlangUI Wiki:
On Tuesday, 14 April 2015 at 10:09:15 UTC, Idan Arye wrote:
On Tuesday, 14 April 2015 at 06:31:08 UTC, Jadbox wrote:
btw : I think D should get rid off un-bracketed if statement,
program king is not about sparing the number of lines...but
that’s again a matter of taste.
I'm that guy on the
On Tuesday, 14 April 2015 at 08:55:50 UTC, Atila Neves wrote:
On Tuesday, 14 April 2015 at 04:07:29 UTC, Joakim wrote:
On Monday, 13 April 2015 at 18:30:16 UTC, Johannes Pfau wrote:
I didn't read all of this discussion. Does the chroot method
mean you
can use glibc?
Yes, I believe so.
You
On Tuesday, 14 April 2015 at 09:24:04 UTC, Filippo Fantini wrote:
Hello everyone!
I'm new to D.
While playing with around with traits,
I ended up writing this short example:
module test;
class Foo
{
private int _value = 21;
void foo()
{
import std.traits;
alias
On Tuesday, 14 April 2015 at 08:52:19 UTC, Jacob Carlborg wrote:
On 2015-04-14 10:33, Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?=
ola.fosheim.grostad+dl...@gmail.com wrote:
No.
No as in alloca doesn't work like that for default
arguments or a string mixin is still needed?
I've got a feeling
On Tuesday, 14 April 2015 at 08:52:19 UTC, Jacob Carlborg wrote:
On 2015-04-14 10:33, Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?=
ola.fosheim.grostad+dl...@gmail.com wrote:
No.
No as in alloca doesn't work like that for default
arguments or a string mixin is still needed?
It does work like
On Monday, 13 April 2015 at 20:06:11 UTC, Kai Nacke wrote:
On Monday, 13 April 2015 at 09:00:30 UTC, Dominikus Dittes
Scherkl wrote:
I once had added cent/ucent to std/traits.d
TypeInfo for cent/ucent is now in druntime. std.traits has
cent/ucent support.
Wow, cool.
I need to address some
On Friday, 10 April 2015 at 21:26:35 UTC, bachmeier wrote:
On Friday, 10 April 2015 at 18:52:24 UTC, weaselcat wrote:
The only things I've read about nim have been on the D forums
- it seems the wikipedia article is even being considered for
deletion due to not being noteworthy. So I think you
https://issues.dlang.org/show_bug.cgi?id=13920
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
CC||zio...@gmail.com
---
https://issues.dlang.org/show_bug.cgi?id=13920
--- Comment #3 from Kenji Hara k.hara...@gmail.com ---
https://github.com/D-Programming-Language/dmd/pull/4589
--
https://issues.dlang.org/show_bug.cgi?id=14448
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
On Tuesday, 14 April 2015 at 12:16:40 UTC, Rikki Cattermole wrote:
On 15/04/2015 12:08 a.m., D Denizen since a year wrote:
Hi.
I have been here a year or so, and trust you will forgive my
posting
pseudonymously on this occasion. If you guess who it is,
please be kind
enough not to say for
D Denizen since a year wrote in message
news:qpharcskwrbfgkuub...@forum.dlang.org...
- am I right in thinking C++ integration more or less works, except
instantiating C++ templates from D? what are the gotchas?
C++ integration can be made to work, as in data can be passed back and forth
The best case scenario has happened at least once before in a
similarly-based company.
Hi Iain.
What's best way to reach you by email for quick follow-up on this
(if you would not mind - no hurry)?
Hi,
Is it possible to somehow shorter turn to slice on D? Maybe you
can use tuples?
F#:
-
printfn %A xs.[4 .. 7, 4 .. 9]
-
D:
-
writeln([a[4][4 .. $], a[5][4 .. $], a[6][4 .. $], a[7][4 .. $]]);
-
F#:
-
let xs = Array2D.init 10 10 (fun x y - x * 10 + y)
printfn [4 .. 7, 6
- what are potential factors that might make D a bad choice in this
scenario? I would like to use D certainly - but it is of course much
more important that the client gets the best result, however it is done.
You would have to asess if the analysis you should create is time
critical. If
John Colvin:
A couple of big pluses:
1) Ease of changing code. D codebases tend to feel more
flexible than C++
Thank you - and yes, I agree.
2) Easy to transparently make use of highly optimised low-level
code in high level constructs, whether that means carefully
written D, inline asm
https://issues.dlang.org/show_bug.cgi?id=14446
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Keywords||ice, pull
--- Comment #1
On Tuesday, 14 April 2015 at 14:21:41 UTC, Dennis Ritchie wrote:
writefln([%([%(%s, %)]%|\n %)], [a[4][4 .. $], a[5][4 .. $],
a[6][4 .. $], a[7][4 .. $]]);
At least this can be done as
-
writefln([%([%(%s, %)]%|\n %)], a[4..8].map !(b = b[4 .. $]));
-
On Tuesday, 14 April 2015 at 12:08:54 UTC, D Denizen since a year
wrote:
- what are the things to emphasize in building the case for
trying D? the most effective factors that persuade people are
not identical with the technically strongest reasons, because
often one needs to see it before one
On Tue, 14 Apr 2015 11:20:38 -0400, bitwise wrote:
i believe that you can't do what you want in a way you want, 'cause UFCS
is not working for template args. but you can do this:
alias base(alias CC) = reflect!(CC.baseName());
...
static const(Refl) baseRefl = base!refl;
signature.asc
On Tuesday, 14 April 2015 at 15:20:37 UTC, bitwise wrote:
When I uncomment the nicer syntax, I get the errors below:
[1] Error: variable refl cannot be read at compile time
[2] Error: CTFE failed because of previous errors in base
class Base {
double d = 0.4;
}
class Test : Base {
On 04/14/2015 07:21 AM, Dennis Ritchie wrote:
F#:
-
printfn %A xs.[4 .. 7, 4 .. 9]
-
D supports that syntax as well:
http://dlang.org/operatoroverloading.html#slice
I have a simple example here:
On Tuesday, 14 April 2015 at 10:42:31 UTC, Dominikus Dittes
Scherkl wrote:
By the way: are also cent/ucent literals defined?
And if yes, what's the postfix for that? Was it T?
There is no postfix defined. If the value of an literal does not
fit in long/ulong then the type is cent/ucent. I
On Tue, 14 Apr 2015 12:08:53 +, D Denizen since a year wrote:
I lead a group that uses D pretty much 100% for a number of different
kinds of projects, so I've seen many sides to D's advantages. That said,
I don't enough about investment banking analytics to know exactly what
they value.
On Tue, 14 Apr 2015 04:16:16 -0400, Jacob Carlborg d...@me.com wrote:
On 2015-04-14 07:03, bitwise wrote:
You may want to look at Orange.
https://github.com/jacob-carlborg/orange
The API is clean, and non-invasive. The only downside for me, is that in
order to serialize a class by a base
On Tuesday, 14 April 2015 at 14:21:26 UTC, Rikki Cattermole wrote:
That too, but I was thinking more along the lines of writing
some business logic. It is very possible outside of a cli app
or even web that they would want to use c++ for the user
interfacing.
The very worse case scenario here
https://issues.dlang.org/show_bug.cgi?id=1215
Martin Krejcirik m...@krej.cz changed:
What|Removed |Added
Keywords||pull
Status|NEW
On 15/04/2015 2:17 a.m., D Denizen since a year wrote:
Rikki:
Just a thought, try getting them to use D for prototyping. Worse case
they will play around with D before settling on e.g. c++. Best case
scenario they'll move it into production.
Good point. Pick a small part of the project
On 4/14/15 5:00 AM, Russel Winder via Digitalmars-d wrote:
On Mon, 2015-04-13 at 13:37 -0700, Andrei Alexandrescu via Digitalmars-d wrote:
On 4/13/15 7:10 AM, Russel Winder via Digitalmars-d wrote:
I can only make the D Hackathon 2015, on 2015-04-30 and 2015-05-01.
I'd love to get stuck in on
On Tue, 14 Apr 2015 11:50:24 +, Baz wrote:
Hi, i'd have a technical question about cdb, maybe a bit off-topic...
Why it was designed to use 256 hashtables ?
Why not single bigger 252 * 256 hashtable ?
Is it only to save space or there are some other reason ?
i honestly don't know.
On Tuesday, 14 April 2015 at 14:21:15 UTC, Benjamin Thaut wrote:
- what are potential factors that might make D a bad choice in
this
scenario? I would like to use D certainly - but it is of
course much
more important that the client gets the best result, however
it is done.
You would
EMSI is hiring for an Engineer II to work on D codebases: https://
emsi.bamboohr.com/jobs/view.php?id=30
Can I suggest to have a summary/list of the last added projects
to code.dlang.org.
On Monday, 13 April 2015 at 03:37:17 UTC, Adam D. Ruppe wrote:
http://arsdnet.net/this-week-in-d/apr-12.html
http://www.reddit.com/r/d_language/comments/32ek17/this_week_in_d_13_void_tip_ddmd_ifarr_warn_dconf/
On 4/14/15 1:53 AM, Atila Neves wrote:
On Monday, 13 April 2015 at 20:41:20 UTC, Andrei Alexandrescu wrote:
On 4/13/15 7:34 AM, H. S. Teoh via Digitalmars-d wrote:
On Mon, Apr 13, 2015 at 02:24:57PM +, Dicebot via Digitalmars-d
wrote:
I want to replace those with D scripts for a reason.
I get the following message from dub when using --build=release:
Linking...
.dub/build/myprogram-release-linux.posix-x86_64-dmd_2067-C1A5273464ACE9961E3F3BA6AC04084B/abairtts.o:(.data._D65TypeInfo_xC3std5range10interfaces18__T10InputRangeTiZ10InputRange6__initZ+0x10):
undefined reference to
Hi.
I've been building a reflection library for D, but I've hit a snag. If
anyone can help out, it would be much appreciated =D
In the example below, the second line of main() retrieves the reflection
of a base class. Everything is well and good. Now, I am trying to come up
with a more
On 15/04/2015 2:24 a.m., D Denizen since a year wrote:
On Tuesday, 14 April 2015 at 14:21:26 UTC, Rikki Cattermole wrote:
That too, but I was thinking more along the lines of writing some
business logic. It is very possible outside of a cli app or even web
that they would want to use c++ for
Ola Fosheim Grøstad wrote in message
news:ukkgvcqtidmgggprk...@forum.dlang.org...
I'm not even sure what happens in various D-compilers when they inline? Do
they detect that there is an alloca there and create a fake stack frame
for it or are they naive and repeatedly extend the stack frame
Sorry, I forgot the title the first time around!
I get the following message from dub when using --build=release:
Linking...
On 4/14/15 4:54 AM, John Colvin wrote:
This is a specific request to Walter and Andrei, not a call for yet
another massive debate. I'm pretty sure every view has been heard
already, many times over.
Walter/Andrei, can you take a final decision on this? You put a lot of
effort in to DIP23 and
Rikki:
Just a thought, try getting them to use D for prototyping.
Worse case they will play around with D before settling on e.g.
c++. Best case scenario they'll move it into production.
Good point. Pick a small part of the project (especially
something I 'prepared earlier') and get them
On Tuesday, 14 April 2015 at 13:17:09 UTC, Daniel Murphy wrote:
D Denizen since a year wrote in message
news:qpharcskwrbfgkuub...@forum.dlang.org...
- am I right in thinking C++ integration more or less works,
except instantiating C++ templates from D? what are the
gotchas?
C++
On Tuesday, 14 April 2015 at 14:01:10 UTC, Jens Bauer wrote:
On Tuesday, 14 April 2015 at 02:28:40 UTC, Laeeth Isharc wrote:
My first 'open source' contribution was to a data structure in
his BBS system a few years later.
Those were the days. I wrote my own BBS for Atari ST in 1988
(which
On 4/13/15 2:55 PM, Piotrek wrote:
On Monday, 13 April 2015 at 20:37:02 UTC, Andrei Alexandrescu wrote:
On 4/13/15 7:10 AM, Russel Winder via Digitalmars-d wrote:
I can only make the D Hackathon 2015, on 2015-04-30 and 2015-05-01.
I'd love to get stuck in on something. Probably best for me to
I found the `ImageWidget` class in controls.d, but I'm still
having the same issue.
Tweaked code (replaced the section between `window.mainWidget =
baseLayout;` and `baseLayout.addChild((new Button())...`
auto img = Ref!DrawBuf(new ColorDrawBuf(W,H));
draw(cast(ColorDrawBuf)
On 15/04/2015 4:17 a.m., Justin Whear wrote:
EMSI is hiring for an Engineer II to work on D codebases: https://
emsi.bamboohr.com/jobs/view.php?id=30
Hum, I think I'll try and see if they don't mind remote workers ;)
On Wednesday, 15 April 2015 at 04:43:39 UTC, Daniel Kozák wrote:
On Wed, 15 Apr 2015 04:24:20 +
Craig Dillabaugh via Digitalmars-d-learn
digitalmars-d-learn@puremagic.com wrote:
Hi.
I want to call a C library function that returns a data buffer
as a void*. How do I convert the resulting
On Wed, 15 Apr 2015 04:24:20 +
Craig Dillabaugh via Digitalmars-d-learn
digitalmars-d-learn@puremagic.com wrote:
Hi.
I want to call a C library function that returns a data buffer as
a void*. How do I convert the resulting void* into something I
can process in D?
//I have the
On Wednesday, 15 April 2015 at 04:43:39 UTC, Daniel Kozák wrote:
On Wed, 15 Apr 2015 04:24:20 +
Craig Dillabaugh via Digitalmars-d-learn
digitalmars-d-learn@puremagic.com wrote:
Hi.
I want to call a C library function that returns a data buffer
as a void*. How do I convert the resulting
Hi.
I want to call a C library function that returns a data buffer as
a void*. How do I convert the resulting void* into something I
can process in D?
//I have the following function from the GDAL C library.
extern(C) CPLErr GDALReadBlock( GDALRasterBandH, int, int, void*
);
So I have
On Wed, 15 Apr 2015 04:24:20 +
Craig Dillabaugh via Digitalmars-d-learn
digitalmars-d-learn@puremagic.com wrote:
Hi.
I want to call a C library function that returns a data buffer as
a void*. How do I convert the resulting void* into something I
can process in D?
//I have the
On 15/04/2015 1:44 a.m., bachmeier wrote:
On Tuesday, 14 April 2015 at 12:16:40 UTC, Rikki Cattermole wrote:
On 15/04/2015 12:08 a.m., D Denizen since a year wrote:
Hi.
I have been here a year or so, and trust you will forgive my posting
pseudonymously on this occasion. If you guess who it
On 2015-04-14 14:07, Russel Winder via Digitalmars-d wrote:
Waf chooses N and it makes the workstation unusable whilst the
compilation is happening.
[…]
I have four cores (if I recall correctly) and I always compile DMD with
-j 16 without any problems.
--
/Jacob Carlborg
On Tuesday, 14 April 2015 at 12:21:19 UTC, Marc Schütz wrote:
That's the typical distinction between batch and interactive
processes; today's schedulers shouldn't have trouble handling
this. If they do, there's still process priorities/nice values
to adjust.
RAM.
On Tuesday, 14 April 2015 at 02:28:40 UTC, Laeeth Isharc wrote:
My first 'open source' contribution was to a data structure in
his BBS system a few years later.
Those were the days. I wrote my own BBS for Atari ST in 1988
(which was never released to the public) - and I started writing
a
On Tuesday, 14 April 2015 at 02:31:23 UTC, Adam D. Ruppe wrote:
You might like my email.d too
https://github.com/adamdruppe/arsd/blob/master/email.d
It is able to help construct emails and also read an mbox
format - part of that code might help your imap library too.
This looks very nice. I
On Tuesday, 14 April 2015 at 13:58:31 UTC, Ola Fosheim Grøstad
wrote:
On Tuesday, 14 April 2015 at 12:21:19 UTC, Marc Schütz wrote:
That's the typical distinction between batch and interactive
processes; today's schedulers shouldn't have trouble handling
this. If they do, there's still
On Tuesday, 14 April 2015 at 10:10:17 UTC, Jacob Carlborg wrote:
On 2015-04-14 11:50, Marc =?UTF-8?B?U2Now7x0eiI=?=
schue...@gmx.net wrote:
It does work like that, but I don't see a way to pass the
length to the
alloca() call. Unfortunately, we can't refer to other
parameters. It
that were
On Tuesday, 14 April 2015 at 01:31:27 UTC, Etienne wrote:
I'm currently experiencing Out Of Memory errors when compiling
in DMD on Windows
Has anyone found a way to compile a DMD x86_64 compiler on
Windows?
Short recipe:
Download VisualStudio 2013 Community Edition
Download the DMD source
I have implemented a type constructor [Ii]ndexedBy at
https://github.com/nordlow/justd/blob/master/typecons_ex.d#L97
restricted by
https://github.com/nordlow/justd/blob/master/typecons_ex.d#L78
See unittests below for usage.
I would now like to extend this to enable a variant usage as
1 - 100 of 109 matches
Mail list logo