Re: PowerNex - My 64bit kernel written in D

2015-11-26 Thread John Colvin via Digitalmars-d-announce

On Wednesday, 25 November 2015 at 18:06:45 UTC, Wild wrote:

On Wednesday, 25 November 2015 at 16:18:56 UTC, Piotrek wrote:

Hi,

No worries :) Feel free to use whatever license you want. It 
is your code.


However my point was that the code released with license other 
than  Boost (or similar) cannot be included in Phobos. That's 
one thing. The second is, non liberal licenses put burden on 
commercial adoption and put risk on legal actions. I know that 
from the employee POV who worked for many corporations and was 
obliged to follow the rules.


The bottom line is that viral licenses (with varying 
aggressiveness) are in opposition to business. Yes, I know GPL 
is used by companies but the cost is high. To use analogy: you 
can live with viruses, but you need money for medicines.


BTW. Sorry if I sounded to harsh and forgive me stealing your 
announcement for my propaganda ;) I'll try to figure out a way 
to present my ideas in proper way before I have to many 
enemies.


Piotrek


No offense taken.
It's important for a project to have a fitting license.
I chose MPLv2 because I like the code to be free like BSD, for 
it to be able to be located in all sorts of project, but I 
still want the code to remain open source.


I will maybe change the license in the future, if needed.
But currently I don't see a reason to do it.

- Dan


For phobos contributions it doesn't really matter what licence 
the code previously had as long as you can give permission for it 
to be used, which is easy if you're the only author. The 
difficulty comes when you have many authors over many years and 
you need to get all their permissions.


Graillon 1.0, VST effect fully made with D

2015-11-26 Thread Guillaume Piolat via Digitalmars-d-announce
OT: Readers of this NG probably know me under the name "ponce", 
however over the year I was made aware that it's an english swear 
word so I'll post under my IRL name from now on.


I'm happy to release my first commercial software, it's a voice 
effect designed for singers, follows the VST 2.x format, and is 
made entirely with D (LDC 0.16.0 for OSX 64-bit, DMD 2.069.0 for 
the rest).


http://www.auburnsounds.com/products/Graillon.html

Using D has been an interesting ride, even for a long-time user, 
but it went better than expected.


I don't really have a point to prove, but I'm really tired with 
people arguing that a language with GC can't possibly do 
real-time. It's not like you are unallowed to optimize.


I've only ever worked in real-time systems. All of those, except 
for one with 32kB of RAM, could have afforded a GC.
Actually very, very few development time was allocated to deal 
with the GC, if any.


If you want to make audio effects with D too, this one uses 
"dplug" which was announced already: 
https://github.com/p0nce/dplug


Thanks for reading.


Re: Graillon 1.0, VST effect fully made with D

2015-11-26 Thread bitwise via Digitalmars-d-announce
On Thursday, 26 November 2015 at 15:48:48 UTC, Guillaume Piolat 
wrote:
OT: Readers of this NG probably know me under the name "ponce", 
however over the year I was made aware that it's an english 
swear word so I'll post under my IRL name from now on.


[...]


Awesome!

Congrats.

 Bit


Re: Graillon 1.0, VST effect fully made with D

2015-11-26 Thread Guillaume Piolat via Digitalmars-d-announce

On Thursday, 26 November 2015 at 16:33:46 UTC, bitwise wrote:


Awesome!

Congrats.

 Bit


Thanks. You are in the manual BTW, without you and Martin Nowak 
and Jacob Carlborg, there would be no Mac version.


Re: Graillon 1.0, VST effect fully made with D

2015-11-26 Thread Gary Willoughby via Digitalmars-d-announce
On Thursday, 26 November 2015 at 15:48:48 UTC, Guillaume Piolat 
wrote:
I'm happy to release my first commercial software, it's a voice 
effect designed for singers, follows the VST 2.x format, and is 
made entirely with D (LDC 0.16.0 for OSX 64-bit, DMD 2.069.0 
for the rest).


Awesome. Please write a blog post detailing your experiences with 
D while writing this software and share on reddit. It would be 
good PR especially the comments about the GC.


Re: Graillon 1.0, VST effect fully made with D

2015-11-26 Thread tired_eyes via Digitalmars-d-announce
On Thursday, 26 November 2015 at 15:48:48 UTC, Guillaume Piolat 
wrote:




I've just checked demo songs and want to say that the sound is 
amazing! This is an excellent debunking of "GC is slow" myth. And 
it definitely worth a blog post, as mentioned above.


Re: Graillon 1.0, VST effect fully made with D

2015-11-26 Thread Jacob Carlborg via Digitalmars-d-announce

On 2015-11-26 16:48, Guillaume Piolat wrote:


If you want to make audio effects with D too, this one uses "dplug"
which was announced already: https://github.com/p0nce/dplug


I see that you mention Mac OS X 10.6 as the supported version. LDC only 
supports 10.7 and later. The reason is that's the first version that has 
native TLS in OS X. For DMD I wouldn't go below 10.6. I don't think 
there's an official lowest version that is supported but I know that 
there has been some bugs reported specifically for 10.5. 10.4 was never 
properly supported, If I recall correctly.


--
/Jacob Carlborg


Re: Graillon 1.0, VST effect fully made with D

2015-11-26 Thread Guillaume Piolat via Digitalmars-d-announce

On Thursday, 26 November 2015 at 18:47:29 UTC, tired_eyes wrote:
On Thursday, 26 November 2015 at 15:48:48 UTC, Guillaume Piolat 
wrote:




I've just checked demo songs and want to say that the sound is 
amazing! This is an excellent debunking of "GC is slow" myth. 
And it definitely worth a blog post, as mentioned above.


Ahem. No time to do this properly.

Here the content of that blog post:

"I just used @nogc, unregistered threads, also ensured no 
allocation in UI hot loops. @nogc has become a worthy attribute 
in my views, I used to believe it was not necessary but it is. 
Also a bit of -profile=gc"


If blog post there must be, they should probably be targeted at 
musicians.


Re: Graillon 1.0, VST effect fully made with D

2015-11-26 Thread Guillaume Piolat via Digitalmars-d-announce
On Thursday, 26 November 2015 at 19:48:15 UTC, Jacob Carlborg 
wrote:

On 2015-11-26 16:48, Guillaume Piolat wrote:

If you want to make audio effects with D too, this one uses 
"dplug"

which was announced already: https://github.com/p0nce/dplug


I see that you mention Mac OS X 10.6 as the supported version. 
LDC only supports 10.7 and later. The reason is that's the 
first version that has native TLS in OS X. For DMD I wouldn't 
go below 10.6. I don't think there's an official lowest version 
that is supported but I know that there has been some bugs 
reported specifically for 10.5. 10.4 was never properly 
supported, If I recall correctly.


People on OS X 10.6 don't use 64-bit audio plugins, so this 
combination is indeed missing but shouldn't be a problem. The 
transition to 64-bit occured starting with 10.7 if I understand 
correctly.


With the 64-bit binary I only support 10.7+ through LDC.

The big surprise was that DMD can produce OSX shared libraries at 
all. For good measure I've removed TLS usage I know in the 32-bit 
binaries. I haven't seem a change in behaviour.


LDC makes approximatively 2x faster code on vanilla D.
DMD forced me to write some assembly, that made the LDC binary 
slower.


Re: Graillon 1.0, VST effect fully made with D

2015-11-26 Thread Andre Polykanine via Digitalmars-d-announce
GWvDda> Awesome. Please write a blog post detailing your experiences with
GWvDda> D while writing this software and share on reddit. It would be 
GWvDda> good PR especially the comments about the GC.

+1. And I would translate your article into Russian :)

Andre.



Re: Graillon 1.0, VST effect fully made with D

2015-11-26 Thread deadalnix via Digitalmars-d-announce
On Thursday, 26 November 2015 at 17:14:34 UTC, Gary Willoughby 
wrote:
On Thursday, 26 November 2015 at 15:48:48 UTC, Guillaume Piolat 
wrote:
I'm happy to release my first commercial software, it's a 
voice effect designed for singers, follows the VST 2.x format, 
and is made entirely with D (LDC 0.16.0 for OSX 64-bit, DMD 
2.069.0 for the rest).


Awesome. Please write a blog post detailing your experiences 
with D while writing this software and share on reddit. It 
would be good PR especially the comments about the GC.


Everybody like to think what they do is so real time sensitive 
they can't possibly afford a GC. Really, that is just self 
importance getting into the way of good judgement.


Yet, some can't afford a GC. But the set of people that can't 
afford a GC is significantly smaller than the set of people that 
think/say they can't afford a GC.




Re: Graillon 1.0, VST effect fully made with D

2015-11-26 Thread Jacob Carlborg via Digitalmars-d-announce

On 2015-11-26 23:09, Guillaume Piolat wrote:


People on OS X 10.6 don't use 64-bit audio plugins, so this combination
is indeed missing but shouldn't be a problem. The transition to 64-bit
occured starting with 10.7 if I understand correctly.


I don't know what the audio industry is using but the 10.4 was the first 
version to get limited support for 64bit. I would say that 10.6 is a 
fully 64bit compatible OS [1]. Even if the kernel is running in 32bit 
mode you can run applications in 64bit, if the CPU supports that.



With the 64-bit binary I only support 10.7+ through LDC.


Ah, ok, I see.


The big surprise was that DMD can produce OSX shared libraries at all.
For good measure I've removed TLS usage I know in the 32-bit binaries. I
haven't seem a change in behaviour.


Is anyone still using 32bit on OS X?

[1] https://en.wikipedia.org/wiki/Mac_OS_X_Snow_Leopard#64-bit_architecture

--
/Jacob Carlborg