Re: Why not promoting team work?

2017-01-13 Thread rikki cattermole via Digitalmars-d
The only way to get qualified to do these tasks like GUI toolkits is by doing. Keep this in mind. As somebody who does indeed do implement multiple libraries at one time you're looking at it the wrong way. I switch between projects over periods that last for years not days or weeks. The point

Re: Gui in D: I miss this project

2017-01-13 Thread rikki cattermole via Digitalmars-d
On 13/01/2017 9:04 PM, Vadim Lopatin wrote: On Wednesday, 11 January 2017 at 15:56:46 UTC, Chris Wright wrote: On Wed, 11 Jan 2017 07:21:22 +, thedeemon wrote: If you need some GUI, DLangUI is just a "dub build" away. How does DLangUI do with screen readers and magnifiers? From what I'm

Re: Gui in D: I miss this project

2017-01-09 Thread rikki cattermole via Digitalmars-d
On 10/01/2017 8:31 PM, Jacob Carlborg wrote: On 2017-01-10 02:05, rikki cattermole wrote: The thing right now that is holding me up is ogl_gen[2]. Binding generator for OpenGL with a slight twist, it includes actual documentation in the comments of symbols! If you're generating static binding

Re: Gui in D: I miss this project

2017-01-09 Thread rikki cattermole via Digitalmars-d
On 10/01/2017 10:41 AM, aberba wrote: This seemed to be an effort (among others) to bring GUI cross platform to standard D but some language/compiler/Phobos/Deimos/manpower issues were the drag. https://github.com/Devisualization We now have DLangUI. I wonder what the current drag is. Nice

Re: dmd download spike

2017-01-07 Thread rikki cattermole via Digitalmars-d
On 08/01/2017 1:57 AM, Benjiro wrote: On Saturday, 7 January 2017 at 02:58:03 UTC, rikki cattermole wrote: On 07/01/2017 3:56 PM, Joakim wrote: A giant spike in downloads recently, likely tied to the latest 2.072 release: http://erdani.com/d/downloads.daily.png Nice work everyone. A lot of

Re: dmd download spike

2017-01-06 Thread rikki cattermole via Digitalmars-d
On 07/01/2017 3:56 PM, Joakim wrote: A giant spike in downloads recently, likely tied to the latest 2.072 release: http://erdani.com/d/downloads.daily.png Nice work everyone. A lot of people have been holding out to play with D until Christmas FYI.

Re: What are you planning, D related, for 2017 ?

2017-01-02 Thread rikki cattermole via Digitalmars-d
On 03/01/2017 4:16 AM, Basile B. wrote: Write your plan here, and let's take a rendez-vous next year, to check those plans !! Lets see. 1. Finish my honors. 2. Get my assembly lib actually in a usable state 3. Get SPEW ready to go on multiple platforms 4. Have decent OpenGL bindings 5. Image l

Re: What are you planning, D related, for 2017 ?

2017-01-02 Thread rikki cattermole via Digitalmars-d
On 03/01/2017 7:17 AM, Basile B. wrote: On Monday, 2 January 2017 at 15:16:31 UTC, Basile B. wrote: Write your plan here, and let's take a rendez-vous next year, to check those plans !! My own plan is still related to runtime-info based serialization. I know that people inject the bloat each

Re: What are you planning for 2016?

2017-01-02 Thread rikki cattermole via Digitalmars-d
On 02/01/2017 9:51 PM, Basile B. wrote: On Tuesday, 5 January 2016 at 12:27:12 UTC, Ola Fosheim Grøstad wrote: I wonder what kind of programming people plan or _hope_ to use D for in 2016? Do you have plans to: 1. migrate legacy C++ code bases to D when C++ bindings are final? 2. integrate wi

Re: Databases and the D Standard Library

2017-01-01 Thread rikki cattermole via Digitalmars-d
On 02/01/2017 4:44 PM, Adam Wilson wrote: rikki cattermole wrote: On 02/01/2017 3:03 PM, Adam Wilson wrote: rikki cattermole wrote: On 01/01/2017 5:19 PM, Adam D. Ruppe wrote: On Sunday, 1 January 2017 at 03:51:52 UTC, rikki cattermole wrote: Which is fine if all you use is c's sockets or on

Re: Databases and the D Standard Library

2017-01-01 Thread rikki cattermole via Digitalmars-d
On 02/01/2017 3:03 PM, Adam Wilson wrote: rikki cattermole wrote: On 01/01/2017 5:19 PM, Adam D. Ruppe wrote: On Sunday, 1 January 2017 at 03:51:52 UTC, rikki cattermole wrote: Which is fine if all you use is c's sockets or only that database connection for a thread. The C drivers typically

Re: Databases and the D Standard Library

2016-12-31 Thread rikki cattermole via Digitalmars-d
On 01/01/2017 5:19 PM, Adam D. Ruppe wrote: On Sunday, 1 January 2017 at 03:51:52 UTC, rikki cattermole wrote: Which is fine if all you use is c's sockets or only that database connection for a thread. The C drivers typically offer handles of some sort (Windows HANDLE, *nix file descriptor, th

Re: Databases and the D Standard Library

2016-12-31 Thread rikki cattermole via Digitalmars-d
On 01/01/2017 4:46 PM, Adam Wilson wrote: On 12/31/16 7:31 PM, rikki cattermole wrote: We do indeed need a good database abstraction. But a core requirement for any implementation has yet to be met. There has to be a standard way for asynchronous sockets. To implement this we need to take into

Re: Databases and the D Standard Library

2016-12-31 Thread rikki cattermole via Digitalmars-d
We do indeed need a good database abstraction. But a core requirement for any implementation has yet to be met. There has to be a standard way for asynchronous sockets. To implement this we need to take into consideration the event loop that it uses and more importantly allow it to be integrate

Re: D future ...

2016-12-28 Thread rikki cattermole via Digitalmars-d
On 29/12/2016 2:08 AM, Satoshi wrote: On Wednesday, 28 December 2016 at 12:43:03 UTC, bachmeier wrote: On Wednesday, 28 December 2016 at 08:35:52 UTC, Satoshi wrote: I'm working on a commercial IDE and GUI framework for a year and half and I'm not able to release any version due to this bug[1].

Re: D-Apt DMD

2016-12-27 Thread rikki cattermole via Digitalmars-d
On 28/12/2016 1:23 AM, Russel Winder via Digitalmars-d wrote: Sounds like rdmd should be a separate Debian and Fedora package. Since it is unencumbered by non-FOSS licencing it can get in with association to the ldc and gdc packages. On Tue, 2016-12-27 at 14:57 +1300, rikki cattermole via

Re: D-Apt DMD

2016-12-26 Thread rikki cattermole via Digitalmars-d
On 27/12/2016 6:05 AM, Russel Winder via Digitalmars-d wrote: I find the DMD from D-Apt is still broken wrt -fPIC and the ability to compile any D code. Not a problem per se since LDC and GDC work fine. However I do miss rdmd. For future reference, source here[0]. Easy enough to compile + add

Re: [DIP1005] Unused imports in with(import) declarations: leave alone of flag as errors?

2016-12-24 Thread rikki cattermole via Digitalmars-d
On 25/12/2016 9:32 AM, Andrei Alexandrescu wrote: Consider: with (import std.stdio) int fun(int x/*, File f*/) { // f.writeln("In: ", x); return x * x; } Such situations occur during refactorings and code evolution. The import is no longer used. Should the compiler flag that as an error

Re: Red Hat's issues in considering the D language

2016-12-23 Thread rikki cattermole via Digitalmars-d
On 24/12/2016 7:29 AM, Russel Winder via Digitalmars-d wrote: On Sat, 2016-12-24 at 03:44 +1300, rikki cattermole via Digitalmars-d wrote: […] Except dmd's backend is far more well proven then LLVM is. Come now that is obfuscation – you need to make good on this claim. The LLVM backen

Re: Red Hat's issues in considering the D language

2016-12-23 Thread rikki cattermole via Digitalmars-d
On 24/12/2016 3:14 AM, Russel Winder via Digitalmars-d wrote: On Wed, 2016-12-21 at 15:49 -0800, Jonathan M Davis via Digitalmars-d wrote: […] Anyone who wants to use ldc can use ldc. It doesn't need to be the reference compiler for that. And unlike gdc, it's actually pretty close to dmd. So, t

Re: A betterC modular standard library?

2016-12-20 Thread rikki cattermole via Digitalmars-d
On 20/12/2016 10:32 PM, Ilya Yaroshenko wrote: On Tuesday, 20 December 2016 at 09:12:55 UTC, Timothee Cour wrote: @ilya: regarding -betterC 's stated goal to bypass druntime: besides static linking (which can be inefficient), why not use runtime shared libraries to distribute mir (eg GLAS) to C

Re: ModuleInfo, factories, and unittesting

2016-12-18 Thread rikki cattermole via Digitalmars-d
On 19/12/2016 12:37 PM, bitwise wrote: On Sunday, 18 December 2016 at 22:55:30 UTC, rikki cattermole wrote: - -typeinfo=low/low-min/normal/high/none None is pretty much -betterC Low would be unittests + module constructors Low-min would be like low but with only the fields that is needed

Re: ModuleInfo, factories, and unittesting

2016-12-18 Thread rikki cattermole via Digitalmars-d
On 19/12/2016 5:53 AM, Andrei Alexandrescu wrote: Compulsive ModuleInfo generation seems to be a drag. I'm not very familiar with the particulars but my understanding is ModuleInfo is needed for (a) Object.factory and (b) finding and running unittests. Walter and I think Object.factory was a mis

Re: Linux Kernel in D?

2016-12-18 Thread rikki cattermole via Digitalmars-d
On 18/12/2016 11:13 PM, Whatsthisnow wrote: On Sunday, 18 December 2016 at 08:05:20 UTC, Jacques Müller wrote: A Minix port could be interesting as well. The kernel seems to be pretty small. Well if others want to work on porting those kernels they can, we could potentially look into expanding

Re: Will this features be accepted for DUB?

2016-12-16 Thread rikki cattermole via Digitalmars-d
On 17/12/2016 2:21 AM, Ilya Yaroshenko wrote: Mir GLAS should be builded with special dub flags, in the future it will require to be linked with netlib libs. We need 1. a post fetch (build) options. GLAS should be builded only in release, and in single file mode. It is a betterC library with ext

Re: DIP10005: Dependency-Carrying Declarations is now available for community feedback

2016-12-14 Thread rikki cattermole via Digitalmars-d
On 15/12/2016 3:16 AM, Andrei Alexandrescu wrote: On 12/14/16 6:06 AM, rikki cattermole wrote: On 14/12/2016 11:33 AM, Andrei Alexandrescu wrote: Destroy. https://github.com/dlang/DIPs/pull/51/files Andrei Others have brought up similar syntax to this: import(my.mod).Type!argsT(7) import

Re: DIP10005: Dependency-Carrying Declarations is now available for community feedback

2016-12-14 Thread rikki cattermole via Digitalmars-d
On 14/12/2016 11:33 AM, Andrei Alexandrescu wrote: Destroy. https://github.com/dlang/DIPs/pull/51/files Andrei Others have brought up similar syntax to this: import(my.mod).Type!argsT(7) import(Identifier).Identifier It shouldn't be confused with string imports or the like and would be m

Re: Compiler concept

2016-12-12 Thread rikki cattermole via Digitalmars-d
On 13/12/2016 2:57 PM, Adam D. Ruppe wrote: On Tuesday, 13 December 2016 at 01:03:54 UTC, Ignacious wrote: Would it be difficult to implement the following, or something with similar capabilities, as a patch to dmd? It would be pretty hard to do with dmd because compiled code isn't designed fo

Re: A new linker wlink32

2016-12-09 Thread rikki cattermole via Digitalmars-d
On 10/12/2016 12:00 PM, jest wrote: The wlink32 is a 32 bit linker for Windows. It is an effort of me, (Manos) and LADSoft (David Lindauer) to produce a modern linker. It is based on the original ALINK of Anthony A.J. Williams. But ALINK does not support MS-COFF import libraries and its support f

Re: [OT] Feedback on Cooperative Threading Project

2016-12-03 Thread rikki cattermole via Digitalmars-d
On 04/12/2016 5:54 AM, Benjamin Ylvisaker wrote: I am a grad school acquaintance of Andrei's. I contacted him a little while ago asking for feedback on a project that I'm working on. He suggested I post it to the D list. So here I am. The link below is to a draft that is currently under review f

Re: x86 instruction set reference

2016-11-29 Thread rikki cattermole via Digitalmars-d
On 30/11/2016 12:53 AM, Walter Bright wrote: http://www.felixcloutier.com/x86/ I find this easier to use for quick lookups than the Intel PDF files, because any instruction is just 2 clicks away. Oh and a little tip from me as well, use the AMD64 manuals. They are actually useful and can be le

Re: Transitioning std lib modules/packages

2016-11-28 Thread rikki cattermole via Digitalmars-d
On 29/11/2016 3:01 AM, Andrea Fontana wrote: On Monday, 28 November 2016 at 13:51:13 UTC, Andrei Alexandrescu wrote: On 11/28/2016 08:42 AM, Andrea Fontana wrote: On Monday, 28 November 2016 at 13:34:42 UTC, Andrei Alexandrescu wrote: On 11/28/2016 04:13 AM, Andrea Fontana wrote: Hoping std.v

Re: Transitioning std lib modules/packages

2016-11-25 Thread rikki cattermole via Digitalmars-d
On 26/11/2016 6:16 AM, Jonathan M Davis via Digitalmars-d wrote: 2. Make the new json be something like std.data.json. We'd already talked about doing that before. Then the new xml stuff could go in std.data.xml. It avoids the whole v2 thing by further reorganizing Phobos in a hierarchical manner

Re: OT: for (;;) {} vs while (true) {}

2016-11-25 Thread rikki cattermole via Digitalmars-d
On 25/11/2016 8:27 PM, unDEFER wrote: Why you consider only 2 options? Use "do {} while (true);" :-) The condition only executes after a single iteration. So it is not the same code flow.

Re: !!!Please add intrinsics module for DMD DRuntime!!!

2016-11-22 Thread rikki cattermole via Digitalmars-d
On 23/11/2016 1:46 PM, Walter Bright wrote: On 11/22/2016 5:31 AM, Ilya Yaroshenko wrote: Please add a module (core.intrinsics ?) which will contain all DMD intrinsics similar to ldc.intrinsics. After each DMD release it is not clear what is intrinsics and what is not. I need BSF intrinsics for

Re: Request: feature ABI changes more prominently in release notes

2016-11-21 Thread rikki cattermole via Digitalmars-d
On 22/11/2016 5:46 AM, Johan Engelen wrote: Hi all, 2.071 introduced a significant ABI change: the layout of classes that inherit from interfaces has changed. Unfortunately, this is not very prominently featured in the release notes: https://dlang.org/changelog/2.071.0.html (try to find it) My

Re: D with CygWin

2016-11-20 Thread rikki cattermole via Digitalmars-d
On 21/11/2016 4:47 AM, unDEFER wrote: On Sunday, 20 November 2016 at 14:39:24 UTC, Mike Parker wrote: Not impossible. It's just going to require some backend work. It's not something you can make happen from the command line. Possible of course.. But looks like it needed at least snn.lib sour

Re: D with CygWin

2016-11-20 Thread rikki cattermole via Digitalmars-d
On 21/11/2016 12:46 AM, unDEFER wrote: On Friday, 18 November 2016 at 17:33:41 UTC, unDEFER wrote: Wow, Thank you! I have bought. I'm waiting instructions for download. Google is a stranger to fear: it have sent to spam the message from Walter Bright himself! Walter prompt to me LIB.EXE utilit

Re: D with CygWin

2016-11-18 Thread rikki cattermole via Digitalmars-d
On 18/11/2016 10:53 PM, unDEFER wrote: On Friday, 18 November 2016 at 09:40:25 UTC, rikki cattermole wrote: Perhaps you should treat it as a port to a new platform. So start with getting druntime going (which means recompiling it). No, no recompile. The idea is very simple: 1. The cygwin provi

Re: D with CygWin

2016-11-18 Thread rikki cattermole via Digitalmars-d
On 18/11/2016 10:33 PM, unDEFER wrote: Hello, again! I'm long have thought and have decided to try to do the next thing: I'm trying to list "/" of cygwin environment with the next code: === import std.stdio; import cygwin.std.file; void main() { foreach (stri

Re: Best Lua integration?

2016-11-16 Thread rikki cattermole via Digitalmars-d
On 17/11/2016 11:53 AM, Kim wrote: Hello what is the best Lua integration available? I have found these two so far: * https://github.com/JakobOvrum/LuaD (only Lua 5.1) * https://github.com/DerelictOrg/DerelictLua (Lua 5.3) The former seems better/more active. Are there other similar projects t

Re: D Lang installation on Windows, dependency on Visual Studio?

2016-11-15 Thread rikki cattermole via Digitalmars-d
On 16/11/2016 4:58 PM, Jerry wrote: On Tuesday, 15 November 2016 at 23:34:34 UTC, Jonathan M Davis wrote: On Tuesday, November 15, 2016 16:20:53 AB via Digitalmars-d wrote: On Tuesday, 15 November 2016 at 16:00:48 UTC, kink wrote: > It's not just the linker. You need the libs as well (static >

Re: D Lang installation on Windows, dependency on Visual Studio?

2016-11-15 Thread rikki cattermole via Digitalmars-d
On 16/11/2016 3:41 AM, Daniel Kozak via Digitalmars-d wrote: Dne 15.11.2016 v 14:23 AB via Digitalmars-d napsal(a): On Tuesday, 15 November 2016 at 11:28:16 UTC, Kagamin wrote: On Tuesday, 15 November 2016 at 10:31:23 UTC, AB wrote: Are there plans to write a homebrew 64-bit linker for DMD?

Re: D Lang installation on Windows, dependency on Visual Studio?

2016-11-14 Thread rikki cattermole via Digitalmars-d
On 14/11/2016 9:38 PM, AB wrote: Installing D 2.072.0 on Windows 7 64-bit. After installation is complete I get the following two error (warning?) messages, screenshots here: http://imgur.com/a/5fydB For your convenience they read as follows: "Could not detect Visual Studio (2008-2015 are supp

Earthquakes - New Zealand

2016-11-13 Thread rikki cattermole via Digitalmars-d
Hello everyone! So to summarize New Zealand right now is being hit with some major earthquakes. But don't fret, I'm ok. There is a couple of other members in NZ, so please do let us know that you're safe! Now, for W&A, is there a plan for core members to report in to check that everyone is

Re: Separating ddmd

2016-11-07 Thread rikki cattermole via Digitalmars-d
On 07/11/2016 10:08 PM, ANtlord wrote: Hello! I've tried to separate ddmd frontend from ldc. I just move folder ddmd from ldc project (versions 1.0.0) and folder ddmd from build directory to my test project. Folder ddmd from build I moved because it contains module id. Also as far as I know I nee

Re: CTFE Status

2016-11-05 Thread rikki cattermole via Digitalmars-d
On 06/11/2016 1:57 AM, Jonathan M Davis via Digitalmars-d wrote: On Saturday, November 05, 2016 01:21:48 Stefan Koch via Digitalmars-d wrote: I thought about it some more, and decided that I will replace the old interpreter completely in the long run. However in order to get something release be

Re: Mir GLAS is a C library and passes Natlib's test suite! And questions :-)

2016-10-26 Thread rikki cattermole via Digitalmars-d
Please wait around a year after the last major breaking api change. Its the kind of library that will be severely limited by Phobos requirements. After all by your own post, the API still needs a lot of work done to it and this way it can mature up nicely.

Re: Why are homepage examples too complicated?

2016-10-19 Thread rikki cattermole via Digitalmars-d
On 20/10/2016 12:08 AM, Andrei Alexandrescu wrote: On 10/19/16 5:28 AM, Benjiro wrote: No offense to Andrei, while his is funny, he is simply thinking above my head. Walter is actually better at explain things. None taken! And thanks for your feedback. I think you have an easy means of helping

Re: Idea for a new tool

2016-10-14 Thread rikki cattermole via Digitalmars-d
On 15/10/2016 4:47 AM, Mathias Lang wrote: On Friday, 14 October 2016 at 13:21:18 UTC, Andrei Alexandrescu wrote: On 10/14/2016 09:20 AM, rikki cattermole wrote: On 15/10/2016 2:17 AM, Andrei Alexandrescu wrote: On 10/14/2016 09:15 AM, rikki cattermole wrote: On 15/10/2016 2:13 AM, Andrei Ale

Re: Idea for a new tool

2016-10-14 Thread rikki cattermole via Digitalmars-d
On 15/10/2016 2:21 AM, Andrei Alexandrescu wrote: On 10/14/2016 09:20 AM, rikki cattermole wrote: On 15/10/2016 2:17 AM, Andrei Alexandrescu wrote: On 10/14/2016 09:15 AM, rikki cattermole wrote: On 15/10/2016 2:13 AM, Andrei Alexandrescu wrote: https://issues.dlang.org/show_bug.cgi?id=5051 -

Re: Idea for a new tool

2016-10-14 Thread rikki cattermole via Digitalmars-d
On 15/10/2016 2:17 AM, Andrei Alexandrescu wrote: On 10/14/2016 09:15 AM, rikki cattermole wrote: On 15/10/2016 2:13 AM, Andrei Alexandrescu wrote: https://issues.dlang.org/show_bug.cgi?id=5051 -- Andrei As asked for time and time again, this shouldn't be an external tool handling it but dmd-

Re: Idea for a new tool

2016-10-14 Thread rikki cattermole via Digitalmars-d
On 15/10/2016 2:13 AM, Andrei Alexandrescu wrote: https://issues.dlang.org/show_bug.cgi?id=5051 -- Andrei As asked for time and time again, this shouldn't be an external tool handling it but dmd-fe should. Sadly this will require some significant work.

Re: So what's the deal with DFLAGS?

2016-10-13 Thread rikki cattermole via Digitalmars-d
On 14/10/2016 3:41 PM, Andrei Alexandrescu wrote: On 10/13/16 10:29 PM, rikki cattermole wrote: On 14/10/2016 3:20 PM, Lurker wrote: On Friday, 14 October 2016 at 00:47:34 UTC, Andrei Alexandrescu wrote: Should we do something about https://issues.dlang.org/show_bug.cgi?id=1660? -- Andrei Sr

Re: So what's the deal with DFLAGS?

2016-10-13 Thread rikki cattermole via Digitalmars-d
On 14/10/2016 3:20 PM, Lurker wrote: On Friday, 14 October 2016 at 00:47:34 UTC, Andrei Alexandrescu wrote: Should we do something about https://issues.dlang.org/show_bug.cgi?id=1660? -- Andrei Srsly, the bug is over 8 years old, any only one person complained. It's not even a bug but a featur

Re: Batch operations

2016-10-10 Thread rikki cattermole via Digitalmars-d
On 11/10/2016 4:20 PM, Stefan Koch wrote: On Tuesday, 11 October 2016 at 03:05:12 UTC, Nicholas Wilson wrote: Splitting this from the colour thread(https://forum.dlang.org/thread/mailman.961.1475765646.2994.digitalmar...@puremagic.com?page=1). [...] This will bloat like hell. The best way wo

Re: Some nice new DMD slicing optimizations

2016-10-06 Thread rikki cattermole via Digitalmars-d
On 07/10/2016 7:07 PM, Walter Bright wrote: https://github.com/dlang/dmd/pull/6176 I'm happy to report that DMD has (finally!) gotten some significant new optimizations! Specifically, 'slicing' a two register wide aggregate into two register-sized variables, enabling much better enregistering.

Re: URI parsing

2016-10-05 Thread rikki cattermole via Digitalmars-d
On 06/10/2016 12:12 AM, Basile B. wrote: On Wednesday, 5 October 2016 at 10:19:08 UTC, John C wrote: What packages do people use when they want to parse URIs? I rolled my own but it's incomplete and as it's a fairly common need there must be one out there? In fact, I'm surprised there isn't one

Re: URI parsing

2016-10-05 Thread rikki cattermole via Digitalmars-d
On 05/10/2016 11:19 PM, John C wrote: What packages do people use when they want to parse URIs? I rolled my own but it's incomplete and as it's a fairly common need there must be one out there? In fact, I'm surprised there isn't one in Phobos yet. I developed[0] with the hopes that at some poin

Re: ndslice: feature deprecation voting / discussion

2016-10-02 Thread rikki cattermole via Digitalmars-d
On 03/10/2016 3:02 AM, Ilya Yaroshenko wrote: Timothee Cour proposed to deprecate arguments without [ ... ] that represent shape . auto a0=iota(3*4).sliced(3,4); // proposal:deprecate auto a1=iota(3*4).sliced([3,4]); auto a2=iotaSlice(3,4); // proposal:deprecate auto a3=iotaSlice([3,4]);

Re: package methods are final? huh?

2016-10-02 Thread rikki cattermole via Digitalmars-d
On 03/10/2016 12:37 AM, Manu via Digitalmars-d wrote: module x.a; class A { package: int f() { return 0; } } module x.b; import x.a; class B : A { package: override int f() { return 0; } } error : function x.b.B.f package method is not virtu

Re: [OT] google- and github-fu: how to search for a specific PR?

2016-10-01 Thread rikki cattermole via Digitalmars-d
On 02/10/2016 1:33 AM, Andrei Alexandrescu wrote: I was looking for the PR that changed iota.length and it took me longer than it could have. I googled for iota length dlang and among the top results I found the changelog PR: https://github.com/dlang/phobos/pull/4220, but it was through indirec

Re: Overloading relational operators separately; thoughts?

2016-09-29 Thread rikki cattermole via Digitalmars-d
On 30/09/2016 2:18 AM, Jacob Carlborg wrote: On 2016-09-29 14:57, rikki cattermole wrote: Me and Cauterite were toying with the idea of AST macros but in a completely new form a while ago. Below is the usage of it. Something you'll notice about it is that it could turn the asm block into a lib

Re: Overloading relational operators separately; thoughts?

2016-09-29 Thread rikki cattermole via Digitalmars-d
Me and Cauterite were toying with the idea of AST macros but in a completely new form a while ago. Below is the usage of it. Something you'll notice about it is that it could turn the asm block into a library solution (which is clearly what we'd want anyway). Not to mention Linq style queries

Re: dont understand this

2016-09-24 Thread rikki cattermole via Digitalmars-d
On 25/09/2016 10:24 AM, collerblade wrote: fellow D programmers I would like to ask a question! I would like to create a class, which works in a separated thread, while the class exisit. This is important. I want to kill/terminate/stop the third whenn the class get cleared. Thas what i got so fa

Re: Mir GLAS vs Intel MKL: which is faster?

2016-09-24 Thread rikki cattermole via Digitalmars-d
On 24/09/2016 7:20 PM, Ilya Yaroshenko wrote: Yesterday I announced [1] blog post [2] about Mir [3] benchmark. Intel MKL and Apple Accelerate was added to the benchmark today. Please help to improve the blog post during this weekend. It will be announced in the Reddit. [1] http://forum.dlang.o

Re: combine dlang/tools into a single (or a few) binaries

2016-09-23 Thread rikki cattermole via Digitalmars-d
On 24/09/2016 5:11 PM, ketmar wrote: On Saturday, 24 September 2016 at 04:54:51 UTC, rikki cattermole wrote: I'd suggest dlangtools instead. exactly the thing virtually nobody will type even with autocompletion. Bingo! No reason for us to invite name conflicts.

Re: combine dlang/tools into a single (or a few) binaries

2016-09-23 Thread rikki cattermole via Digitalmars-d
On 24/09/2016 9:47 AM, Timothee Cour via Digitalmars-d wrote: instead of having multiple binaries polluting global namespace what about combining them into: dtools --catdoc dtools --changed etc with maybe exception of a few such as rdmd advantages: less pollution of global namespace, smaller

Re: we push flatbuffers for dlang support, no one to help?

2016-09-23 Thread rikki cattermole via Digitalmars-d
On 24/09/2016 2:14 AM, CRAIG DILLABAUGH wrote: On Friday, 23 September 2016 at 11:08:51 UTC, Brian wrote: the pull request: https://github.com/google/flatbuffers/pull/3856 We are putao's huntstudio! We help D language to develop some component support. but, not have yours support??? Long befor

Re: we push flatbuffers for dlang support, no one to help?

2016-09-23 Thread rikki cattermole via Digitalmars-d
On 23/09/2016 11:12 PM, WebFreak001 wrote: On Friday, 23 September 2016 at 11:08:51 UTC, Brian wrote: the pull request: https://github.com/google/flatbuffers/pull/3856 We are putao's huntstudio! We help D language to develop some component support. but, not have yours support??? Long before th

Re: we push flatbuffers for dlang support, no one to help?

2016-09-23 Thread rikki cattermole via Digitalmars-d
On 23/09/2016 11:08 PM, Brian wrote: the pull request: https://github.com/google/flatbuffers/pull/3856 We are putao's huntstudio! We help D language to develop some component support. but, not have yours support??? Long before they have been submitted, but they have not been merged into the bra

Re: [WORK] std.file.update function

2016-09-18 Thread rikki cattermole via Digitalmars-d
On 19/09/2016 3:41 AM, Andrei Alexandrescu wrote: On 9/18/16 11:24 AM, rikki cattermole wrote: On 19/09/2016 3:20 AM, Andrei Alexandrescu wrote: On 09/18/2016 11:17 AM, Andrei Alexandrescu wrote: Simplest case is - source file is being changed, therefore a new object file is being produced, th

Re: [WORK] std.file.update function

2016-09-18 Thread rikki cattermole via Digitalmars-d
On 19/09/2016 3:20 AM, Andrei Alexandrescu wrote: On 09/18/2016 11:17 AM, Andrei Alexandrescu wrote: Simplest case is - source file is being changed, therefore a new object file is being produced, therefore a new executable is being produced. Forgot to mention a situation here: if you change t

Re: [OT] Brokerage for the D Language Foundation

2016-09-17 Thread rikki cattermole via Digitalmars-d
On 18/09/2016 2:22 AM, Andrei Alexandrescu wrote: The Foundation's cash os currently sitting in a checking account at Bank of America. I've googled for things like "brokerage accounts for non-profit" and figured that most or all deep discount brokers (Fidelity, Merrill, Etrade etc) allow opening

Re: consequences of removing semicolons in D like in Python

2016-09-16 Thread rikki cattermole via Digitalmars-d
On 17/09/2016 11:00 AM, eugene wrote: Hello everyone, what if to remove semicolons at the end of each line of code in D like in Python? Is it worth it? Also lua would be a better example as it allows for with and without.

Re: I hate new DUB config format

2016-09-16 Thread rikki cattermole via Digitalmars-d
On 17/09/2016 2:48 AM, Chris wrote: On Friday, 16 September 2016 at 14:44:18 UTC, Gary Willoughby wrote: On Wednesday, 14 September 2016 at 11:54:56 UTC, Suliman wrote: Sönke Ludwig, really sorry. It's look my big mistake. I looked at SDL more detail, and this format is much better than JSON.

Re: Ddoc macro syntax

2016-09-16 Thread rikki cattermole via Digitalmars-d
On 17/09/2016 1:42 AM, H. S. Teoh via Digitalmars-d wrote: On Fri, Sep 16, 2016 at 03:10:11PM +0200, Marco Leise via Digitalmars-d wrote: Am Fri, 16 Sep 2016 13:16:35 +0200 schrieb Jacob Carlborg : My biggest issue with the macros is not the syntax (I don't like that either) but it's that one

Re: What is the most stable D compiler

2016-09-14 Thread rikki cattermole via Digitalmars-d
On 14/09/2016 11:37 PM, eugene wrote: On Wednesday, 14 September 2016 at 11:35:46 UTC, rikki cattermole wrote: On 14/09/2016 11:34 PM, eugene wrote: What is the most reliable D compiler: dmd, ldc, gdc? Which can be used in production? Why there are 3(maybe more) compilers and not just one? Wh

Re: What is the most stable D compiler

2016-09-14 Thread rikki cattermole via Digitalmars-d
On 14/09/2016 11:34 PM, eugene wrote: What is the most reliable D compiler: dmd, ldc, gdc? Which can be used in production? Why there are 3(maybe more) compilers and not just one? What exactly do you define as stable?

Re: iPhone vs Android

2016-09-12 Thread Rikki Cattermole via Digitalmars-d
On Monday, 12 September 2016 at 23:21:12 UTC, deadalnix wrote: RC itself is not panacea, it doesn't work well with exceptions, generate a huge amount of code bloat, hurt throughput, which you don't care in UI thread, but do care in the backend, and so on. But first and foremost, it is a disaste

Re: iPhone vs Android

2016-09-12 Thread Rikki Cattermole via Digitalmars-d
On Monday, 12 September 2016 at 22:57:23 UTC, Andrei Alexandrescu wrote: An interesting article written for laypeople: http://www.theverge.com/2016/9/12/12886058/iphone-7-specs-competition One quote that may be of relevance to us: "As to the iPhone’s memory, this is more of a philosophical dis

Re: Writing Shared Libraries

2016-09-11 Thread rikki cattermole via Digitalmars-d
On 12/09/2016 2:51 AM, eugene wrote: Hello everyone, could you explain why here https://dlang.org/dll-linux.html says "Preliminary and subject to change." ? This is why: https://github.com/dlang/dlang.org/commits/master/dll-linux.dd Total 4 commits including creation in 2013.

Re: Struct default constructor - need some kind of solution for C++ interop

2016-09-10 Thread rikki cattermole via Digitalmars-d
On 10/09/2016 8:22 PM, Ethan Watson wrote: On Saturday, 10 September 2016 at 05:56:55 UTC, Marco Leise wrote: But what about the parts of the code that handle the game initialization before streaming starts? Is there no config = new GameConfig("settings.ini"); or db = new AssetDatabase("m

Re: Let's kill 80bit real at CTFE

2016-09-09 Thread rikki cattermole via Digitalmars-d
On 09/09/2016 11:50 PM, Stefan Koch wrote: Hi, In short 80bit real are a real pain to support cross-platform. emulating them in software is prohibitively slow, and more importantly hard to get right. 64bit floating-point numbers are supported on more architectures and are much better supported.

Re: Use of StackOverflow

2016-09-08 Thread rikki cattermole via Digitalmars-d
On 09/09/2016 1:22 AM, Jonathan M Davis via Digitalmars-d wrote: On Thursday, September 08, 2016 09:54:16 Russel Winder via Digitalmars-d wrote: Do people operate on StackOverflow for D questions and answers? Yes. D is about the only reason that I pay attention to SO anymore. There are several

Re: Stdio.write/writeln and flushing

2016-09-08 Thread rikki cattermole via Digitalmars-d
On 08/09/2016 8:53 PM, Somebody wrote: If i write something like: writeln("what to do?"); switch(readln[0 .. $ - 1]) { //.. } writeln("bye"); ...that works just as it should at Windows, started from a command prompt. However, if I run it from GNU Emacs, I have to manually flush the output aft

Re: Struct default constructor - need some kind of solution for C++ interop

2016-09-07 Thread rikki cattermole via Digitalmars-d
On 08/09/2016 12:10 AM, Ethan Watson wrote: On Wednesday, 7 September 2016 at 12:09:21 UTC, Ethan Watson wrote: This might actually get me what I want. I'll have to play around with it and see. "Scope classes have been recommended for deprecation." "A scope class reference can only appear as

Re: Why is this?

2016-09-05 Thread rikki cattermole via Digitalmars-d
On 06/09/2016 6:42 PM, rikki cattermole wrote: On 06/09/2016 6:23 PM, Manu via Digitalmars-d wrote: On 6 September 2016 at 16:10, rikki cattermole via Digitalmars-d wrote: On 06/09/2016 6:07 PM, Manu via Digitalmars-d wrote: I have weird thing: template E(F){ enum E { K = F(1

Re: Why is this?

2016-09-05 Thread rikki cattermole via Digitalmars-d
On 06/09/2016 6:23 PM, Manu via Digitalmars-d wrote: On 6 September 2016 at 16:10, rikki cattermole via Digitalmars-d wrote: On 06/09/2016 6:07 PM, Manu via Digitalmars-d wrote: I have weird thing: template E(F){ enum E { K = F(1) } } struct S(F = float, alias e_ = E

Re: Why is this?

2016-09-05 Thread rikki cattermole via Digitalmars-d
On 06/09/2016 6:07 PM, Manu via Digitalmars-d wrote: I have weird thing: template E(F){ enum E { K = F(1) } } struct S(F = float, alias e_ = E!double.K) {} typeof(E!double.K) S!float x; // Error: E!double.K is used as a type alias T = E!double.K; struct S2(F = float, alias e_

Re: Usability of D for Visually Impaired Users

2016-09-04 Thread rikki cattermole via Digitalmars-d
On 05/09/2016 5:20 PM, Walter Bright wrote: On 9/4/2016 5:15 PM, w0rp wrote: A noble goal. The trick is probably all in careful use of markup. alt tags, aria text, tab ordering. You can probably test various pages on the site by listening to the output of screen readers. The thing is, I have n

Re: Taking pipeline processing to the next level

2016-09-04 Thread rikki cattermole via Digitalmars-d
On 05/09/2016 5:08 PM, Manu via Digitalmars-d wrote: I mostly code like this now: data.map!(x => transform(x)).copy(output); It's convenient and reads nicely, but it's generally inefficient. This sort of one-by-one software design is the core performance problem with OOP. It seems a shame to b

Re: Quality of errors in DMD

2016-09-04 Thread rikki cattermole via Digitalmars-d
On 05/09/2016 2:19 AM, Shachar Shemesh wrote: I understand you don't see the need, but I'd like you to consider the possibility that having more people able to hack the front end is also something that would help to give D a boost. If the cost of becoming a compiler developer was lower, wouldn't

Re: CompileTime performance measurement

2016-09-03 Thread rikki cattermole via Digitalmars-d
On 04/09/2016 4:31 PM, Jonathan M Davis via Digitalmars-d wrote: On Sunday, September 04, 2016 16:24:34 rikki cattermole via Digitalmars-d wrote: On 04/09/2016 4:14 PM, Stefan Koch wrote: On Sunday, 4 September 2016 at 04:10:29 UTC, rikki cattermole wrote: On 04/09/2016 2:08 PM, Stefan Koch

Re: CompileTime performance measurement

2016-09-03 Thread rikki cattermole via Digitalmars-d
On 04/09/2016 4:14 PM, Stefan Koch wrote: On Sunday, 4 September 2016 at 04:10:29 UTC, rikki cattermole wrote: On 04/09/2016 2:08 PM, Stefan Koch wrote: On Sunday, 4 September 2016 at 02:06:55 UTC, Stefan Koch wrote: This works already. Anything placed in a debug {} block will be considered pu

Re: CompileTime performance measurement

2016-09-03 Thread rikki cattermole via Digitalmars-d
On 04/09/2016 2:08 PM, Stefan Koch wrote: On Sunday, 4 September 2016 at 02:06:55 UTC, Stefan Koch wrote: This works already. Anything placed in a debug {} block will be considered pure regardless. Opps your comment was about the debate. I would say that __ctfeWriteln and __ctfeTicksMs should

Re: colour lib

2016-09-03 Thread rikki cattermole via Digitalmars-d
On 04/09/2016 5:44 AM, Marco Leise wrote: Am Sat, 3 Sep 2016 16:01:26 +1200 schrieb rikki cattermole : Something[0] along this line perhaps? Overview of the choices and scope along with reasoning. [0] https://github.com/rikkimax/alphaPhobos/blob/master/source/std/experimental/graphic/image/spe

Re: DIP1001: DoExpression

2016-09-03 Thread rikki cattermole via Digitalmars-d
On 04/09/2016 2:42 AM, Cauterite wrote: On Saturday, 3 September 2016 at 14:25:49 UTC, rikki cattermole wrote: I propose a slight change: do(x, y, return z) Hmm, I suppose I should mention one other motivation behind this DIP: I really like to avoid using the 'return' keyword inside expressio

Re: DIP1001: DoExpression

2016-09-03 Thread rikki cattermole via Digitalmars-d
On 04/09/2016 2:20 AM, Dicebot wrote: DIP: https://github.com/dlang/DIPs/blob/master/DIPs/DIP1001.md Abstract A DoExpression do(x,y,z) is exactly equivalent to a CommaExpression (x,y,z), but doesn't emit a deprecation warning. == First comm

Re: @safe RCSlice with DIP1000 + runtime checks

2016-09-03 Thread rikki cattermole via Digitalmars-d
On 03/09/2016 11:02 PM, Nick Treleaven wrote: On Friday, 2 September 2016 at 11:42:57 UTC, rikki cattermole wrote: I've got a much more advanced memory management solution[0]. I'm waiting on DIP1000 implementation before implementing it into it. But over all I quite like this type approach. [0

<    1   2   3   4   5   6   7   8   9   10   >