Re: AWS SDK

2017-10-18 Thread Stephan Dilly via Digitalmars-d
On 2017-10-18 22:25:23 +, ikod said: On Wednesday, 18 October 2017 at 20:51:48 UTC, Stephan Dilly wrote: On 2017-10-18 20:19:20 +, ikod said: Hello, On Wednesday, 18 October 2017 at 20:05:28 UTC, Andre Pany wrote: [...] Is there any docs from Amazon on this, beside json's i

Re: AWS SDK

2017-10-18 Thread Stephan Dilly via Digitalmars-d
e you going to take over the task? --Stephan

Re: "pause" garbage collection in parallel code

2014-12-15 Thread Stephan Schiffels via Digitalmars-d
On Monday, 15 December 2014 at 11:54:44 UTC, Daniel Murphy wrote: "Stephan Schiffels" wrote in message news:wjeozpnitvhtxrkhu...@forum.dlang.org... I see several ways how to improve my code: 1.) Is there a way to tell the GC the maximum heap size allowed before it initiates a

Re: "pause" garbage collection in parallel code

2014-12-15 Thread Stephan Schiffels via Digitalmars-d
On Monday, 15 December 2014 at 11:54:44 UTC, Daniel Murphy wrote: "Stephan Schiffels" wrote in message news:wjeozpnitvhtxrkhu...@forum.dlang.org... I see several ways how to improve my code: 1.) Is there a way to tell the GC the maximum heap size allowed before it initiates a

"pause" garbage collection in parallel code

2014-12-15 Thread Stephan Schiffels via Digitalmars-d
s. Thanks for help! Stephan

Re: Bool setter for std.json

2014-02-25 Thread Stephan
On Tuesday, 25 February 2014 at 07:58:23 UTC, w0rp wrote: On Monday, 24 February 2014 at 22:33:52 UTC, ed wrote: On Monday, 24 February 2014 at 19:20:23 UTC, Adam D. Ruppe wrote: On Monday, 24 February 2014 at 18:57:53 UTC, w0rp wrote: It really should just be "BOOLEAN" in std.json. yeah, or

Re: Read and write gzip files easily.

2014-02-20 Thread Stephan Schiffels
On Thursday, 20 February 2014 at 17:05:37 UTC, Kamil Slowikowski wrote: On Thursday, 20 February 2014 at 10:35:50 UTC, Stephan Schiffels wrote: Hi Kamil, I am glad someone has the exact same problem as I had. I actually solved this, inspired by the python API you quoted above. I wrote these

Re: Read and write gzip files easily.

2014-02-20 Thread Stephan Schiffels
On Wednesday, 19 February 2014 at 15:51:53 UTC, Kamil Slowikowski wrote: Hi there, I'm new to D and have a lot of learning ahead of me. It would be extremely helpful to me if someone with D experience could show me some code examples. I'd like to neatly read and write gzipped files for my work

Re: Why I chose D over Ada and Eiffel

2013-08-25 Thread Stephan Schiffels
anyway! Stephan On Monday, 19 August 2013 at 20:18:06 UTC, Ramon wrote: Sorry, this is a long and big post. But then, so too is my way that led me here; long, big, troublesome. And I thought that my (probably not everyday) set of needs and experiences might be interesting or useful for some

Re: builtin sort

2013-06-10 Thread Stephan Schiffels
On Monday, 10 June 2013 at 11:10:06 UTC, Jacob Carlborg wrote: On 2013-06-10 11:03, Stephan Schiffels wrote: I agree. Do people have the same opinion on the builtin reverse? I don't remember whether there was a discussion about this. I suggest to kill that as well. sort and revers

Re: builtin sort

2013-06-10 Thread Stephan Schiffels
guess I could start looking for spurious places in phobos and druntime where these builtin functions are used and replace them with the library ones. If we deprecate it in the end we don't want to see it being used anywhere in the standard implementations. Stephan

Re: builtin sort

2013-06-08 Thread Stephan Schiffels
On Saturday, 8 June 2013 at 09:16:23 UTC, monarch_dodra wrote: On Saturday, 8 June 2013 at 08:52:22 UTC, Jonathan M Davis wrote: However, we really, really need to deprecate the built-in sort - especially when a pair of parens can make the difference between whether you call the built-in sort o

Re: builtin sort

2013-06-08 Thread Stephan Schiffels
Unicode. Yes, I completely agree! Stephan

builtin sort

2013-06-08 Thread Stephan Schiffels
`qsort_r' collect2: ld returned 1 exit status --- errorlevel 1 When I change "a.sort" -> "a.sort()" and add import std.algorithm everything works fine. Does this mean that the builtin sort on Linux is broken with 2.063? Stephan

Re: "any" and "all" not in the doc-index

2013-05-29 Thread Stephan Schiffels
On Tuesday, 28 May 2013 at 22:31:13 UTC, Andrei Alexandrescu wrote: On 5/28/13 6:19 PM, Stephan Schiffels wrote: Hi, is there a reason why "any" and "all" from std.algorithm are neither linked in the function index nor in the cheat sheet list at the top of std.algorithm&

"any" and "all" not in the doc-index

2013-05-28 Thread Stephan Schiffels
Hi, is there a reason why "any" and "all" from std.algorithm are neither linked in the function index nor in the cheat sheet list at the top of std.algorithm's documentation page? I am happy to change this and make a pull request, just weren't sure whether it's on purpose. Stephan

Re: Range for files by character

2013-05-20 Thread Stephan Schiffels
On Monday, 20 May 2013 at 21:40:51 UTC, w0rp wrote: On Monday, 20 May 2013 at 21:36:41 UTC, Stephan Schiffels wrote: Hi, I need an Input Range that iterates a file character by character. In bioinformatics this is often important, and having a D-range is of course preferable than any

Range for files by character

2013-05-20 Thread Stephan Schiffels
e right way to do it? I was a bit surprised that std.stdio doesn't provide a "byChar" or "byByte" range. Is there a reason for this, or is this a too special need? Stephan

Re: Are people using textmate for D programming?

2013-05-18 Thread Stephan Schiffels
On Saturday, 18 May 2013 at 16:16:50 UTC, TommiT wrote: On Saturday, 18 May 2013 at 11:41:22 UTC, Stephan Schiffels wrote: Hi everyone, I would like to get an idea how many people are using Textmate as editor in Mac OS X. I am keen to improve the current bundle. Especially the syntax

Re: Are people using textmate for D programming?

2013-05-18 Thread Stephan Schiffels
thanks for sharing. I am using TM2 (https://github.com/textmate), and I think it might make a difference. Anyway, I think I will try to reanimate the github bundle. You could think about committing your changes to it. Stephan On Saturday, 18 May 2013 at 13:22:11 UTC, Jacob Carlborg wrote

Are people using textmate for D programming?

2013-05-18 Thread Stephan Schiffels
code-coverage... I can just proceed and suggest improvements (the bundle is on github), but learning about other people using it would increase my motivation :-) Stephan

Re: dlang/tools compilation failed?

2013-03-14 Thread Stephan Schiffels
Oh man, my git skills are so mediocre that I thought "remote update" does the job (I am a mercurial user , should really switch at some point). Thanks for clarifying, now it compiles. Stephan On Thursday, 14 March 2013 at 10:37:22 UTC, Jonathan M Davis wrote: On Thursday, March 1

dlang/tools compilation failed?

2013-03-14 Thread Stephan Schiffels
Hi, is it just me or does changed.d need to be fixed? I get these compiler errors (I use dmd, druntime and phobos from github and up to date). $ make MODEL=64 -f posix.mak dmd -m64 rdmd.d dmd -m64 ddemangle.d dmd -m64 catdoc.d dmd -m64 detab.d dmd -m64 tolf.d dmd -c changed.d changed.d(1

Re: When will we have std.log?

2013-02-27 Thread Stephan
know whether you want to deal with pull requests right now... Stephan On Sunday, 7 October 2012 at 18:05:08 UTC, José Armando García Sancio wrote: On Sat, Oct 6, 2012 at 11:47 PM, domain wrote: It has been suspended for a long time. Any plan? I have been working on it in my spare time. I

Re: std.json segmentation fault

2013-02-06 Thread Stephan
On Monday, 4 February 2013 at 10:04:10 UTC, Andrea Fontana wrote: This code was working some months ago: import std.json; JSONValue total; total.type = JSON_TYPE.OBJECT; total["results"].type = JSON_TYPE.OBJECT; Now, last line gives me a segmentation fault. What's wrong with this code? Here

Re: Implementing Half Floats in D

2013-01-29 Thread Stephan
e and check the type with static if:" - you actually use a static assert. But while we're at it: Why *don't* you use a signature constraint with if? I feel it would be more fitting to constrain the constructor usage. Stephan

Re: LinkTerminated without linked thread?

2013-01-24 Thread Stephan
--- And it (50% of the time) terminated in a LinkTerminated exception being thrown. Any quick thoughts? I'll investigate on my end depending on your explanation. Nope. That code works 100% for me. Stephan

Re: LinkTerminated without linked thread?

2013-01-24 Thread Stephan
On Thursday, 24 January 2013 at 17:12:49 UTC, Sean Kelly wrote: On Jan 24, 2013, at 5:58 AM, "monarch_dodra" wrote: On Thursday, 24 January 2013 at 13:45:18 UTC, David Nadlinger wrote: On Thursday, 24 January 2013 at 10:57:26 UTC, Stephan wrote: So my first question is: Wher

Re: Segfault with DMD optimization switch

2013-01-24 Thread Stephan
On Thursday, 24 January 2013 at 00:01:26 UTC, Walter Bright wrote: On 1/23/2013 2:15 PM, Stephan wrote: What would be the prototypic short program that simulates referencing an out of scope stack frame? It would be great to see an example that produces a deterministic segfault. Just return

Re: Segfault with DMD optimization switch

2013-01-24 Thread Stephan
On Thursday, 24 January 2013 at 00:01:26 UTC, Walter Bright wrote: On 1/23/2013 2:15 PM, Stephan wrote: What would be the prototypic short program that simulates referencing an out of scope stack frame? It would be great to see an example that produces a deterministic segfault. Just return

LinkTerminated without linked thread?

2013-01-24 Thread Stephan
t;receiveOnly". My second question: Given that spawn works as documented and expected: How can I report an Error or an Exception thrown in a child-thread? Should I wrap the whole function that is spawned in a try-catch statement to print any exception manually? Thanks for any clarification! Stephan

Re: D for scientific computing

2013-01-23 Thread Stephan
e two chapters that are linked on the D page. Stephan

Re: D for scientific computing

2013-01-23 Thread Stephan
think D is ideal for scientific developers that start new projects. We don't have to convince huge teams to endeavour in a new language. We can just pick the best there is :-) Stephan

Re: Segfault with DMD optimization switch

2013-01-23 Thread Stephan
erministic segfault. Thanks, Stephan

Re: Segfault with DMD optimization switch

2013-01-22 Thread Stephan
Thanks for that hint. DustMite looks promising. I will try to file a report. Stephan On Tuesday, 22 January 2013 at 18:28:08 UTC, Jonathan M Davis wrote: On Tuesday, January 22, 2013 19:21:33 Stephan wrote: Unfortunately, in my case the code crashed in a position late in some iteration loop

Segfault with DMD optimization switch

2013-01-22 Thread Stephan
dy been reported on bugzilla? Unfortunately, in my case the code crashed in a position late in some iteration loop, so I can't easily reproduce it in a simple program to file a bug report. Stephan

Re: short praise

2013-01-18 Thread Stephan
On Friday, 18 January 2013 at 15:50:02 UTC, Johannes Pfau wrote: Am Fri, 18 Jan 2013 16:45:09 +0100 schrieb "Stephan" : One brief question: Having just updated to dmd 2.061, I see that 2.062 is released, but it is not on the website. Is that on purpose? 2.062 hasn't been

short praise

2013-01-18 Thread Stephan
and working on the bugs! Thanks to all those involved! One brief question: Having just updated to dmd 2.061, I see that 2.062 is released, but it is not on the website. Is that on purpose? Stephan

very strange segmentation fault interfacing a GSL-function

2012-05-15 Thread Stephan
code, I used the following command line: rdmd -L-L/opt/local/lib -L-lgsl -L-lgslcblas gsltest.d I tested this on Unix and Mac OS X. Can anyone reproduce the error and have an idea what is going on? Cheers, Stephan

Re: Unicode, graphemes and D

2012-04-05 Thread stephan
On Thursday, 5 April 2012 at 16:17:46 UTC, Dmitry Olshansky wrote: Though I can use it iff the license is Boost compatible. Ah, the licensing question. I am not a lawyer and I don't know much about copyright law. So you have to do your own research. But here is my view regarding the unicodeda

Re: Unicode, graphemes and D

2012-04-05 Thread stephan
FYI http://www.google-melange.com/gsoc/proposal/review/google/gsoc2012/dolsh/20002# Maybe helpful for your GSOC project: as part of a larger code base, we have implemented many standard Unicode algorithms (normalization; casefolding; graphemes; info like general category, Bidi class, joini

dmd2059 ?!

2012-03-02 Thread Stephan
is it just me or is it irritating that http://dlang.org/changelog.html has a unreleased empty dmd2059 release on top ?!

Whiley mentions D

2012-01-18 Thread Stephan
Interesting read: http://whiley.org/2012/01/18/connecting-the-dots-on-the-future-of-programming-languages/ Quote: "This leads me to the final and, I think, most important question: Which mainstream programming languages currently support pure functions and/or other mechanisms for aggressi

Re: D1 to be discontinued on December 31, 2012

2011-12-15 Thread Stephan
On 14.12.2011 23:19, torhu wrote: On 14.12.2011 22:26, Andrej Mitrovic wrote: On 12/14/11, torhu wrote: DWT for D2 is not in a usable state yet. It has a few build issues but most samples work. I've never used it for any projects yet though. It doesn't work for much besides the samples. t

Re: D1 to be discontinued on December 31, 2012

2011-12-15 Thread Stephan
On 14.12.2011 21:32, torhu wrote: On 14.12.2011 14:05, Gour wrote: On Wed, 14 Dec 2011 11:15:58 +0100 Jacob Carlborg wrote: I don't know if all of them are successful but important: Tango, DWT, Minid, Orange, Not to say those are not important, but there are, afaict, falling in the category

Re: Vote on std.regex (FReD)

2011-10-26 Thread Stephan
yes

Re: Article about problems & suggestions for D 2.0

2011-08-29 Thread Stephan Soller
o templates doesn't work ether. In the end I used templates that generate normal function overloads and explicitly instantiated those templates. Happy programming Stephan Soller

Re: Any D developer at GDC europe next week ?

2011-08-10 Thread Stephan
On 09.08.2011 18:52, Trass3r wrote: Hi perhaps there is a chance to talk about D in the game industry ?! I will be there. Convince Crytek to switch to D ;) I will do my best :) -Stephan

Re: Any D developer at GDC europe next week ?

2011-08-09 Thread Stephan
On 09.08.2011 17:49, Jesse Phillips wrote: Stephan Wrote: Hi perhaps there is a chance to talk about D in the game industry ?! I will be there. Anyone else ? -Stephan While not what you asked for, you may be interested in the D Bits blog, http://www.gamedev.net/blog/1140-d-bits/ Yup I

Any D developer at GDC europe next week ?

2011-08-09 Thread Stephan
Hi perhaps there is a chance to talk about D in the game industry ?! I will be there. Anyone else ? -Stephan

Re: PSP emulator written in D

2011-08-09 Thread Stephan
On 09.08.2011 17:13, Andrei Alexandrescu wrote: Just found this. Seems pretty interesting. Anyone know more about the developer? http://www.appleumbrella.com/2011/08/d-psp-emulator-svn-r306/ One thing I like is the use of CustomFloat for defining half-floating point numbers - one application I

Re: Beta List

2011-05-12 Thread Stephan
Can you file a bug report on bugzilla and at post it on the dmd-beta mailing list, so that it gets recognized ? Stephan On 12.05.2011 11:03, David Bryant wrote: Ok, I gave the latest 2.053 beta a try (dated 12 May) and am running into some new problems. This code ran successfully with older

Re: Collateral exceptions seem to be broken

2011-05-10 Thread Stephan
n you post that on the beta mailing list so that it gets attention ? Stephan

Re: std.parallelism: VOTE IN THIS THREAD

2011-04-19 Thread Stephan
YES

Re: GtkD: Dead or Alive?

2011-03-03 Thread Stephan
On 03.03.2011 07:38, David Bryant wrote: I use GtkD for my yet-to-be-released personal project. I recently submitted a GtkD bug report recently and it didn't go anywhere, so I hand-patched the generated code locally. I also maintain my own patch to allow it to build with the latest version of dm

Re: Why Ruby?

2010-12-20 Thread Stephan Soller
On 19.12.2010 14:22, Alex_Dovhal wrote: "Stephan Soller" wrote: I don't think that the syntax improvement of chaining is worth such an effort. It adds tons of complexity for only a very limited gain. I'm not sure if I could write such self-parsed code without thinking abou

Re: Why Ruby?

2010-12-17 Thread Stephan Soller
On 16.12.2010 20:01, Jacob Carlborg wrote: On 2010-12-15 17:06, Stephan Soller wrote: On 14.12.2010 20:03, Jacob Carlborg wrote: >> … >> What's more important (at least for me) is the chaining ability and how performant such delegates actually are. From what I understood fr

Re: Why Ruby?

2010-12-17 Thread Stephan Soller
On 16.12.2010 23:33, Alex_Dovhal wrote: "Andrej Mitrovic" wrote: The cool thing about D is that with a little bit of string magic you can make your own DSL's. Here's a rather hardcoded and superficial example, but for this simple case it works: http://pastebin.com/Xkghv1ky Of course you'd nee

Re: Why Ruby?

2010-12-16 Thread Stephan Soller
On 15.12.2010 17:37, Andrej Mitrovic wrote: On 12/15/10, Stephan Soller wrote: So, _if_ we can figure out a way to do some nice chaining of such calls we can get: [1, 2, 3, 4, 5].filter!((e){ return e> 3; }) .map!((e){ return e*e; }); Or if you don't like d

Re: Why Ruby?

2010-12-15 Thread Stephan Soller
On 14.12.2010 20:03, Jacob Carlborg wrote: On 2010-12-14 19:33, Stephan Soller wrote: I think it's a matter of consistency. In Ruby blocks are used all the time for pretty much everything. In D this isn't the case because usually templates are used for stuff where blocks are used in

Re: Why Ruby?

2010-12-15 Thread Stephan Soller
On 14.12.2010 19:49, Simen kjaeraas wrote: Stephan Soller wrote: [1, 2, 3, 4, 5].select((int e){ return e > 3; }) .collect((int e){ return e*e; }); It's already fairly compact. The main overhead is the parameter type and the return statement. I don't believe this can be red

Re: Why Ruby?

2010-12-14 Thread Stephan Soller
te delegates so I just suspect that this is a performance problem. Happy programming Stephan Soller

Re: Why Ruby?

2010-12-14 Thread Stephan Soller
On 13.12.2010 18:39, Nick Sabalausky wrote: "Stephan Soller" wrote in message news:ie4srq$138...@digitalmars.com... On 12.12.2010 18:01, Simen kjaeraas wrote: Absolutely not. Ruby reads like Yoda-speak, while D is almost plain English. Had foreach used 'in' instead of

Re: Why Ruby?

2010-12-13 Thread Stephan Soller
e a method defined on "a". I don't think that's possible in Ruby. Happy programming Stephan Soller

Re: Why Ruby?

2010-12-13 Thread Stephan Soller
On 13.12.2010 12:42, Simen kjaeraas wrote: Stephan Soller wrote: Absolutely not. Ruby reads like Yoda-speak, while D is almost plain English. Had foreach used 'in' instead of the semicolon, only punctuation and 'ln' would be off. Unfortunately I have to disagree he

Re: Why Ruby?

2010-12-13 Thread Stephan Soller
ode as an argument" in D but that's where Ruby really shines in my opinion: consistency in usage. Happy programming Stephan Soller

Re: Why Ruby?

2010-12-13 Thread Stephan Soller
yed. I was curious and asked here if she was able to understand what these lines do. She was actually able to exactly tell me what the code was doing... without ever learning about programming. I doubt this would have been possible with D code. Happy programming Stephan Soller

Re: Why Ruby?

2010-12-13 Thread Stephan Soller
or lol in rofl.copter spam end This gets rewritten to rofl.copter.each do |lol| spam end As far as I know this is a construct for ease transition from C to Ruby but is not used very much. Blocks are used very often in Ruby so using a for-loop is kind of inconsistent style. Happy programming Stephan Soller

Re: Insight into the DMD back-end

2010-12-08 Thread Stephan
On 07.12.2010 12:49, Walter Bright wrote: Stephan wrote: On 07.12.2010 11:52, Walter Bright wrote: Stephan wrote: I often ran into this strange behaviour when using -O optimization without knowing where it came from and it is so disturbing when i think of people newly getting interested in D

Re: Insight into the DMD back-end

2010-12-07 Thread Stephan
On 07.12.2010 11:52, Walter Bright wrote: Stephan wrote: I often ran into this strange behaviour when using -O optimization without knowing where it came from and it is so disturbing when i think of people newly getting interested in D making the experience when trying to compare it with C/C

Re: Insight into the DMD back-end

2010-12-07 Thread Stephan
making the experience when trying to compare it with C/C++ and then finding out the optimization makes strange things. I think out of a image perspective such bugs must be high priority, ESPECIALLY if it lies there for 25years already. Regards, Stephan

Re: [review] new string type

2010-12-01 Thread stephan
There's one other issue that should be considered at some stage: normalization and the fact that a single "character" can be constructed from several code points. (acutes and such) This is my next little project. May build on Steve's job. (But it's not necessary, dchar is enough as a base,

Re: [challenge] can you break wstring's back?

2010-11-24 Thread stephan
Am 24.11.2010 04:08, schrieb Steven Schveighoffer: I am working on a string implementation that enforces the correct restrictions on a string (bi-directional range, etc), and I came across what I feel is a bug. However, I don't know enough about utf to construct a test case to prove it wrong. I

Re: Compiler optimization breaks multi-threaded code

2010-11-17 Thread stephan
atomicOp uses a CAS loop for the RMW operations. Ignore my comment. I should have looked at the code in core.atomic before commenting. I just had one test case with atomicOp!("+=") that worked, and assumed that atomicOp!("+=") was implemented with "lock xadd". I'm thinking of exposing atomicS

Re: Compiler optimization breaks multi-threaded code

2010-11-16 Thread stephan
epared to live with the risk of starvation (and remove turn2). If the compiler would still re-order (haven't tested), cnt++ would be outside of the critical section. Hope this helps & cheers, Stephan

Re: Ddoc to PDF

2010-10-19 Thread Stephan Soller
t a layout engine. [1]: http://www.princexml.com/ Happy programming Stephan

Re: First big PITA in reallife D project

2010-10-19 Thread Stephan
On 19.10.2010 15:27, Steven Schveighoffer wrote: On Tue, 19 Oct 2010 08:35:09 -0400, Stephan wrote: Thanks for the reply and that you gonna take a look. I added the relation of bug http://d.puremagic.com/issues/show_bug.cgi?id=4344 to the bug aswell because it reallys seems to have the same

Re: First big PITA in reallife D project

2010-10-19 Thread Stephan
On 19.10.2010 14:22, Steven Schveighoffer wrote: On Tue, 19 Oct 2010 07:33:29 -0400, Stephan wrote: Hey guys I wanted to discuss my first major depressing experience with D in a reallife project. First off here is the according bug report : http://d.puremagic.com/issues/show_bug.cgi?id=4951

First big PITA in reallife D project

2010-10-19 Thread Stephan
this time and that makes me sad. - Stephan (Sorry for reposting but it belongs to this NG and not the Announcement NG)

Re: Tuple literal syntax

2010-10-10 Thread Stephan Soller
t kinds of tuples. However I'm not sure about the details (e.g. how would such structures handle type or alias contents). Happy programming Stephan

Re: Well, it's been a total failure

2010-09-15 Thread Stephan
On 15.09.2010 00:10, chmod+x wrote: Walter Bright Wrote: Steven Schveighoffer wrote: I'm not sure what this does, I really *really* hope it doesn't set the attrs of all files to a+x. You can download the new beta and see how it worked! Now it works. However, you're wasting bandwidth becaus

Re: Bizprac database.. Urgent

2010-09-09 Thread Stephan
On 08.09.2010 18:16, Simen kjaeraas wrote: retard wrote: Wed, 08 Sep 2010 15:20:52 +0200, BLS wrote: Wrong target audience? Nein, wir sprechen ja hier alle Deutsch, ja? echt hier sprechen alle Deutsch ? gut zu wissen ;)

Re: Unit tests in libraries?

2010-08-17 Thread Stephan
Yeah unittests in compiled static librarys do not work as of dmd2048 right now. please file a bug report with that code. On 17.08.2010 04:24, Mike Linford wrote: On Mon, 16 Aug 2010 17:38:28 -0700, Walter Bright wrote: Mike Linford wrote: Is it working as it should by not including the un

Re: updated OpenCL headers

2010-07-26 Thread Stephan
i hope this one gets into the next dmd release.

Re: updated OpenCL headers

2010-07-26 Thread Stephan
On 26.07.2010 00:57, Trass3r wrote: cool, thanks for the updates Made substantial further changes. Which platform are you working on? If it is non-Windows please report whether it works. If you write sample code using cl4d resp. the underlying bindings please also submit to me (via bitbucket).

Re: "Rust" language

2010-07-08 Thread Stephan
On 09.07.2010 03:14, bearophile wrote: It allows to use both mutable and immutable data, the default is immutable. This i like the most about it, back when D2 introduced immutable i hoped we could get immutable-by-default too ;(

Re: std.container / tightArray / class (de)allocators

2010-06-16 Thread Stephan
On 16.06.2010 11:39, Lars T. Kyllingstad wrote: On Wed, 16 Jun 2010 10:04:05 +0200, Stephan wrote: Btw. I downloaded the new dmd(2047) and tried to use this new Array template. But it does not seem to work: import std.container; void main() { Array!(int) a; } //src\phobos\std

Re: Signed word lengths and indexes

2010-06-16 Thread Stephan
On 15.06.2010 19:41, Walter Bright wrote: 3. The compiler could be easily modified to add a switch that prevents such features from being used. This is no different from the customizations done to C compilers for kernel dev. Why not make such a change in a future release of the official version

Re: std.container / tightArray / class (de)allocators

2010-06-16 Thread Stephan
On 16.06.2010 08:59, Andrei Alexandrescu wrote: Robert M. Münch wrote: On 2010-06-15 09:49:29 +0200, Robert M. Münch said: Hi, since std.container is now part of the DMD compiler and class allocators/deallocaters are no longer part of the language, the way to go now, as far as I understand now

profiling in heavily concurrent D2

2010-01-25 Thread Stephan
As the manual states the profiler in dmd does not support multithreaded applications, i suggest to change that sometime soon since D2 is targeting concurrent application development in particular. Walter, where does that profiler come from and is it possible/hard to make it threadsafe ?