Re: Alexa Skill written in D

2017-02-12 Thread extrawurst via Digitalmars-d-announce

On Sunday, 12 February 2017 at 07:06:00 UTC, Laeeth Isharc wrote:

On Wednesday, 11 January 2017 at 12:16:06 UTC, extrawurst wrote:

[...]



[...]


Hi Stephan.

I think at the time C# was not possible, and not sure if java 
was.  I don't know those languages so well, but if someone 
would like to try and see if it makes a difference, I would be 
happy to grant them rights to co-maintain the repo and add 
those as options.


If I recall right, there shouldn't be a performance difference 
- just a question of latency to start.  Will Java or C# be 
better in those respects given time needed to start the VM?



Laeeth.


That is exactly what I want to find out. After all lambda is pay 
as you use (memory/cpu) and if either vm (jvm, .net or node) 
starts up faster or with a smaller footprint it pays off.


Ceers,
Stephan


A mini book for learning computer prgramming in D (complete newbies)

2017-02-12 Thread aberba via Digitalmars-d-announce
Its a work in progress and needs some good formatting and 
language polish. Try it on your kid :)


https://github.com/aberba/learn-coding


D is #3 in Github's "The top weekend languages 2016"

2017-02-12 Thread Antonio Corbi via Digitalmars-d-announce

Glad to share this article with you all:

https://medium.com/@hoffa/the-top-weekend-languages-according-to-githubs-code-6022ea2e33e8#.vvtcmyh88

A. Corbi


Re: two points

2017-02-12 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce

On 02/09/2017 03:02 AM, Walter Bright wrote:


It took me a while to find it, because you were using a pseudonym that I
did not recognize. There are a number of frequent contributors to D
using pseudonyms, and all have this issue with varying degrees.
[...]
I suppose I could write a cheat sheet and tape it to the wall of my
office, but why not just use your name?



Partly because I just like online handles. Also, brevity: "Sabalausky" 
is a bit of a monster and also tends to intimidate the crap out anyone 
trying to pronounce it (and very understandably so). "Abscissa" is 
shorter than my last name alone, easier to spell, plus I've been using 
it for about 20 years, so it's kind of just habit now and almost just as 
much a name to me online as "Nick". Not that it's much easier to 
pronounce (except for those well-versed in uncommonly-used math 
terminology), but it's probably at least a little less panic-inducing, 
pronunciation-wise ;)


And online (in general anyway), I like that "Abscissa" is less 
uniquely-identifiable than my name - unlike my name, there actually ARE 
other people going by "Abscissa". I like having my online identity split 
into multiple ones, and I like the lack of clarity as to which 
"Abscissa" fellas are the same ones: It creates privacy in a frontier 
that is increasingly "privatized big brother". Reliably-unique real 
names like mine are a data miner's dream - may as well be going by my 
social security number. Unlike "Abscissa", anyone going by "Nick 
Sabalausky" is either me or somebody deliberately impersonating me.


In any case, your point is certainly a valid one. I've adjusted my 
newsreader to include Abscissa along with my real name, so hopefully 
that will at least help.




Re: Questionnaire

2017-02-12 Thread Xavier Bigand via Digitalmars-d-announce

Le 08/02/2017 à 19:27, Ilya Yaroshenko a écrit :
I can answer for the product on which I am working (Home Design 3D), 
others are video games made with Unity which is imposed by the editor.


On Home Design 3D the development teams have the choice of technologies 
to use, but we have to convince our boss. There is an history, any 
developer on previous teams knows the D language, we are now 2 on 6 that 
having few basics.



1. Why your company uses  D?

  a. D is the best
  b. We like D
  c. I like D and my company allowed me to use D
  d. My head like D
  e. Because marketing reasons
  f. Because my company can be more efficient with D for some tasks then
with any other system language



We don't use D.


2. Does your company uses C/C++, Java, Scala, Go, Rust?


C++11, other languages as Java or objective-C can be used for OS 
specifics (Android and iOS).




3. If yes, what the reasons to do not use D instead?


There is a lot of obstacles to migrate to D or at least using it 
partially in our product or for tools.

Here is the list sorted by difficulties:
1. The team isn't enough familiar with the D language
2. It seems too hard to use it with our actual C++ dependencies 
(QtQuick, boost geometry, and a lot of other C/C++ libraries)
3. We don't have enough feedback on how it can be used on all our 
targeted platforms (Android, iOS, Windows x86 and x64, MacOS)
4. Due to some differences with the c++ major refactoring will be 
necessary after a translation to have the same performances (GC will 
impact a lot the resources management)
5. The quality of the possible integration with a complete production 
ecosystem is unknown.

  IDE : Debugging, refactoring
  Platforms : Compatibility with Stores (and there tools such as crash 
reporting,...)
6. D isn't as mature as C++, so there is fewer articles on internet that 
can help on particular subjects. And no body will give code examples in 
D, so even for test we would have to port it. This will globally impact 
the productivity.




2. Have you use one of the following Mir projects in production:

  a. https://github.com/libmir/mir
  b. https://github.com/libmir/mir-algorithm
  c. https://github.com/libmir/mir-cpuid
  d. https://github.com/libmir/mir-random
  e. https://github.com/libmir/dcv - D Computer Vision Library
  f. std.experimental.ndslice



Nop


3. If Yes, can Mir community use your company's logo in a section "Used
by" or similar.

4. Have you use one of the following Tamedia projects in your production:

  a. https://github.com/tamediadigital/asdf
  b. https://github.com/tamediadigital/je
  c. https://github.com/tamediadigital/lincount

5. What D misses to be commercially successful languages?


I think that it start with a bigger adoption, but it can be addressed 
directly, so it have to easy to take into. IMO documentation IDE 
friendly-ness,... will help newbie to start.
After tools necessary to have stable and effective products are 
critical, debugger (code and memory), profiler,... On this point to IMO 
the ergonomic is important (not every developer want to use command line 
and a lot would prefer UI).


I also think that it depends who is the target, because Java developers 
will be certainly more reticent to come to D if tools don't have good UI 
than C/C++ developers that works mostly under linux.


Personally I develop only under Windows and having a great integration 
between D tools with UI is one of the most important thing. I want an 
IDE that is ready for use after installation, with dub integrated, unit 
tests UI, compilers and debuggers configured and ready for cross 
compilation.




6. Why many topnotch system projects use C programming language nowadays?


IMO the fact that C is one of the first language helps a lot, languages 
that came after few or any are system languages.
I find that C/C++ didn't evolve a lot for many years and it start to 
come better with C++11, 14 and 17. Maybe D have put some pressure.


I don't know a lot of languages but I think that D have the potential to 
be a much better system language than C++, and it should be else nobody 
will migrate if the win isn't enough.




=

All my current D project are finished. Probably I will use other
languages for production this year, Java/Go/whatever. Mir libraries are
amazing and good quality. If you use them this would be a good
motivation for us to improve the docs and provide regular updates. Plus,
it can be enchanted during the GSoC 2017.

Thanks,
Ilya





Re: Alexa Skill written in D

2017-02-12 Thread Walter Bright via Digitalmars-d-announce

On 1/12/2017 2:08 AM, Chris wrote:

On Wednesday, 11 January 2017 at 19:26:06 UTC, Walter Bright wrote:

On 1/11/2017 2:09 AM, Chris wrote:

On Sunday, 8 January 2017 at 22:54:58 UTC, Walter Bright wrote:

Yes. I can't because anything I post gets autobanned.

Why is that?


Probably because I posted links to articles I wrote myself. I didn't know at
the time it was against their rules.


In that case it might help to talk to them and explain that you weren't aware of
that rule at the time. It will also clear your name in case anyone wants to
attack you personally ("Walter Bright how got banned from ...").


I'm not worried about it, I'm happy to let others post.