Re: Flexible and efficient recursive hashing

2014-09-17 Thread Szymon Gatner via Digitalmars-d
On Tuesday, 16 September 2014 at 14:53:52 UTC, bearophile wrote: Among the CppCon 2014 slide packs there is this nice one: "Types Don't Know #", by Howard Hinnant: https://github.com/CppCon/CppCon2014/tree/master/Presentations/Types%20Don%27t%20Know%20%23%20-%20Howard%20Hinnant%20-%20CppCon%202

Re: Example of the perils of binding rvalues to const ref

2014-09-17 Thread Szymon Gatner via Digitalmars-d
On Wednesday, 17 September 2014 at 08:52:58 UTC, Arjan wrote: On Tuesday, 16 September 2014 at 15:30:49 UTC, Andrei Alexandrescu wrote: http://www.slideshare.net/yandex/rust-c C++ code: std::string get_url() { return "http://yandex.ru";; } string_view get_scheme_from_url(string_view url) {

Re: Example of the perils of binding rvalues to const ref

2014-09-17 Thread Szymon Gatner via Digitalmars-d
On Wednesday, 17 September 2014 at 08:57:36 UTC, Szymon Gatner wrote: On Wednesday, 17 September 2014 at 08:52:58 UTC, Arjan wrote: On Tuesday, 16 September 2014 at 15:30:49 UTC, Andrei Alexandrescu wrote: http://www.slideshare.net/yandex/rust-c C++ code: std::string get_url() { return "htt

Re: Announcing libasync, a cross-platform D event loop

2014-09-24 Thread Szymon Gatner via Digitalmars-d
On Wednesday, 24 September 2014 at 13:13:34 UTC, Etienne wrote: It's finally here: https://github.com/etcimon/libasync We all know how event loops are the foundation of more popular libraries Qt and Nodejs.. we now have a natively compiling async library entirely written in D. This event lib

So what exactly is coming with extended C++ support?

2014-09-29 Thread Szymon Gatner via Digitalmars-d
Hi, recently there is much talk about extending C++ interop in D but it is unclear to me what that means. Functions and virtual class methods are already callable. What else is planned in the near future? Exceptions? Support for C++ templates? (that seems difficult no?). Is VS support plann

Re: So what exactly is coming with extended C++ support?

2014-09-30 Thread Szymon Gatner via Digitalmars-d
On Tuesday, 30 September 2014 at 09:32:05 UTC, Chris wrote: It's good to hear that. Maybe you could write a short article about that once you've moved to D. "Porting games to D" or something like that. With D you can develop fast due to short compilation times, that's important for testing an

Re: So what exactly is coming with extended C++ support?

2014-09-30 Thread Szymon Gatner via Digitalmars-d
On Monday, 29 September 2014 at 20:15:06 UTC, bachmeier wrote: On Monday, 29 September 2014 at 10:00:27 UTC, Szymon Gatner wrote: Is that all it would take? Do you also need a GC-free standard library, which seems to be the need of all the others saying "do this and I'll switch from C++"? Ar

Re: So what exactly is coming with extended C++ support?

2014-09-30 Thread Szymon Gatner via Digitalmars-d
On Tuesday, 30 September 2014 at 10:39:53 UTC, John Colvin wrote: On Tuesday, 30 September 2014 at 10:06:47 UTC, Szymon Gatner wrote: On Tuesday, 30 September 2014 at 09:32:05 UTC, Chris wrote: It's good to hear that. Maybe you could write a short article about that once you've moved to D. "P

Re: So what exactly is coming with extended C++ support?

2014-09-30 Thread Szymon Gatner via Digitalmars-d
On Tuesday, 30 September 2014 at 09:53:41 UTC, Johnathan wrote: On Tuesday, 30 September 2014 at 08:48:19 UTC, Szymon Gatner wrote: I realize AAA's have have their reasons against GC i but in that case one should probably just get UE4 license anyway. UE4 uses a GC internally. The issue with us

Re: So what exactly is coming with extended C++ support?

2014-09-30 Thread Szymon Gatner via Digitalmars-d
On Tuesday, 30 September 2014 at 11:46:30 UTC, Chris wrote: Great. I'm interested in Lua-D interaction. Would you share it on GitHub once it's done? Have you had a look at DerelictLua: https://github.com/DerelictOrg/DerelictLua I was thinking about maybe just posting snippets on the blog b

Re: So what exactly is coming with extended C++ support?

2014-09-30 Thread Szymon Gatner via Digitalmars-d
On Tuesday, 30 September 2014 at 11:46:30 UTC, Chris wrote: Have you had a look at DerelictLua: https://github.com/DerelictOrg/DerelictLua Forgot to reply to 2nd part: yes I looked at it and in fact I tried my code using it.

Re: So what exactly is coming with extended C++ support?

2014-09-30 Thread Szymon Gatner via Digitalmars-d
On Monday, 29 September 2014 at 14:36:10 UTC, Jacob Carlborg wrote: On 29/09/14 12:00, Szymon Gatner wrote: Hi, recently there is much talk about extending C++ interop in D but it is unclear to me what that means. Functions and virtual class methods are already callable. What else is planned

Re: So what exactly is coming with extended C++ support?

2014-09-30 Thread Szymon Gatner via Digitalmars-d
On Tuesday, 30 September 2014 at 14:19:51 UTC, Araq wrote: It doesn't mention anything about moving C++ into C#. Even with IL2CPP, C# has fundamental design trade offs that make it slower than C++(GC is just one of them), so it wouldn't make much sense to port engine code to C# unless they wan

Re: So what exactly is coming with extended C++ support?

2014-09-30 Thread Szymon Gatner via Digitalmars-d
On Tuesday, 30 September 2014 at 14:34:49 UTC, Ola Fosheim Grøstad wrote: Guys I beg you, is there any chance I will get my answers? ;) Nope :) I suspected so :P I don't think anyone know what extended C++ actually will look like. Great. Some people say D is going to have std::* s

Re: struct and default constructor

2014-10-10 Thread Szymon Gatner via Digitalmars-d
On Friday, 10 October 2014 at 09:58:54 UTC, Walter Bright wrote: On 11/27/2011 11:53 AM, deadalnix wrote: I wonder why struct can't have a default constructor. TDPL state that it is required to allow every types to have a constant .init . Having a .init instead of a default constructor has al

Re: UFCS in C++

2014-10-13 Thread Szymon Gatner via Digitalmars-d
On Monday, 13 October 2014 at 09:32:58 UTC, Francesco Cattoglio wrote: On Monday, 13 October 2014 at 08:53:28 UTC, Peter Alexander wrote: Looks like Bjarne has proposed UFCS for C++ http://isocpp.org/files/papers/N4174.pdf No mention of D though... Seriously, not even a mention? Ok, I'm mad

Re: So what exactly is coming with extended C++ support?

2014-10-14 Thread Szymon Gatner via Digitalmars-d
On Tuesday, 14 October 2014 at 20:41:25 UTC, Nick Sabalausky wrote: On 09/30/2014 04:48 AM, Szymon Gatner wrote: On Monday, 29 September 2014 at 20:15:06 UTC, bachmeier wrote: On Monday, 29 September 2014 at 10:00:27 UTC, Szymon Gatner wrote: Is that all it would take? Do you also need a GC-

Re: So what exactly is coming with extended C++ support?

2014-10-14 Thread Szymon Gatner via Digitalmars-d
On Tuesday, 14 October 2014 at 16:09:31 UTC, Dan Olson wrote: "Chris" writes: iOS/ARM are very important. What's the latest state of affairs? I know some progress has been made but it has been off my radar for a month or two now. The iOS project with LDC has been idle during the windsurfi

Re: So what exactly is coming with extended C++ support?

2014-10-14 Thread Szymon Gatner via Digitalmars-d
On Tuesday, 14 October 2014 at 23:01:49 UTC, Andrei Alexandrescu wrote: On 10/14/14, 3:53 PM, Meta wrote: On Tuesday, 14 October 2014 at 22:27:35 UTC, Walter Bright wrote: Currently, D supports C++: * function calling * name mangling * namespaces * templates * member functions * single inherit

Re: So what exactly is coming with extended C++ support?

2014-10-14 Thread Szymon Gatner via Digitalmars-d
On Tuesday, 14 October 2014 at 22:27:35 UTC, Walter Bright wrote: On 9/29/2014 3:00 AM, Szymon Gatner wrote: Hi, recently there is much talk about extending C++ interop in D but it is unclear to me what that means. Functions and virtual class methods are already callable. What else is planned

Re: So what exactly is coming with extended C++ support?

2014-10-15 Thread Szymon Gatner via Digitalmars-d
On Wednesday, 15 October 2014 at 06:50:55 UTC, Dan Olson wrote: "Szymon Gatner" writes: That is good to hear indeed. In your estimate: how much longer until D is usable on iOS? Depends on your definition of "usable" Szymon. This would allow a D library to be embedded in an otherwise Obj

Re: OT: Minecraft death by GC

2014-10-21 Thread Szymon Gatner via Digitalmars-d
On Tuesday, 21 October 2014 at 07:18:28 UTC, ROOAR wrote: So the latest Minecraft apparently runs really really poorly because of the GC. And it is running on Java desktop. The supposedly "fast" GC of Java can't handle the game anymore-- https://www.reddit.com/r/programming/comments/2jsrif/

Re: What's the difference between https://github.com/D-Programming-Deimos/glfw and https://github.com/DerelictOrg/DerelictGLFW3

2014-10-21 Thread Szymon Gatner via Digitalmars-d
On Tuesday, 21 October 2014 at 06:42:17 UTC, Edn wrote: On Tuesday, 21 October 2014 at 06:41:12 UTC, Edn wrote: On Sunday, 19 October 2014 at 23:57:33 UTC, Mike Parker wrote: On 10/20/2014 4:11 AM, Edn wrote: Hello, what's the difference between https://github.com/D-Programming-Deimos/glfw an

Re: OT: Minecraft death by GC

2014-10-21 Thread Szymon Gatner via Digitalmars-d
On Tuesday, 21 October 2014 at 09:37:32 UTC, Ola Fosheim Grøstad wrote: On Tuesday, 21 October 2014 at 09:14:00 UTC, Szymon Gatner wrote: Crazy idea: reach pleayerbase of Minecraft. Hit the same problem with D. Sell it to Microsoft for 2.5B$. Use the money to support D's @nogc ;] Great plan!

Re: OT: Minecraft death by GC

2014-10-21 Thread Szymon Gatner via Digitalmars-d
On Tuesday, 21 October 2014 at 10:15:45 UTC, Rikki Cattermole wrote: On 21/10/2014 10:37 p.m., "Ola Fosheim Grøstad" " wrote: On Tuesday, 21 October 2014 at 09:14:00 UTC, Szymon Gatner wrote: Crazy idea: reach pleayerbase of Minecraft. Hit the same problem with D. Sell it to Microsoft for 2.5B$

Re: OT: Minecraft death by GC

2014-10-24 Thread Szymon Gatner via Digitalmars-d
On Friday, 24 October 2014 at 07:42:16 UTC, Kagamin wrote: On Tuesday, 21 October 2014 at 09:07:04 UTC, ROOAR wrote: That company with $2.5 billion can't find competent Java engineers lolz! Or they don't fix problems, which didn't appear. That. Minecraft was never expected to be that big.

Re: Change Tab Sizes in Forum Posts

2014-10-24 Thread Szymon Gatner via Digitalmars-d
On Friday, 24 October 2014 at 07:29:24 UTC, tcak wrote: if the CSS is to be updated for let's say 4 spaces for a tab, You surely meant 2 spaces ;)

Re: D Meetup in Berlin

2014-12-05 Thread Szymon Gatner via Digitalmars-d
On Friday, 5 December 2014 at 11:35:29 UTC, Ben wrote: Awesome to see so much interest in the meetup! Looking at when people can make it lets set the date for the first meetup as Friday 23rd of January. I will announce the venue and time closer to the date. Already looking forward to it. I'm

Re: Thoughts on replacement languages (Reddit + D)

2015-01-12 Thread Szymon Gatner via Digitalmars-d
On Monday, 12 January 2015 at 00:33:52 UTC, Andrei Alexandrescu wrote: On 1/11/15 4:33 PM, MattCoder wrote: On Sunday, 11 January 2015 at 23:27:34 UTC, Nick B wrote: Perhaps its better to have a number (average or mean) than no number. Just ask 50 or 100 uers (or more) for their number of down

Re: What is the D plan's to become a used language?

2015-01-15 Thread Szymon Gatner via Digitalmars-d
On Thursday, 15 January 2015 at 07:58:47 UTC, Andrei Alexandrescu wrote: On 1/14/15 7:19 PM, brian wrote: My point was that there are fewer examples of *how* to do things in D. This will discourage the new user, which will prevent it becoming a more popular language. Yes, it would be great i

404 on dlang.org

2015-01-22 Thread Szymon Gatner via Digitalmars-d
Hey, soemthing is wrong with the main page giving 404: https://dl.dropboxusercontent.com/s/vvxlb5mq4oafcp2/dlang_404.jpg?dl=0

Re: 404 on dlang.org

2015-01-22 Thread Szymon Gatner via Digitalmars-d
On Thursday, 22 January 2015 at 08:44:31 UTC, Szymon Gatner wrote: Hey, soemthing is wrong with the main page giving 404: https://dl.dropboxusercontent.com/s/vvxlb5mq4oafcp2/dlang_404.jpg?dl=0 still...

Re: H1 2015 - db access support in Phobos

2015-02-03 Thread Szymon Gatner via Digitalmars-d
On Monday, 2 February 2015 at 04:00:31 UTC, Vadim Lopatin wrote: I would like to propose Java way for implementation of DB access (JDBC - Java DataBase Connectors). Please no. If anything, *any* new library for D should be based on C++ version and then make it nicer with D features. Basing

Re: D for Android

2014-05-09 Thread Szymon Gatner via Digitalmars-d
On Thursday, 8 May 2014 at 16:16:22 UTC, Joakim wrote: Great to hear! Much appreciated.

Re: Vision

2015-10-22 Thread Szymon Gatner via Digitalmars-d
On Wednesday, 21 October 2015 at 20:50:29 UTC, Andrei Alexandrescu wrote: Better late than later. http://wiki.dlang.org/Vision/2015H2_(draft) Destroy. After we make this good I'll rename it and make it official. Andrei "C++ integration Progress has been slow." At the moment, simplest int

Re: Vision

2015-10-22 Thread Szymon Gatner via Digitalmars-d
On Thursday, 22 October 2015 at 14:07:17 UTC, Adam D. Ruppe wrote: On Thursday, 22 October 2015 at 13:26:37 UTC, Szymon Gatner wrote: At the moment, simplest integration presented in Adam Ruppe's book does not work on Windows (x64 or x86). Have you tried a C++ class without a virtual destructo

Re: Vision

2015-10-22 Thread Szymon Gatner via Digitalmars-d
On Thursday, 22 October 2015 at 15:09:19 UTC, Jonathan M Davis wrote: On Thursday, 22 October 2015 at 14:39:14 UTC, Rikki Cattermole wrote: On 23/10/15 3:13 AM, Jack Stouffer wrote: [...] And yet projects like dlangui keep on dying. Obviously something is not right with how they are. Projec

Link in the changelog broken

2015-03-12 Thread Szymon Gatner via Digitalmars-d
Hey, when clicking "Change Log" on the dlang.org it already says "Version D 2.067 Mar 1, 2015" even tho big number on the left menu says "2.066.1. Regardless if this is desired (even if confusing) the link embedded at this header is broken.

Re: Link in the changelog broken

2015-03-13 Thread Szymon Gatner via Digitalmars-d
On Thursday, 12 March 2015 at 08:40:50 UTC, Szymon Gatner wrote: Hey, when clicking "Change Log" on the dlang.org it already says "Version D 2.067 Mar 1, 2015" even tho big number on the left menu says "2.066.1. Regardless if this is desired (even if confusing) the link embedded at this heade

Re: dfmt options

2015-03-15 Thread Szymon Gatner via Digitalmars-d
On Sunday, 15 March 2015 at 10:12:09 UTC, Dicebot wrote: On Sunday, 15 March 2015 at 10:03:15 UTC, Walter Bright wrote: Haven't we all got better things to do than argue about formatting styles? If I was a manager paying programmers , I do not want to pay them to argue about formatting, eit

Re: [OT]: Congrats Andrei!

2015-03-29 Thread Szymon Gatner via Digitalmars-d
On Saturday, 28 March 2015 at 01:51:39 UTC, Rikki Cattermole wrote: Lets all give it up for Andrei and his wife Sanda. Who had their second son today (Dan)! Please congratulate them both. Congratz!

Re: Allegro 5.1 + LDC + iOS Breath Of Life

2015-04-04 Thread Szymon Gatner via Digitalmars-d
On Saturday, 4 April 2015 at 08:14:13 UTC, Dan Olson wrote: Seemed worth mentioning before I snooze. My daughter and I just got a little touch app running on an iPad using D and Allegro 5.1. Really nothing major, but it does work. Just dragging some text around the screen with my finger and

Re: Which D IDE do you use?(survey)

2015-04-08 Thread Szymon Gatner via Digitalmars-d
On Tuesday, 7 April 2015 at 22:58:44 UTC, weaselcat wrote: Hi, I hope nobody minds but I'm just curious as to the popularity amongst D IDEs for a blog post. Sorry if I forgot your favorite $editor. http://goo.gl/forms/MmsuInzDL0 thanks : ) voted for VisualD

[OT] Regarding most used operating system among devs

2015-04-08 Thread Szymon Gatner via Digitalmars-d
From StackOverflow's 2015 Developer Survey [1]: "For the third year in a row, we asked respondents which operating system they use the most. Windows maintains the lion's share of the developer operating system market, while Mac appears to have overtaken the Linuxes among active Stack Overflow

Re: [OT] Regarding most used operating system among devs

2015-04-08 Thread Szymon Gatner via Digitalmars-d
On Wednesday, 8 April 2015 at 12:00:35 UTC, Kagamin wrote: http://stackoverflow.com/research/developer-survey-2015#tech-tabsspaces heh Yeah :) "huh" must be younger devs?

Re: [OT] Regarding most used operating system among devs

2015-04-08 Thread Szymon Gatner via Digitalmars-d
On Wednesday, 8 April 2015 at 10:34:19 UTC, Jens Bauer wrote: On Wednesday, 8 April 2015 at 08:59:04 UTC, Szymon Gatner wrote: From StackOverflow's 2015 Developer Survey [1]: Mac appears to have overtaken the Linuxes among active Stack Overflow devs. [1]http://stackoverflow.com/research/develo

Re: [OT] Regarding most used operating system among devs

2015-04-08 Thread Szymon Gatner via Digitalmars-d
On Wednesday, 8 April 2015 at 12:34:06 UTC, Paulo Pinto wrote: Since then, I always favor spaces over tabs. One space is always one space. Not to start a war but agreed ;) 2 spaces (specifically) FTW!

Re: Language spec in free e-book format

2015-04-08 Thread Szymon Gatner via Digitalmars-d
On Wednesday, 8 April 2015 at 21:42:22 UTC, Nick wrote: On Wednesday, 8 April 2015 at 21:34:00 UTC, weaselcat wrote: On Wednesday, 8 April 2015 at 21:29:59 UTC, Nick wrote: Hi, Could you make the language reference available for download in a free e-book format, such as EPUB or FB2? Some pe

Re: [OT] Regarding most used operating system among devs

2015-04-09 Thread Szymon Gatner via Digitalmars-d
On Wednesday, 8 April 2015 at 16:19:44 UTC, weaselcat wrote: Poll has a windows bias due to stackoverflows focus on .NET, which is extremely overrepresented on SO(see: redmonk) Even if there is a bias how large can it be? It is not few % difference in the poll results.