Re: D GPU execution module: A survey of requirements.

2018-05-09 Thread Henry Gouk via Digitalmars-d

On Wednesday, 9 May 2018 at 23:26:19 UTC, H Paterson wrote:

Hello,

I'm interested in writing a module for executing D code on 
GPUs. I'd like to bounce some ideas off D community members to 
see what this module needs do.


[...]


Check out https://github.com/libmir/dcompute


Re: Researcher question – what's the point of semicolons and curly braces?

2016-05-03 Thread Henry Gouk via Digitalmars-d

On Tuesday, 3 May 2016 at 04:23:48 UTC, Walter Bright wrote:
1. Redundancy in specification means the compiler can catch 
more 'typo' mistakes rather than having them compile 
successfully and then behave mysteriously. If a language has 0 
redundancy, then any 8745b48%%&*&hjdsfh string would be a valid 
program. Redundancy is a critical feature of high reliability 
languages.


Many languages have removed redundancy only to put it back in 
after bitter experience. The classic is implicit declaration of 
variables.


An example of this would be that Apple SSL bug that has largely 
been blamed on optional curly braces for if statements with one 
line in the body.


Re: What are you planning for 2016?

2016-01-06 Thread Henry Gouk via Digitalmars-d
On Tuesday, 5 January 2016 at 12:27:12 UTC, Ola Fosheim Grøstad 
wrote:

2. integrate with numerical solutions like TensorFlow?


I'm currently working on something along the same lines as 
TensorFlow -- I started work on this before TensorFlow was 
announced. I haven't thought too much about writing a distributed 
backend, but currently there are some reasonably inefficient 
proof-of-concept CPU and CUDA backends.


It's still fairly early on in development, and I'm more of an 
academic than an engineer. That said, I've managed to train some 
modestly sized convolutional networks without trouble.


I'll open source it at some point, but I haven't got a time-frame 
for that.


Re: Natural language parsing (NLP) with D

2015-10-21 Thread Henry Gouk via Digitalmars-d

On Wednesday, 21 October 2015 at 09:09:27 UTC, Chris wrote:


What exactly is sentiment analysis and how do you go about it?


Determining whether the sentiment of a piece of text is positive, 
neutral, or negative. Currently twitter is a pretty popular 
source of data in academia, as emoticons can be used as 
sufficiently accurate proxies for labels. Using psuedo-labelled 
tweets, one can then come up with a feature representation (e.g. 
bag of words, tf-idf) and use some sort of classifier (e.g. 
linear SVM or softmax regression) to determine the sentiment of 
novel tweets. This is a pretty simple approach, and probably not 
hard to improve on.


Re: D ranked as #25 by IEEE spectrum

2015-09-23 Thread Henry Gouk via Digitalmars-d

On Thursday, 24 September 2015 at 00:16:27 UTC, Idan Arye wrote:

On Wednesday, 23 September 2015 at 22:20:35 UTC, Meta wrote:
On Wednesday, 23 September 2015 at 19:28:00 UTC, Ola Fosheim 
Grøstad wrote:

http://spectrum.ieee.org/static/interactive-the-top-programming-languages-2015


They list D as useful for web development and embedded, but 
not desktop apps... And they list Rust was useful for desktop 
apps and web development. Something's fishy here.


They list TCL for embedded. This is behind ridiculous...


A lot of EDA tools use TCL as a scripting language for automating 
tasks. It's not quite embedded programming, but it is related.