GSOC 16 - Flatbuffer support or Protocol Buffer Support for D Language.

2016-03-18 Thread Rajat Kumar via Digitalmars-d
Hello. I am Rajat Kumar, a junior year university student from India. I have working experiences in languages like C,C++ and Python. I am really really interested in working in D language. I want to work in the project - Flatbuffer Suport or Protocol Buffer Support. It is now the time to write

Re: the most D-ish GUI library

2016-03-18 Thread Jacob Carlborg via Digitalmars-d
On 18/03/16 08:52, Saša Janiška wrote: Probably...although my experience with Mac OS is very limited... I can't recall I ever have used it. If it's not present, I don't think it will be missed. -- /Jacob Carlborg

Re: the most D-ish GUI library

2016-03-18 Thread Saša Janiška via Digitalmars-d
Vadim Lopatin writes: > Some of such widgets are easy to implement. > Switch - just need to add new style for button to theme. You already did it, right? > Switch, Stack, Notebook, HeaderBar - new styles for TabHeader, > TabHost, TabWidget Can be implemented in one day. It sounds good. ;) > S

Re: Why is this not a warning?

2016-03-18 Thread tsbockman via Digitalmars-d
On Thursday, 17 March 2016 at 06:55:34 UTC, Shachar Shemesh wrote: On 16/03/16 23:50, tsbockman wrote: On Wednesday, 16 March 2016 at 16:40:49 UTC, Shachar Shemesh wrote: ... People who are marginally familiar with integer promotion will not be surprised to know that the program prints "256".

Re: Stack Overflow: Developer Survey Results - 2016

2016-03-18 Thread Adam D. Ruppe via Digitalmars-d
I doubt this is a wholly representative sample because I'm guessing a lot of people don't bother answering Stack Overflow surveys. I know I didn't, and I go to the site almost daily. But lol, if the average student has 3.4 years experience, perhaps I should revise my numbers. On job applicatio

Re: D could catch this wave: web assembly

2016-03-18 Thread Adi via Digitalmars-d
On Thursday, 18 June 2015 at 08:05:48 UTC, John Colvin wrote: This appears to have involvement from all major browser vendors, which provides hope it might actually catch on properly. An llvm backend will be created which will compile to "wasm", hopefully LDC and/or SDC could glue to this. ht

ketmar's debugging terminal console...

2016-03-18 Thread Laeeth Isharc via Digitalmars-d
On Friday, 3 October 2014 at 14:42:23 UTC, ketmar wrote: anyway, here it is: http://repo.or.cz/w/iv.d.git/blob_plain/HEAD:/cmdcon.d please note that this is not very well tested. i'm keeping it just for nostalgic reasons. ah, and you can ignore the license. consider that code as public doma

Re: D could catch this wave: web assembly

2016-03-18 Thread Ola Fosheim Grøstad via Digitalmars-d
On Tuesday, 15 March 2016 at 13:01:31 UTC, CraigDillabaugh wrote: Maybe you can provide the students with fresh vegetables then :o) GSoC == Google Summer of Cultivation?

Stack Overflow: Developer Survey Results - 2016

2016-03-18 Thread Darkfeign via Digitalmars-d
http://stackoverflow.com/research/developer-survey-2016 Developer survey results are in from Stack Overflow. Particularly interested to see is Rust topping the 'Most Loved' category, with Go just below at #5. Interested in hearing other peoples' thoughts on the results and what you found most

Re: Females in the community.

2016-03-18 Thread Ali Çehreli via Digitalmars-d
On 03/17/2016 09:17 AM, Karabuta wrote: > Are there any female programmers using D? :) StackOverflow has just published their developer survey. There are close to 6% female coders who answered their survey: http://stackoverflow.com/research/developer-survey-2016#developer-profile-gender That

Re: Why is this not a warning?

2016-03-18 Thread Shachar Shemesh via Digitalmars-d
On 16/03/16 23:50, tsbockman wrote: On Wednesday, 16 March 2016 at 16:40:49 UTC, Shachar Shemesh wrote: ... People who are marginally familiar with integer promotion will not be surprised to know that the program prints "256". What is surprising to me is that this produced neither error nor war

Re: the most D-ish GUI library

2016-03-18 Thread Kagamin via Digitalmars-d
On Tuesday, 15 March 2016 at 09:35:07 UTC, Luis wrote: Suddenly I have interest on DWT. I thought that was a simple copy of SWT, not being native... Swing is custom-drawn like dlangui, Qt, GTK and WPF. SWT is a relatively thin wrapper over system controls like wxWidgets, IUP and DFL.

Re: State of interfacing with c++

2016-03-18 Thread jmh530 via Digitalmars-d
On Friday, 18 March 2016 at 19:21:08 UTC, ZombineDev wrote: I'm sorry, what I said about rt_init() [1] is wrong. It does a lot of stuff and it's not just enabling the garbage collector. This means you have to be more careful if you decide to not call it. Here's what it does: If it is useful

Re: Up-to-date DIPs list

2016-03-18 Thread Mike Parker via Digitalmars-d
On Thursday, 17 March 2016 at 10:11:14 UTC, Martin Tschierschke wrote: Isn't the forum full of hints and best practice tips which should be available easier? Keeping it in the way it is in the moment, makes it difficult to find the treasures inside. There's a search box at the top of the pa

Re: Idea: std.build instead of dub and make-like tools

2016-03-18 Thread Jacob Carlborg via Digitalmars-d
On 17/03/16 07:13, H. S. Teoh via Digitalmars-d wrote: Personally, I also find makefiles have a tendency to become unmaintable messes. I have yet to find one non-trivial project whose makefiles *aren't* unmaintainable messes. The dmd toolchain tries to, but fails (esp. with the nasty cross-repo

Will D support WebAssembly?

2016-03-18 Thread Dsby via Digitalmars-d
Chrome Canary、Firefox Nightly and Microsoft Edge can use WebAssembly。 WebAssembly : https://en.wikipedia.org/wiki/WebAssembly

Re: Why is this not a warning?

2016-03-18 Thread tsbockman via Digitalmars-d
On Thursday, 17 March 2016 at 09:59:41 UTC, Dominikus Dittes Scherkl wrote: Or you can use an improved opCmp implementation in the compiler, that only add additional runtime cost, if someone is stupid enough to compare signed with unsigned values - but yield the correct result: For the signed

Re: Why is this not a warning?

2016-03-18 Thread tsbockman via Digitalmars-d
On Wednesday, 16 March 2016 at 18:39:36 UTC, Mathias Lang wrote: Sadly, to solve that without imposing much pain on the users, you need a more decent VRP than we currently have... Lionello Lunesu did a lot of work both on improving VRP, and on bug 259: https://github.com/D-Programming-Lan

Re: Females in the community.

2016-03-18 Thread Jonathan M Davis via Digitalmars-d
On Thursday, 17 March 2016 at 18:06:32 UTC, Gerald Jansen wrote: On Thursday, 17 March 2016 at 16:33:45 UTC, DennisQuaid wrote: Here's about "Compilers/Programming Language" so most people here are bearded guys. Actually this extreme gender imbalance is something that struct me ever since I s

Re: State of interfacing with c++

2016-03-18 Thread ZombineDev via Digitalmars-d
On Friday, 18 March 2016 at 13:45:18 UTC, Jonas Drewsen wrote: For a hack week at work I am thinking about creating a module in D that can be used with our existing application which is written in C++. Can anyone shed some light on the current status of interfacing with C++? In particular:

Re: Potential GSoC project - GC improvements

2016-03-18 Thread Craig Dillabaugh via Digitalmars-d
On Tuesday, 15 March 2016 at 01:34:07 UTC, Jeremy DeHaan wrote: I haven't had power for a couple of days, but it looks like the discussion has gone along pretty ok. After reading everything, I think I'm inclined to agree with Adam and the main focus of my proposal will be a precise GC (or as pr

Re: static ctors in shared libs

2016-03-18 Thread Johannes Pfau via Digitalmars-d
Am Fri, 18 Mar 2016 14:35:41 + schrieb Marc Schütz : > On Thursday, 17 March 2016 at 20:54:57 UTC, Johannes Pfau wrote: > > It's been some time since I looked at that code, but IIRC TLS > > ctors for newly loaded libraries are not run in old threads. > > There's nothing we can do about this

Re: Compile fails, don't know why

2016-03-18 Thread Nafees via Digitalmars-d
On Friday, 18 March 2016 at 10:07:18 UTC, Nafees wrote: I tried to create a separate module for storing classes in, this is the new module module qlib.classes; [...] Plus, the code works if the class is in the same module, and I did add the path to the QLib.classes module in the compiler.

Re: the most D-ish GUI library

2016-03-18 Thread Saša Janiška via Digitalmars-d
Gary Willoughby writes: > Sometimes the widgets don't look 100% native. You can take a look at > the example if you want. I did and it must say it looks pretty good. ;) At the end, the look is not all in all...how is tkd in regard to memory management etc.? Sincerely, Gour -- As a strong wi

Idea: std.build instead of dub and make-like tools

2016-03-18 Thread Piotrek via Digitalmars-d
Hi, What do you think about concentrating D build system around a hypothetical "std.build" module instead of investing in dub or other custom tools? Also instead of custom build file format like JSON/SDL/XML/YAML we could simply use a d source file, e.g "build.d". All specification would b

Re: the most D-ish GUI library

2016-03-18 Thread Karabuta via Digitalmars-d
On Wednesday, 16 March 2016 at 09:44:22 UTC, Vadim Lopatin wrote: On Tuesday, 15 March 2016 at 22:26:15 UTC, Karabuta wrote: DlangUI has a nice API design but still need serious design and art work to catch up with Gtk 3.18 - 2.0 in terms of UI look and feel. I also find that it just have basic

Re: RFC: Units of measurement for D (Phobos?)

2016-03-18 Thread David Nadlinger via Digitalmars-d
On Thursday, 17 March 2016 at 12:51:28 UTC, Nordlöw wrote: I believe `isConvertableTo` is a more Phobos-compliant naming, right? I went for canConvert since it is a bit shorter than isConvertible and there is precedent for it in Phobos as well (e.g. find/canFind). It's a matter of taste, thou

Re: State of interfacing with c++

2016-03-18 Thread tsbockman via Digitalmars-d
On Friday, 18 March 2016 at 14:11:46 UTC, Jakob Ovrum wrote: I'd update the section on exceptions but I'm really tired of fighting the dlang.org makefile. http://forum.dlang.org/post/aupwqmkicdjzwxdkk...@forum.dlang.org If you'll write an update for the C++ exceptions section as plain text,

Re: Idea: std.build instead of dub and make-like tools

2016-03-18 Thread Atila Neves via Digitalmars-d
On Thursday, 17 March 2016 at 05:15:25 UTC, Piotrek wrote: On Wednesday, 16 March 2016 at 16:36:47 UTC, Dicebot wrote: NB: this is orthogonal to development of dub. Most important functionality of dub is dependency management, acting as a build tool is secondary to that (and can be adjusted to

Re: RFC: Units of measurement for D (Phobos?)

2016-03-18 Thread Nordlöw via Digitalmars-d
On Thursday, 17 March 2016 at 12:55:39 Ping, David Nadlinger! 😊

Compile fails, don't know why

2016-03-18 Thread Nafees via Digitalmars-d
I tried to create a separate module for storing classes in, this is the new module module qlib.classes; //QLib.Classes class tstrlist{ private: string[] list; uint taken; public: string read(uint index){ return list[index]; } void set(uint