Re: Trouble with Cortex-M Hello World

2015-04-03 Thread Jens Bauer via Digitalmars-d
On Friday, 3 April 2015 at 08:06:03 UTC, Jens Bauer wrote: I better also mention that the problem is the same for floats in Lexer::inreal(Token *). Ignore that - it's always read/written as a long double. Sorry for then noise.

Re: Named unittests

2015-04-03 Thread Jacob Carlborg via Digitalmars-d
On 2015-04-02 22:31, Dicebot wrote: I don't think anyone is going to put those in a same inline style as unittest blocks, so this is not truly relevant. At least I hope so. You mean inline with the code it tests? No, I hope so too. I put my unit tests in separate files as well, but that's

Re: Mid-term vision review

2015-04-03 Thread Guillaume Chatelet via Digitalmars-d
On Thursday, 2 April 2015 at 22:44:56 UTC, Andrei Alexandrescu wrote: It's the end of Q1. Walter and I reviewed our vision document. We're staying the course with one important addition: switching to ddmd, hopefully with 2.068. http://wiki.dlang.org/Vision/2015H1 Andrei Regarding C++

Mistake of opening of a file having a name in cp1251.

2015-04-03 Thread MGW via Digitalmars-d-learn
Greetings to all! I work on Windows with cp1251 and I have a mistake in the program: import std.stdio; int main (string [] args) { string nameFile = `«Ёлки с объектами №876».txt`; File f = File (nameFile, w); f.writeln (Greetings!); return 0; } This mistake of a kind:

[Issue 14402] New: std.conv.emplace for classes segfaults for nested class

2015-04-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14402 Issue ID: 14402 Summary: std.conv.emplace for classes segfaults for nested class Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW

[Issue 14402] std.conv.emplace for classes segfaults for nested class

2015-04-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14402 Matt Kline mkline.o...@gmail.com changed: What|Removed |Added CC||mkline.o...@gmail.com --

[Issue 14397] dmd: Provide full source range for compiler errors [enhancement]

2015-04-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14397 Jacob Carlborg d...@me.com changed: What|Removed |Added CC||d...@me.com --- Comment #1 from

Re: Mistake of opening of a file having a name in cp1251.

2015-04-03 Thread Danny via Digitalmars-d-learn
According to the documentation https://msdn.microsoft.com/de-de/library/yeby3zcb.aspx, _wfopen already takes a wide-character string, not an ANSI string. So return _wfopen(name.tempCStringW(), mode.tempCStringW()); would be the correct way. All these weird ansi versions are Windows

[Issue 14401] typeid(shared X).init is empty for class types

2015-04-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14401 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC|

[Issue 10606] DMD Exit code 139

2015-04-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10606 Daniel Kozak kozz...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

linking C library with D, creating a OpenVG D port

2015-04-03 Thread ddos via Digitalmars-d-learn
hi! i'm trying to run OpenVG examples in D. So far i have compiled ShivaVG (an implementation of OpenVG standard) in C++ and created a shared library. Now i'd like to link my OpenVG.lib with a D program. (the library was compiled with msvc2013x86, i'd like to avoid switching compiler) to

Re: Mid-term vision review

2015-04-03 Thread Dennis Ritchie via Digitalmars-d
On Thursday, 2 April 2015 at 22:44:56 UTC, Andrei Alexandrescu wrote: It's the end of Q1. Walter and I reviewed our vision document. We're staying the course with one important addition: switching to ddmd, hopefully with 2.068. http://wiki.dlang.org/Vision/2015H1 Andrei Are there any

Re: Dgame RC #1

2015-04-03 Thread Namespace via Digitalmars-d-announce
On Friday, 3 April 2015 at 04:55:42 UTC, Mike Parker wrote: On Thursday, 2 April 2015 at 09:38:05 UTC, Namespace wrote: Dgame is based on SDL 2.0.3 (as described in the installation tutorial), but tries to wrap any function call which is introduced after SDL 2.0.0: static if

[Issue 14340] AssertError in std.algorithm.sorting: unstable sort fails to sort an array with a custom predicate

2015-04-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14340 Ivan Kazmenko ga...@mail.ru changed: What|Removed |Added Severity|major |critical --- Comment #1 from

Re: Mid-term vision review

2015-04-03 Thread Andrea Fontana via Digitalmars-d
It would be great to have dmd on embedded platforms. On Thursday, 2 April 2015 at 22:44:56 UTC, Andrei Alexandrescu wrote: It's the end of Q1. Walter and I reviewed our vision document. We're staying the course with one important addition: switching to ddmd, hopefully with 2.068.

D, Python, and Chapel

2015-04-03 Thread Russel Winder via Digitalmars-d
Chapel 1.11 just got release and they are making a big play on the integration of Chapel with Python. This could be huge and potentially disrupt the complacency of the NumPy based folk. Chapel is a rather pleasant PGAS language that makes parallelism and clustering quite nice. Certainly if the

Re: Mid-term vision review

2015-04-03 Thread Joakim via Digitalmars-d
On Thursday, 2 April 2015 at 22:44:56 UTC, Andrei Alexandrescu wrote: It's the end of Q1. Walter and I reviewed our vision document. We're staying the course with one important addition: switching to ddmd, hopefully with 2.068. http://wiki.dlang.org/Vision/2015H1 That's great news, looking

[Issue 14395] default value collapsed (dmd2.067)

2015-04-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14395 ag0ae...@gmail.com changed: What|Removed |Added CC||ag0ae...@gmail.com --- Comment #2 from

Re: Trouble with Cortex-M Hello World

2015-04-03 Thread Daniel Murphy via Digitalmars-d
Jens Bauer wrote in message news:ckqcspcptqazbawds...@forum.dlang.org... Well, it seems I found the problem. lexer.h, line 203 reads: Yeah, I thought it might be that. Looking for union-tricks, I also found ... stringtable.c:24 hash will not be the same value on Big Endian, Mixed Endian

Re: Mistake of opening of a file having a name in cp1251.

2015-04-03 Thread MGW via Digitalmars-d-learn
The decision, which I have applied using function fromUtf8toAnsiW() already works correctly. I use dmd 2.067.0

Re: Trouble with Cortex-M Hello World

2015-04-03 Thread Jens Bauer via Digitalmars-d
Well, it seems I found the problem. lexer.h, line 203 reads: union { d_int32 int32value; d_uns32 uns32value; d_int64 int64value; d_uns64 uns64value; ... ... ... }; While this optimization is neat, it does not produce correct

Re: Trouble with Cortex-M Hello World

2015-04-03 Thread Jens Bauer via Digitalmars-d
I better also mention that the problem is the same for floats in Lexer::inreal(Token *).

Re: extending 'import' using 'with'

2015-04-03 Thread Jacob Carlborg via Digitalmars-d
On 2015-04-02 21:21, weaselcat wrote: no this is the reason java is unusable without an IDE. Yeah, in a Java IDE it would automatically add the missing imports. -- /Jacob Carlborg

[Issue 14402] std.conv.emplace segfaults for nested class

2015-04-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14402 Matt Kline mkline.o...@gmail.com changed: What|Removed |Added Summary|std.conv.emplace for|std.conv.emplace segfaults

Re: linking C library with D, creating a OpenVG D port

2015-04-03 Thread ddos via Digitalmars-d-learn
progress ... i think in some forum posts i've read 64bit dmd uses a differnt linker which supports coff atleast i can now link my app in 64bit mode without errors dmd -m64 source/app.d OpenVG.lib also an exported test function prints to stdout, so my problem is solved for x64 :) if anyone

Re: linking C library with D, creating a OpenVG D port

2015-04-03 Thread Rikki Cattermole via Digitalmars-d-learn
On 4/04/2015 1:00 a.m., ddos wrote: progress ... i think in some forum posts i've read 64bit dmd uses a differnt linker which supports coff atleast i can now link my app in 64bit mode without errors dmd -m64 source/app.d OpenVG.lib also an exported test function prints to stdout, so my problem

[Issue 14399] std.json cannot parse its own output for nan

2015-04-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14399 ag0ae...@gmail.com changed: What|Removed |Added Keywords||pull CC|

Re: Making regex replace CTFE by removing malloc

2015-04-03 Thread Pierre Krafft via Digitalmars-d
On Friday, 3 April 2015 at 03:58:33 UTC, ketmar wrote: On Thu, 02 Apr 2015 17:14:24 +, Pierre Krafft wrote: What can replace malloc that can run on compile time and won't make it slower at run time? this is actually two questions, so i'll answer to two questions. 1. What can replace

Re: Typeinfo

2015-04-03 Thread Steven Schveighoffer via Digitalmars-d
On 4/2/15 8:21 PM, Andrei Alexandrescu wrote: Hey folks, is there any way to figure out whether a type is immutable or shared given its typeinfo? I see there's only the flags() method that doesn't tell that. I'm thinking we'd do good to extend that. This is needed for allocators. I'm thinking

Re: Mistake of opening of a file having a name in cp1251.

2015-04-03 Thread Steven Schveighoffer via Digitalmars-d-learn
On 4/3/15 2:26 AM, MGW wrote: Greetings to all! I work on Windows with cp1251 and I have a mistake in the program: import std.stdio; int main (string [] args) { string nameFile = `«Ёлки с объектами №876».txt`; File f = File (nameFile, w); f.writeln (Greetings!); return 0; }

[Issue 14207] [REG2.065] [CTFE] ICE on unsupported reinterpret cast in compile time

2015-04-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14207 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Summary|[REG2.065] Assertion|[REG2.065] [CTFE] ICE on

Placing variable/array in a particular section

2015-04-03 Thread Jens Bauer via Digitalmars-d-learn
Today I finally succeeded in building my first Hello World D program (after fixing the endian problem). Is there a way of setting the target section for a variable or an array ? Eg. the equivalent way of doing this using gcc is: __attribute__((section(.isr_vector))) VectorFunc

Re: D1 operator overloading in D2

2015-04-03 Thread Steven Schveighoffer via Digitalmars-d-learn
On 3/30/15 11:25 AM, Steven Schveighoffer wrote: I'll put in a doc PR to reference the D1 documentation. https://github.com/D-Programming-Language/dlang.org/pull/953 -Steve

Re: Making regex replace CTFE by removing malloc

2015-04-03 Thread Pierre Krafft via Digitalmars-d
On Friday, 3 April 2015 at 03:58:33 UTC, ketmar wrote: On Thu, 02 Apr 2015 17:14:24 +, Pierre Krafft wrote: What can replace malloc that can run on compile time and won't make it slower at run time? this is actually two questions, so i'll answer to two questions. 1. What can replace

Re: Mid-term vision review

2015-04-03 Thread Andrei Alexandrescu via Digitalmars-d
On 4/3/15 1:30 AM, Guillaume Chatelet wrote: On Thursday, 2 April 2015 at 22:44:56 UTC, Andrei Alexandrescu wrote: It's the end of Q1. Walter and I reviewed our vision document. We're staying the course with one important addition: switching to ddmd, hopefully with 2.068.

Re: Mid-term vision review

2015-04-03 Thread Andrei Alexandrescu via Digitalmars-d
On 4/3/15 3:10 AM, Andrea Fontana wrote: It would be great to have dmd on embedded platforms. I agree. We just don't have the champion for that yet. -- Andrei

Re: Trouble with Cortex-M Hello World

2015-04-03 Thread John Colvin via Digitalmars-d
On Friday, 3 April 2015 at 14:39:35 UTC, Jens Bauer wrote: On Friday, 3 April 2015 at 14:22:43 UTC, Kai Nacke wrote: On Wednesday, 1 April 2015 at 13:59:34 UTC, Johannes Pfau wrote: I'm not sure if anybody ever used GDC/DMD/LDC on a big-endian system. LDC is endian-clean. I used LDC on

Re: D, Python, and Chapel

2015-04-03 Thread David Gileadi via Digitalmars-d
On 4/3/15 6:36 AM, Gary Willoughby wrote: Chapel overview: http://chapel.cray.com/overview.html Their hello world examples do a fantastic job of illustrating their main selling point. My hat's off to whoever put that on their site. D may have difficulty coming up with something like that,

Re: Trouble with Cortex-M Hello World

2015-04-03 Thread Jens Bauer via Digitalmars-d
On Friday, 3 April 2015 at 14:22:43 UTC, Kai Nacke wrote: On Wednesday, 1 April 2015 at 13:59:34 UTC, Johannes Pfau wrote: I'm not sure if anybody ever used GDC/DMD/LDC on a big-endian system. LDC is endian-clean. I used LDC on big-endian Linux/PPC64. Unfortunately, I can't b uild LLVM on

Re: Trouble with Cortex-M Hello World

2015-04-03 Thread Johannes Pfau via Digitalmars-d
Am Fri, 03 Apr 2015 07:32:21 + schrieb Jens Bauer doc...@who.no: Well, it seems I found the problem. lexer.h, line 203 reads: union { d_int32 int32value; d_uns32 uns32value; d_int64 int64value; d_uns64 uns64value; ...

Re: Escape codes are not 100% portable

2015-04-03 Thread na via Digitalmars-d
You can convert to host encoding, gets more interesting if you have worked with data from 390's. Anyway here is the Newline reference from Unicode. http://www.unicode.org/versions/Unicode4.0.0/ch05.pdf#G10213 na On Thursday, 2 April 2015 at 13:57:32 UTC, Steven Schveighoffer wrote: On

Re: unittests are really part of the build, not a special run

2015-04-03 Thread Jacob Carlborg via Digitalmars-d
On 2015-04-02 21:11, Ary Borenszweig wrote: We can. But then it becomes harder to understand what's going on. In RSpec I don't quite understand what's going on really, and I like a bit of magic but not too much of it. It's quite straightforward to implement, in Ruby as least. Something like

[Issue 14403] New: DDox: std.algorithm index links are 404

2015-04-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14403 Issue ID: 14403 Summary: DDox: std.algorithm index links are 404 Product: D Version: D2 Hardware: All URL: http://dlang.org/library/std/algorithm.html OS: All

[Issue 14399] std.json cannot parse its own output for nan

2015-04-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14399 bb.t...@gmx.com changed: What|Removed |Added CC||bb.t...@gmx.com --- Comment #1 from

Re: Redirecting dead links on the website

2015-04-03 Thread w0rp via Digitalmars-d
On Thursday, 2 April 2015 at 04:38:50 UTC, Martin Nowak wrote: On Wednesday, 1 April 2015 at 21:20:49 UTC, w0rp wrote: We sould track down the old links and redirect to the new documentation pages. Working on a fix, will hopefully be deployed tomorrow.

Re: Trouble with Cortex-M Hello World

2015-04-03 Thread Jens Bauer via Digitalmars-d
On Friday, 3 April 2015 at 16:11:59 UTC, Iain Buclaw wrote: On 3 April 2015 at 17:58, Jens Bauer via Digitalmars-d Basically because it requires GCC 4.2 - but unfortunately there's more. Once upon a time, LLVM did support being built with GCC 4.2, but I can't get those sources anymore, so I

Re: Mid-term vision review

2015-04-03 Thread David Nadlinger via Digitalmars-d
On Friday, 3 April 2015 at 15:07:57 UTC, Andrei Alexandrescu wrote: On 4/3/15 3:10 AM, Andrea Fontana wrote: It would be great to have dmd on embedded platforms. I agree. We just don't have the champion for that yet. -- Andrei I might obviously be biased, but to be honest I don't see much

Re: Mid-term vision review

2015-04-03 Thread Dennis Ritchie via Digitalmars-d
On Friday, 3 April 2015 at 16:03:11 UTC, Joakim wrote: On Friday, 3 April 2015 at 11:04:36 UTC, Dennis Ritchie wrote: Are there any plans for the creation of a powerful AST-macro system in D? http://wiki.dlang.org/DIP50 No, Walter and Andrei are against it:

Re: Reggae v0.0.5 super alpha: A build system in D

2015-04-03 Thread Atila Neves via Digitalmars-d-announce
On Friday, 3 April 2015 at 17:10:33 UTC, Dicebot wrote: On Friday, 3 April 2015 at 17:03:35 UTC, Atila Neves wrote: . Separate compilation. One file changes, only one file gets rebuilt This immediately has caught my eye as huge no in the description. We must ban C style separate compilation,

Re: Redirecting dead links on the website

2015-04-03 Thread w0rp via Digitalmars-d
On Wednesday, 1 April 2015 at 23:23:27 UTC, Martin Nowak wrote: I might look into that, it's quite some work though. Can we feed them the sitemap instead? http://dlang.org/library/sitemap.xml It looks like the sitemap has the IPv4 localhost IP address in it, instead of the site's domain name.

Re: Trouble with Cortex-M Hello World

2015-04-03 Thread David Nadlinger via Digitalmars-d
On Friday, 3 April 2015 at 15:58:03 UTC, Jens Bauer wrote: Basically because it requires GCC 4.2 - but unfortunately there's more. Once upon a time, LLVM did support being built with GCC 4.2, but I can't get those sources anymore, so I can't get a 'bootstrap LLVM' that way. Can't you just

Re: Trouble with Cortex-M Hello World

2015-04-03 Thread Jens Bauer via Digitalmars-d
On Friday, 3 April 2015 at 16:39:40 UTC, David Nadlinger wrote: On Friday, 3 April 2015 at 15:58:03 UTC, Jens Bauer wrote: Basically because it requires GCC 4.2 - but unfortunately there's more. Once upon a time, LLVM did support being built with GCC 4.2, but I can't get those sources

C++ to D - recursion with std.variant

2015-04-03 Thread Dennis Ritchie via Digitalmars-d-learn
Hi, Is it possible to write on D recursion using std.variant? - #include boost/variant.hpp #include iostream struct Nil {}; auto nil = Nil{}; template typename T struct Cons; template typename T using List = boost::variantNil, boost::recursive_wrapperConsT; template typename T struct

[Issue 14395] [REG2.067] Typesafe variadic function call collapsed if being used for default value

2015-04-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14395 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull, wrong-code

[Issue 14341] [REG 2.067] Crash with -O -release -inline after sort and map!(to!string)

2015-04-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14341 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

Re: Reggae v0.0.5 super alpha: A build system in D

2015-04-03 Thread Atila Neves via Digitalmars-d-announce
On Friday, 3 April 2015 at 17:13:41 UTC, Dicebot wrote: Also I don't see any point in yet another meta build system. The very point of initial discussion was about getting D only cross-platform solution that won't require installing any additional software but working D compiler. I was also

Re: Mid-term vision review

2015-04-03 Thread Joakim via Digitalmars-d
On Friday, 3 April 2015 at 11:04:36 UTC, Dennis Ritchie wrote: Are there any plans for the creation of a powerful AST-macro system in D? http://wiki.dlang.org/DIP50 No, Walter and Andrei are against it:

Re: Trouble with Cortex-M Hello World

2015-04-03 Thread Iain Buclaw via Digitalmars-d
On 3 April 2015 at 17:58, Jens Bauer via Digitalmars-d digitalmars-d@puremagic.com wrote: On Friday, 3 April 2015 at 15:41:34 UTC, David Nadlinger wrote: On Friday, 3 April 2015 at 14:39:35 UTC, Jens Bauer wrote: Unfortunately, I can't b uild LLVM on my PowerMac. :/ Why would that be so?

Reggae v0.0.5 super alpha: A build system in D

2015-04-03 Thread Atila Neves via Digitalmars-d-announce
I wanted to work on this a little more before announcing it, but it seems I'm going to be busy working on trying to get unit-threaded into std.experimental so here it is: http://code.dlang.org/packages/reggae If you're wondering about the name, it's because it's supposed to build on dub.

Re: Reggae v0.0.5 super alpha: A build system in D

2015-04-03 Thread Dicebot via Digitalmars-d-announce
On Friday, 3 April 2015 at 17:03:35 UTC, Atila Neves wrote: . Separate compilation. One file changes, only one file gets rebuilt This immediately has caught my eye as huge no in the description. We must ban C style separate compilation, there is simply no way to move forward otherwise. At

Re: D, Python, and Chapel

2015-04-03 Thread Paulo Pinto via Digitalmars-d
On Friday, 3 April 2015 at 15:34:05 UTC, John Colvin wrote: On Friday, 3 April 2015 at 10:18:11 UTC, Russel Winder wrote: Chapel 1.11 just got release and they are making a big play on the integration of Chapel with Python. This could be huge and potentially disrupt the complacency of the

Re: Reggae v0.0.5 super alpha: A build system in D

2015-04-03 Thread Dicebot via Digitalmars-d-announce
Also I don't see any point in yet another meta build system. The very point of initial discussion was about getting D only cross-platform solution that won't require installing any additional software but working D compiler.

Re: Typeinfo

2015-04-03 Thread Andrei Alexandrescu via Digitalmars-d
On 4/3/15 4:53 AM, Steven Schveighoffer wrote: On 4/2/15 8:21 PM, Andrei Alexandrescu wrote: Hey folks, is there any way to figure out whether a type is immutable or shared given its typeinfo? I see there's only the flags() method that doesn't tell that. I'm thinking we'd do good to extend

Re: Mid-term vision review

2015-04-03 Thread Andrei Alexandrescu via Digitalmars-d
On 4/3/15 4:04 AM, Dennis Ritchie wrote: On Thursday, 2 April 2015 at 22:44:56 UTC, Andrei Alexandrescu wrote: It's the end of Q1. Walter and I reviewed our vision document. We're staying the course with one important addition: switching to ddmd, hopefully with 2.068.

Re: Mid-term vision review

2015-04-03 Thread deadalnix via Digitalmars-d
On Friday, 3 April 2015 at 17:51:00 UTC, Andrei Alexandrescu wrote: On 4/3/15 4:04 AM, Dennis Ritchie wrote: On Thursday, 2 April 2015 at 22:44:56 UTC, Andrei Alexandrescu wrote: It's the end of Q1. Walter and I reviewed our vision document. We're staying the course with one important

Re: I submitted my container library to code.dlang.org

2015-04-03 Thread w0rp via Digitalmars-d
On Wednesday, 1 April 2015 at 06:31:28 UTC, thedeemon wrote: On Tuesday, 31 March 2015 at 21:17:04 UTC, Martin Nowak wrote: Robin Hood sounds like a good idea, but it really isn't. Keep your load factor reasonable and distribute values evenly, then you don't need a LRU lookup. Is there a D

Re: Trouble with Cortex-M Hello World

2015-04-03 Thread Jens Bauer via Digitalmars-d
On Friday, 3 April 2015 at 17:05:28 UTC, John Colvin wrote: There is universal binary of LLVM 2.1 with clang (llvm-gcc back then I think) available here: http://llvm.org/releases/2.1/llvm-llvm-gcc4.0-2.1-darwin-univ.tar.gz Thank you so much; I'll try it immediately. I don't know why I

Re: Reggae v0.0.5 super alpha: A build system in D

2015-04-03 Thread Dicebot via Digitalmars-d-announce
On Friday, 3 April 2015 at 17:17:50 UTC, Atila Neves wrote: On Friday, 3 April 2015 at 17:13:41 UTC, Dicebot wrote: Also I don't see any point in yet another meta build system. The very point of initial discussion was about getting D only cross-platform solution that won't require installing

Re: I submitted my container library to code.dlang.org

2015-04-03 Thread w0rp via Digitalmars-d
On Friday, 3 April 2015 at 16:12:00 UTC, w0rp wrote: On Wednesday, 1 April 2015 at 06:31:28 UTC, thedeemon wrote: On Tuesday, 31 March 2015 at 21:17:04 UTC, Martin Nowak wrote: Robin Hood sounds like a good idea, but it really isn't. Keep your load factor reasonable and distribute values

Re: Mid-term vision review

2015-04-03 Thread w0rp via Digitalmars-d
On Thursday, 2 April 2015 at 22:44:56 UTC, Andrei Alexandrescu wrote: It's the end of Q1. Walter and I reviewed our vision document. We're staying the course with one important addition: switching to ddmd, hopefully with 2.068. http://wiki.dlang.org/Vision/2015H1 Andrei I'm glad to see

[Issue 14368] stdio.rawRead underperforms stdio

2015-04-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14368 --- Comment #1 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/e741c24f8578498be6b11bcc76e150b4f001be3a Fix Issue 14368 -

[Issue 14368] stdio.rawRead underperforms stdio

2015-04-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14368 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

Re: Reggae v0.0.5 super alpha: A build system in D

2015-04-03 Thread Dicebot via Digitalmars-d-announce
On Friday, 3 April 2015 at 17:59:22 UTC, Atila Neves wrote: Well, I took your advice (and one of my acceptance tests is based off of your simplified real-work example) and started with the low-level any-command-will-do API first. I built the high-level ones on top of that. It doesn't seem

Re: Digger 1.1

2015-04-03 Thread Robert M. Münch via Digitalmars-d-announce
On 2015-03-18 12:14:01 +, Vladimir Panteleev said: I've pushed support for DMD bootstrapping, so if you need to build master now, build latest Digger from source. I'll make a binary release after 2.067 is out. Any news on this? And will there by COFF32 support as well? -- Robert M.

Re: Mid-term vision review

2015-04-03 Thread w0rp via Digitalmars-d
On Friday, 3 April 2015 at 16:41:14 UTC, David Nadlinger wrote: On Friday, 3 April 2015 at 15:07:57 UTC, Andrei Alexandrescu wrote: On 4/3/15 3:10 AM, Andrea Fontana wrote: It would be great to have dmd on embedded platforms. I agree. We just don't have the champion for that yet. -- Andrei

Re: Trouble with Cortex-M Hello World

2015-04-03 Thread John Colvin via Digitalmars-d
On Friday, 3 April 2015 at 15:58:03 UTC, Jens Bauer wrote: On Friday, 3 April 2015 at 15:41:34 UTC, David Nadlinger wrote: On Friday, 3 April 2015 at 14:39:35 UTC, Jens Bauer wrote: Unfortunately, I can't b uild LLVM on my PowerMac. :/ Why would that be so? Basically because it requires

Re: Reggae v0.0.5 super alpha: A build system in D

2015-04-03 Thread Dicebot via Digitalmars-d-announce
On Friday, 3 April 2015 at 17:25:51 UTC, Ben Boeckel wrote: On Fri, Apr 03, 2015 at 17:10:31 +, Dicebot via Digitalmars-d-announce wrote: On Friday, 3 April 2015 at 17:03:35 UTC, Atila Neves wrote: . Separate compilation. One file changes, only one file gets rebuilt This immediately

Re: I submitted my container library to code.dlang.org

2015-04-03 Thread thedeemon via Digitalmars-d
On Friday, 3 April 2015 at 16:12:00 UTC, w0rp wrote: Is there a D version of a hash table with open addressing and quadratic probing? Now there is. https://github.com/w0rp/dstruct/blob/master/source/dstruct/map.d Great! I'll experiment with it and do some comparisons.

[Issue 14398] Segfault when nested struct in static array accesses context

2015-04-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14398 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull, wrong-code ---

Re: Trouble with Cortex-M Hello World

2015-04-03 Thread Jens Bauer via Digitalmars-d
On Friday, 3 April 2015 at 15:41:34 UTC, David Nadlinger wrote: On Friday, 3 April 2015 at 14:39:35 UTC, Jens Bauer wrote: Unfortunately, I can't b uild LLVM on my PowerMac. :/ Why would that be so? Basically because it requires GCC 4.2 - but unfortunately there's more. Once upon a time,

Re: Typeinfo

2015-04-03 Thread Dicebot via Digitalmars-d
On Friday, 3 April 2015 at 17:51:33 UTC, Andrei Alexandrescu wrote: Thanks Adam and Steve. Guess I should have asked this in the learn forum :o). -- Andrei Yeah, I have totally expected some revolutionary proposal for RTTI improvement in D from you when opening the topic :( You have broken

Re: Reggae v0.0.5 super alpha: A build system in D

2015-04-03 Thread Atila Neves via Digitalmars-d-announce
On Friday, 3 April 2015 at 17:40:42 UTC, Dicebot wrote: On Friday, 3 April 2015 at 17:17:50 UTC, Atila Neves wrote: On Friday, 3 April 2015 at 17:13:41 UTC, Dicebot wrote: Also I don't see any point in yet another meta build system. The very point of initial discussion was about getting D only

Re: Reggae v0.0.5 super alpha: A build system in D

2015-04-03 Thread Dicebot via Digitalmars-d-announce
On Friday, 3 April 2015 at 17:22:42 UTC, Atila Neves wrote: On Friday, 3 April 2015 at 17:10:33 UTC, Dicebot wrote: On Friday, 3 April 2015 at 17:03:35 UTC, Atila Neves wrote: . Separate compilation. One file changes, only one file gets rebuilt This immediately has caught my eye as huge no

Re: Reggae v0.0.5 super alpha: A build system in D

2015-04-03 Thread Atila Neves via Digitalmars-d-announce
On Friday, 3 April 2015 at 17:55:00 UTC, Dicebot wrote: On Friday, 3 April 2015 at 17:25:51 UTC, Ben Boeckel wrote: On Fri, Apr 03, 2015 at 17:10:31 +, Dicebot via Digitalmars-d-announce wrote: On Friday, 3 April 2015 at 17:03:35 UTC, Atila Neves wrote: . Separate compilation. One file

Re: Reggae v0.0.5 super alpha: A build system in D

2015-04-03 Thread Jacob Carlborg via Digitalmars-d-announce
On 2015-04-03 20:06, Atila Neves wrote: Interesting. It's true that it's not always faster to compile each module separately, I already knew that. It seems to me, however, that when that's actually the case, the practical difference is negligible. Even if 10x slower, the linker will take

Issue with free() for linked list implementation

2015-04-03 Thread Kitt via Digitalmars-d-learn
Hello. I’m trying to write my own version of a list that doesn’t rely on the garbage collector. I’m working on a very bare bones implementation using malloc and free, but I’m running into an exception when I attempt to call free. Here is a very minimal code sample to illustrate the issue: //

[Issue 14401] typeid(shared X).init is empty for class types

2015-04-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14401 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull, wrong-code

Re: Reggae v0.0.5 super alpha: A build system in D

2015-04-03 Thread weaselcat via Digitalmars-d-announce
On Friday, 3 April 2015 at 19:07:09 UTC, Jacob Carlborg wrote: On 2015-04-03 20:06, Atila Neves wrote: Interesting. It's true that it's not always faster to compile each module separately, I already knew that. It seems to me, however, that when that's actually the case, the practical

Re: Reggae v0.0.5 super alpha: A build system in D

2015-04-03 Thread Jacob Carlborg via Digitalmars-d-announce
On 2015-04-03 19:03, Atila Neves wrote: I wanted to work on this a little more before announcing it, but it seems I'm going to be busy working on trying to get unit-threaded into std.experimental so here it is: http://code.dlang.org/packages/reggae One thing I noticed immediately (unless I'm

Re: Loading of widgets from DML markup and DML Editor in DlangUI

2015-04-03 Thread Bruno Deligny via Digitalmars-d-announce
If you are interested, we are doing a GUI system inspired by QtQuick/QMLEngine : https://github.com/D-Quick/DQuick

Re: Mid-term vision review

2015-04-03 Thread Andrei Alexandrescu via Digitalmars-d
On 4/3/15 9:41 AM, David Nadlinger wrote: On Friday, 3 April 2015 at 15:07:57 UTC, Andrei Alexandrescu wrote: On 4/3/15 3:10 AM, Andrea Fontana wrote: It would be great to have dmd on embedded platforms. I agree. We just don't have the champion for that yet. -- Andrei I might obviously be

Re: Reggae v0.0.5 super alpha: A build system in D

2015-04-03 Thread Dicebot via Digitalmars-d-announce
On Friday, 3 April 2015 at 19:08:58 UTC, weaselcat wrote: I just tried compiling one of my project. It has a makefile that does separate compilation and a shell script I use for unit testing which compiles everything in one go. The makefile takes 5.3 seconds, does not including linking since

Re: Reggae v0.0.5 super alpha: A build system in D

2015-04-03 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 4/3/15 12:07 PM, Jacob Carlborg wrote: On 2015-04-03 20:06, Atila Neves wrote: Interesting. It's true that it's not always faster to compile each module separately, I already knew that. It seems to me, however, that when that's actually the case, the practical difference is negligible.

Re: Reggae v0.0.5 super alpha: A build system in D

2015-04-03 Thread Dicebot via Digitalmars-d-announce
On Friday, 3 April 2015 at 18:06:42 UTC, Atila Neves wrote: All I know is I've seen a definite improvement in my edit-compile-unittest cycle by compiling modules separately. How would the decoupling happen? Is the user supposed to partition the binary into suitable static libraries? Or is the

[Issue 14327] Unhandled exception from writeln() in C++/D application

2015-04-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14327 --- Comment #7 from Szymon Gatner szymon.gat...@gmail.com --- Build started 2015-04-03 22:49:35. 1Project C:\Users\bravo\documents\visual studio 2012\Projects\CppDMix\CppDMix\CppDMix.vcxproj on node 2 (Build target(s)). 1ClCompile:

[Issue 14381] It is too difficult to contribute to the auto-tester

2015-04-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14381 Martin Nowak c...@dawg.eu changed: What|Removed |Added CC||c...@dawg.eu --- Comment #5 from

Re: Issue with free() for linked list implementation

2015-04-03 Thread Gary Willoughby via Digitalmars-d-learn
On Friday, 3 April 2015 at 22:08:52 UTC, Kitt wrote: Thanks for the help =) I guess I've been in C# land at work for way too long now, my low level C skills are evaporating! I've written a straight forward linked list implementation here:

Re: Redirecting dead links on the website

2015-04-03 Thread Martin Nowak via Digitalmars-d
On 04/03/2015 06:40 PM, w0rp wrote: I can probably help a little, if there's a bug list of things that need to be done, etc. Well, there is https://issues.dlang.org/buglist.cgi?component=websiteslist_id=199823query_format=advancedresolution=---, but it's mostly about documentation issues. I

Re: I submitted my container library to code.dlang.org

2015-04-03 Thread Martin Nowak via Digitalmars-d
On 04/03/2015 06:11 PM, w0rp wrote: Now, I am not the most fantastic Computer Science guy in the world, and I probably got a few things wrong. If anyone would like to look at my code and point out mistakes, please do. I will add any improvements suggested. You should use triangular numbers

Re: unittests are really part of the build, not a special run

2015-04-03 Thread Jacob Carlborg via Digitalmars-d
On 2015-04-02 23:46, Wyatt wrote: Dealing with it at work, I find it puts us scarily at the mercy of regexen in Ruby, which is unsettling to say the least. More pressingly, the plain English method of writing tests hinders my ability to figure out what the test is actually trying to do.

  1   2   >