www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Facebook, D and the web

reply "Chris" <wendlec tcd.ie> writes:
In a recent thread[1] there was a lot of talk about how to make D 
more attractive, how to communicate it's advantages to a broader 
audience etc.

I was wondering, if Facebook would be interested in either 
developing or championing the development of a scripting language 
based on D that would be a. useful for in-house development at 
Facebook and b. for a broad audience of web developers. This 
would (ideally) be a language that:

1. is easy, even for non-programmers (like Lua and Python)
2. can be used to easily build web based UI apps (forms etc)
3. can be used for server-side programming and data analysis
4. is, of course, compatible with D and can be extended with 
modules written in D (and C for that matter)
5. runs on mobile platforms
6. may be able to interact with JS
7. is open source

I don't know, if there is any demand for this at Facebook at the 
moment, but I could imagine that there is demand for a better web 
language in general.

People keep mentioning "killer apps" for D and maybe a killer 
technology / framework would be even better.


[1] http://forum.dlang.org/thread/mdtago$em9$1 digitalmars.com
Mar 16 2015
next sibling parent "Almighty Bob" <bob almighty.com> writes:
On Monday, 16 March 2015 at 14:47:15 UTC, Chris wrote:
 In a recent thread[1] there was a lot of talk about how to make 
 D more attractive, how to communicate it's advantages to a 
 broader audience etc.

 I was wondering, if Facebook would be interested in either 
 developing or championing the development of a scripting 
 language based on D that would be a. useful for in-house 
 development at Facebook and b. for a broad audience of web 
 developers. This would (ideally) be a language that:
I use D as a scripting language now, with rdmd, I cant see how it needs much improvement in terms of how easy it is to just throw something together. Main issue for me is the terrible documentation and a feeling that a lot of stuff in the D std lib is trying to be everything to everyone. It read's like boost, you know it was made by smart people, and it is a work of art but it's a bit like a swiss army knife, cool when you first see it, looks really useful, but by the time you've got the right blade out I've already skinned the rabbit and got it roasting with my one blade pocket knife.
Mar 16 2015
prev sibling next sibling parent "Laeeth Isharc" <Laeeth.nospam nospam-laeeth.com> writes:
On Monday, 16 March 2015 at 14:47:15 UTC, Chris wrote:
 In a recent thread[1] there was a lot of talk about how to make 
 D more attractive, how to communicate it's advantages to a 
 broader audience etc.

 I was wondering, if Facebook would be interested in either 
 developing or championing the development of a scripting 
 language based on D that would be a. useful for in-house 
 development at Facebook and b. for a broad audience of web 
 developers. This would (ideally) be a language that:

 1. is easy, even for non-programmers (like Lua and Python)
 2. can be used to easily build web based UI apps (forms etc)
 3. can be used for server-side programming and data analysis
 4. is, of course, compatible with D and can be extended with 
 modules written in D (and C for that matter)
 5. runs on mobile platforms
 6. may be able to interact with JS
 7. is open source

 I don't know, if there is any demand for this at Facebook at 
 the moment, but I could imagine that there is demand for a 
 better web language in general.

 People keep mentioning "killer apps" for D and maybe a killer 
 technology / framework would be even better.


 [1] http://forum.dlang.org/thread/mdtago$em9$1 digitalmars.com
Having a way to do data analysis in a notebook like Ipython would be very nice indeed. At the moment your best option is calling D from Julia or Python. D REPL won't cut the mustard because you want persistent state to be able to iteratively explore large data sets without reloading from disc every time you enter a new command. You could use a RAM disk, but that's still very clumsy. I disagree with the other poster that the standard library is bloated. It just needs better docs.
Mar 16 2015
prev sibling parent reply "Marc =?UTF-8?B?U2Now7x0eiI=?= <schuetzm gmx.net> writes:
On Monday, 16 March 2015 at 14:47:15 UTC, Chris wrote:
 In a recent thread[1] there was a lot of talk about how to make 
 D more attractive, how to communicate it's advantages to a 
 broader audience etc.

 I was wondering, if Facebook would be interested in either 
 developing or championing the development of a scripting 
 language based on D that would be a. useful for in-house 
 development at Facebook and b. for a broad audience of web 
 developers. This would (ideally) be a language that:

 1. is easy, even for non-programmers (like Lua and Python)
 2. can be used to easily build web based UI apps (forms etc)
 3. can be used for server-side programming and data analysis
 4. is, of course, compatible with D and can be extended with 
 modules written in D (and C for that matter)
 5. runs on mobile platforms
 6. may be able to interact with JS
 7. is open source

 I don't know, if there is any demand for this at Facebook at 
 the moment, but I could imagine that there is demand for a 
 better web language in general.

 People keep mentioning "killer apps" for D and maybe a killer 
 technology / framework would be even better.
Facebook aside, I can see a use for an interpretable subset of D. It could be used in templates, for example for vibe.d. These could then be loaded at runtime, leading to faster development (no need to recompile if just a template is changed). In release mode, they could still be precompiled.
Mar 16 2015
parent "Laeeth Isharc" <Laeeth.nospam nospam-laeeth.com> writes:
On Monday, 16 March 2015 at 16:26:10 UTC, Marc Sch├╝tz wrote:
 On Monday, 16 March 2015 at 14:47:15 UTC, Chris wrote:
 In a recent thread[1] there was a lot of talk about how to 
 make D more attractive, how to communicate it's advantages to 
 a broader audience etc.

 I was wondering, if Facebook would be interested in either 
 developing or championing the development of a scripting 
 language based on D that would be a. useful for in-house 
 development at Facebook and b. for a broad audience of web 
 developers. This would (ideally) be a language that:

 1. is easy, even for non-programmers (like Lua and Python)
 2. can be used to easily build web based UI apps (forms etc)
 3. can be used for server-side programming and data analysis
 4. is, of course, compatible with D and can be extended with 
 modules written in D (and C for that matter)
 5. runs on mobile platforms
 6. may be able to interact with JS
 7. is open source

 I don't know, if there is any demand for this at Facebook at 
 the moment, but I could imagine that there is demand for a 
 better web language in general.

 People keep mentioning "killer apps" for D and maybe a killer 
 technology / framework would be even better.
Facebook aside, I can see a use for an interpretable subset of D. It could be used in templates, for example for vibe.d. These could then be loaded at runtime, leading to faster development (no need to recompile if just a template is changed). In release mode, they could still be precompiled.
Bearophile seems to have changed his mind on this and could not retract it. But is this not something technically possible and commercially desirable? One would want to maintain a long running state though, and I guess there are GC questions given the decision to trade off memory usage for compilation speed. (He suggests exposing CTFE engine as a D interpreter). http://forum.dlang.org/thread/j0k3id$1rq2$1 digitalmars.com
Mar 16 2015