Re: Battle-plan for CTFE

2016-10-28 Thread Stefan Koch via Digitalmars-d-announce

Another update on CTFE.

I have found a few errors in my handling of switch-statments.
An efficient solution for this is still pending,

Futhermore I have begun to work on ctfe handling refernces.
These are a little bit harder to do in bytecode and do pessimise 
performance if overused.


I hope to make another leap at the end of this month.

We should have string Concat-support fairly soon.

Cheers,
stefan


Re: The DLang UPB Languages and Systems Research Scholarship

2016-10-28 Thread Mike Parker via Digitalmars-d-announce

On Friday, 28 October 2016 at 13:57:37 UTC, Mike Parker wrote:


How is a scholarship for CS degrees off topic?


OK, nevermind. Been a while since I looked at the sidebar.


"If there is no code in your link, it probably doesn't belong 
here."


Re: The DLang UPB Languages and Systems Research Scholarship

2016-10-28 Thread Mike Parker via Digitalmars-d-announce

On Friday, 28 October 2016 at 10:43:36 UTC, thedeemon wrote:
On Wednesday, 26 October 2016 at 01:11:05 UTC, Mike Parker 
wrote:


For anyone tempted to share this on /r/programming, please 
wait! I hope to do a blog post about this on Friday, so I'll 
post to reddit then. Thanks!


Please don't. This is a total offtopic for /r/programming, 
don't create the reputation "dlang seeks for attention and 
spams with irrelevant stuff".


How is a scholarship for CS degrees off topic?


Re: The DLang UPB Languages and Systems Research Scholarship

2016-10-28 Thread Chris via Digitalmars-d-announce
On Tuesday, 25 October 2016 at 22:15:38 UTC, Andrei Alexandrescu 
wrote:
The D Language Foundation is proud to announce its first 
scholarship, offered to CS and EE students at University 
"Politehnica" Bucharest in Romania. More details here:


http://dlang.org/dlangupb-scholarship.html

We are very excited about this program and hope to extend it to 
other universities in the future.



Thanks,

Andrei


A project D > WebAssembley would be great.


Re: The DLang UPB Languages and Systems Research Scholarship

2016-10-28 Thread thedeemon via Digitalmars-d-announce

On Wednesday, 26 October 2016 at 01:11:05 UTC, Mike Parker wrote:

For anyone tempted to share this on /r/programming, please 
wait! I hope to do a blog post about this on Friday, so I'll 
post to reddit then. Thanks!


Please don't. This is a total offtopic for /r/programming, don't 
create the reputation "dlang seeks for attention and spams with 
irrelevant stuff".


Re: SoundTab Theremin software synthesizer

2016-10-28 Thread Vadim Lopatin via Digitalmars-d-announce

On Friday, 28 October 2016 at 08:28:41 UTC, Vadim Lopatin wrote:
I've open sourced my project SoundTab: 
https://github.com/buggins/soundtab/


Play like on Theremin, but instead of moving hand in the air, 
move pen over wacom tablet. Volume is modulated by pen pressure,

instead of left hand movement in Theremin.

For better experience, use Wacom digitizer with pressure 
detection.


You can play with mouse as well, but w/o volume modulation (no 
pressure information), and less precise positioning.



Supports only Windows so far.

Binaries may be downloaded here: 
https://github.com/buggins/soundtab/releases



Reddit: 
https://www.reddit.com/r/programming/comments/59thwr/soundtab_theremin_software_synth_with_wacom/
Screenshot added: 
https://buggins.github.io/soundtab/screenshots/soundtab-screenshot-1.png





Re: [Slides] Generic Low Level Programming with D - The Better C for your Business

2016-10-28 Thread Ilya Yaroshenko via Digitalmars-d-announce

On Friday, 28 October 2016 at 08:28:31 UTC, Johan Engelen wrote:
On Friday, 28 October 2016 at 06:46:27 UTC, Ilya Yaroshenko 
wrote:

https://docs.google.com/presentation/d/1w1cQ8vDluglRIt8Qdnm-sY7kqxoKZxbPEWW6tR3lPpo/edit?usp=sharing


Nice :)

Something I noticed on slide 6-8. The call __adEq2 is pretty 
lame, we have our fix ready: 
https://github.com/ldc-developers/ldc/pull/1719


Nice!


(you really should number your slides!)


Done


-Johan





Re: [Slides] Generic Low Level Programming with D - The Better C for your Business

2016-10-28 Thread Ilya Yaroshenko via Digitalmars-d-announce

On Friday, 28 October 2016 at 08:26:03 UTC, FreeSlave wrote:
On Friday, 28 October 2016 at 06:46:27 UTC, Ilya Yaroshenko 
wrote:

https://docs.google.com/presentation/d/1w1cQ8vDluglRIt8Qdnm-sY7kqxoKZxbPEWW6tR3lPpo/edit?usp=sharing


Thanks. Was it for live presentation?


Yes


Is there a video?


Probably no



And where is this fox from?


https://telegram.org/


SoundTab Theremin software synthesizer

2016-10-28 Thread Vadim Lopatin via Digitalmars-d-announce

Hello,

I've open sourced my project SoundTab: 
https://github.com/buggins/soundtab/


Play like on Theremin, but instead of moving hand in the air, 
move pen over wacom tablet. Volume is modulated by pen pressure,

instead of left hand movement in Theremin.

For better experience, use Wacom digitizer with pressure 
detection.


You can play with mouse as well, but w/o volume modulation (no 
pressure information), and less precise positioning.



Supports only Windows so far.

Binaries may be downloaded here: 
https://github.com/buggins/soundtab/releases



Best regards,
Vadim


Re: [Slides] Generic Low Level Programming with D - The Better C for your Business

2016-10-28 Thread Johan Engelen via Digitalmars-d-announce

On Friday, 28 October 2016 at 06:46:27 UTC, Ilya Yaroshenko wrote:

https://docs.google.com/presentation/d/1w1cQ8vDluglRIt8Qdnm-sY7kqxoKZxbPEWW6tR3lPpo/edit?usp=sharing


Nice :)

Something I noticed on slide 6-8. The call __adEq2 is pretty 
lame, we have our fix ready: 
https://github.com/ldc-developers/ldc/pull/1719


(you really should number your slides!)

-Johan



Re: [Slides] Generic Low Level Programming with D - The Better C for your Business

2016-10-28 Thread FreeSlave via Digitalmars-d-announce

On Friday, 28 October 2016 at 06:46:27 UTC, Ilya Yaroshenko wrote:

https://docs.google.com/presentation/d/1w1cQ8vDluglRIt8Qdnm-sY7kqxoKZxbPEWW6tR3lPpo/edit?usp=sharing


Thanks. Was it for live presentation? Is there a video?

And where is this fox from?


Re: [Slides] Generic Low Level Programming with D - The Better C for your Business

2016-10-28 Thread e-y-e via Digitalmars-d-announce

On Friday, 28 October 2016 at 06:46:27 UTC, Ilya Yaroshenko wrote:

https://docs.google.com/presentation/d/1w1cQ8vDluglRIt8Qdnm-sY7kqxoKZxbPEWW6tR3lPpo/edit?usp=sharing


Thanks for uploading these!


[Slides] Generic Low Level Programming with D - The Better C for your Business

2016-10-28 Thread Ilya Yaroshenko via Digitalmars-d-announce

https://docs.google.com/presentation/d/1w1cQ8vDluglRIt8Qdnm-sY7kqxoKZxbPEWW6tR3lPpo/edit?usp=sharing


Re: Comparing compilation time of random code in C++, D, Go, Pascal and Rust

2016-10-28 Thread Sebastien Alaiwan via Digitalmars-d-announce

On Thursday, 27 October 2016 at 12:11:09 UTC, Johan Engelen wrote:

On Thursday, 27 October 2016 at 06:43:15 UTC, Sebastien Alaiwan
If code generation/optimization is the bottleneck, a 
"ccache-for-D" ("dcache"?) tool might be very beneficial.


See 
https://johanengelen.github.io/ldc/2016/09/17/LDC-object-file-caching.html


I also have a working dcache implementation in LDC but it still 
needs some polishing.
Hashing the LLVM bitcode ... how come I didn't think about this 
before!
Unless someone manages to do the same thing with gdc + GIMPLE, 
this could very well be the "killer" feature of LDC ...


Having a the fastest compiler on earth still doesn't provide 
scalability ; interestingly, when I build a full LLVM+LDC 
toolchain, the longest step is the compilation of the dmd 
frontend. It's the only part that is:

1) not cached: all the other source files from LLVM are ccache'd.
2) sequential: my CPU load drops to 12.5%, although it's near 
100% for LLVM.