Re: Crazy, sad but ... would you use D for your own facebook or pinterest?

2017-01-05 Thread aberba via Digitalmars-d
On Tuesday, 3 January 2017 at 11:47:54 UTC, aberba wrote: On Tuesday, 3 January 2017 at 00:51:04 UTC, Chris Wright wrote: On Mon, 02 Jan 2017 21:49:03 +, aberba wrote: Planning to use mysql and mongoDB(for the flexible part). I haven't research much about File Systems but I planning

Re: Crazy, sad but ... would you use D for your own facebook or pinterest?

2017-01-04 Thread Jacob Carlborg via Digitalmars-d
On 2017-01-04 15:04, Adam D. Ruppe wrote: wc reports about 80,000 lines. But it isn't line count that affects build speed in D: it is the content of those lines. Yeah, for projects like DWT and Tango where very few compile time features are used it's really quick to compile. DWT takes around

Re: Crazy, sad but ... would you use D for your own facebook or pinterest?

2017-01-04 Thread Adam D. Ruppe via Digitalmars-d
On Wednesday, 4 January 2017 at 07:08:25 UTC, aberba wrote: Did you implement some form of clustering (session, storage, caching)? I cheated (well, some would say "made a reasonable decision not to reinvent the wheel"): I ran two copies of the application and both talked to the same database

Re: Crazy, sad but ... would you use D for your own facebook or pinterest?

2017-01-04 Thread Adam D. Ruppe via Digitalmars-d
On Wednesday, 4 January 2017 at 12:44:08 UTC, Andrei Alexandrescu wrote: How large was the codebase? Thx! -- Andrei wc reports about 80,000 lines. But it isn't line count that affects build speed in D: it is the content of those lines. When I optimized it, the source code actually got

Re: Crazy, sad but ... would you use D for your own facebook or pinterest?

2017-01-04 Thread Andrei Alexandrescu via Digitalmars-d
On 1/3/17 11:10 PM, Adam D. Ruppe wrote: My compile+link time at one point hit 15 seconds so I optimized some templates and got it down to 7. Still kinda slow but not *that* bad. How large was the codebase? Thx! -- Andrei

Re: Crazy, sad but ... would you use D for your own facebook or pinterest?

2017-01-03 Thread aberba via Digitalmars-d
On Wednesday, 4 January 2017 at 04:10:30 UTC, Adam D. Ruppe wrote: About six months to get everything we wanted working well. The initial core was done in about two (including me writing necessary D libraries to support it, this was done before vibe.d was out so I wrote all my own), then we

Re: Crazy, sad but ... would you use D for your own facebook or pinterest?

2017-01-03 Thread Mengu via Digitalmars-d
On Monday, 2 January 2017 at 21:49:03 UTC, aberba wrote: I'm not building Facebook/pinterest but I'm trying to work on a platform like "pinterest-like" but on a small scale. I want it to be easy to write, fast, ... you know. D is obviously that (IMO). About scalability, would you recommend

Re: Crazy, sad but ... would you use D for your own facebook or pinterest?

2017-01-03 Thread Adam D. Ruppe via Digitalmars-d
On Tuesday, 3 January 2017 at 11:59:46 UTC, aberba wrote: Nice. How fast were you able to get it to a mature state? About six months to get everything we wanted working well. The initial core was done in about two (including me writing necessary D libraries to support it, this was done

Re: Crazy, sad but ... would you use D for your own facebook or pinterest?

2017-01-03 Thread Chris Wright via Digitalmars-d
On Tue, 03 Jan 2017 11:47:54 +, aberba wrote: > Could use some advice though. http://vibed.org/ is the framework you'll probably be using. It has mysql and mongodb support. http://code.dlang.org/ says there's an s3 client that works with vibe: http://code.dlang.org/packages/vibe-s3 It's

Re: Crazy, sad but ... would you use D for your own facebook or pinterest?

2017-01-03 Thread aberba via Digitalmars-d
On Tuesday, 3 January 2017 at 00:04:33 UTC, Adam D. Ruppe wrote: On Monday, 2 January 2017 at 21:49:03 UTC, aberba wrote: I'm trying to work on a platform like "pinterest-like" but on a small scale. I did something similar for work about five or six years ago. Used D, went well. The

Re: Crazy, sad but ... would you use D for your own facebook or pinterest?

2017-01-03 Thread aberba via Digitalmars-d
On Tuesday, 3 January 2017 at 00:51:04 UTC, Chris Wright wrote: On Mon, 02 Jan 2017 21:49:03 +, aberba wrote: I'm not building Facebook/pinterest but I'm trying to work on a platform like "pinterest-like" but on a small scale. I want it to be easy to write, fast, ... you know. D is

Re: Crazy, sad but ... would you use D for your own facebook or pinterest?

2017-01-02 Thread Chris Wright via Digitalmars-d
On Mon, 02 Jan 2017 21:49:03 +, aberba wrote: > I'm not building Facebook/pinterest but I'm trying to work on a platform > like "pinterest-like" but on a small scale. I want it to be easy to > write, fast, ... you know. D is obviously that (IMO). > > About scalability, would you recommend

Re: Crazy, sad but ... would you use D for your own facebook or pinterest?

2017-01-02 Thread Adam D. Ruppe via Digitalmars-d
On Monday, 2 January 2017 at 21:49:03 UTC, aberba wrote: I'm trying to work on a platform like "pinterest-like" but on a small scale. I did something similar for work about five or six years ago. Used D, went well. The company changed direction though while it was still small, so I'll