May 03, 2022
On Sunday, 1 May 2022 at 09:04:11 UTC, Walter Bright wrote:
> On 5/1/2022 12:33 AM, Paulo Pinto wrote:
>> First Lisp compiler was in 1960's....
>
> I know. And Lisp 1 was an interpreter, page 9 of:
>
> http://jmc.stanford.edu/articles/lisp/lisp.pdf
>
> I know perfectly well that interpreters have long evolved to generate native code. I did one myself (Symantec's Java) in the 1990s. I considered it for the Javascript interpreter I wrote around 2000.
>
> I've also seen C interpreters in the 1980s. Why native C compilers still didn't add interpretation to functions is a mystery. The UCSD P-System had interpreting compilers for C, Pascal, and Fortran in the 1980s.
>
> ***** Note that even the C interpreters would reject things like: `int a[foo()];` i.e. CTFE was not part of the *language* semantics. *****
>
> After D did it, suddenly the other native languages moved in that direction. If you have another explanation for the timing, I'd like to hear it.
>
> If you have a reference to a natively compiled language specification that had compile-time constant-expressions that could interpret a function at compile time, I'd appreciate it. No, not an interpreted language that JITs whatever it can.
>
> Thanks!

I give up, as you clearly can't accept a compiled language from 1960, about 30 years older than D, so why bother when it will be dismissed no matter what.


May 03, 2022

On Tuesday, 3 May 2022 at 11:25:48 UTC, Ola Fosheim Grøstad wrote:

>

People who run fast is also not very rare, but there is only one person who runs faster than everyone else. That person will take it all. If you remove the fastest runners, you still have plenty of people that run fast. So I don't buy your argument here.

TLDR; nobody are indispensable. Physics would have landed on Einstein's theory eventually, maybe he saved it a few decades of work. FM synthesis would have been discovered, plenty of computer music scientists have a math background and modulating a sine-wave with a sine-wave is something you would expect a mathematician to do.

So if a genius only can give a few decades of progress, it is very difficult to find examples of individual contribution that significantly alter technological progress by more than a few years.

It is much easier to find example of people who set back progress! (e.g. warfare).

May 03, 2022

On Tuesday, 3 May 2022 at 11:55:25 UTC, Paulo Pinto wrote:

>

I give up, as you clearly can't accept a compiled language from 1960, about 30 years older than D, so why bother when it will be dismissed no matter what.

I guess humans are disposed for being romantic about technology and advances.

Fortunately as more people get higher education it becomes quite apparent that steady progress is the consequences of communities and not of individuals, it makes society much more robust! Modern programming languages are just "artistic expressions" of the aggregate ideas from the community of programming language research. It is all about finding the right mix of features and syntax, not really about the big groundbreaking ideas.

Re, the idea further up the that that 100 Elon Musks would make a big difference, it would just mean that you would have 100 people competing for hype in the press and competing for the same high risk willing capital, most likely ending with 100 underfunded expensive prestige projects. Wouldn't do anything for society.

The romantic view of technological progress is totally unrealistic! (but very seducing as nobody likes to be an ant in a hive)

May 03, 2022

On Monday, 2 May 2022 at 15:22:16 UTC, Ola Fosheim Grøstad wrote:

>

On Monday, 2 May 2022 at 14:34:24 UTC, claptrap wrote:

>

Genius isn't having the idea, it's more often than not making the idea work.

For the most interesting stuff is what comes from people associated with institutions like CCRMA, IRCAM and the like, but I am not sure I would ascribe genius to anything related to audio. Most of it is layers of knowledge, not one amazing discovery.

Yeah genius is probably the wrong word, but what I mean is its like that quote about genius being 1% inspiration and 99% perspiration. Focusing on saying the idea was obvious is doing a disservice to whats involved in actually getting it working.

And to be far almost all human knowledge is built up in layers. Even when someone solves a really hard problem you usually find lots of different people have chipped away at it in different ways.

>

I guess Chowning's FM synthesis could qualify, but in general it is a series of smaller steps.

See to me that's less impressive, I mean I reckon people were doing FM synthesis with analog hardware already. So it was more likely just a refinement, or exploration, it's actually technically pretty simple. I mean real time pitch tracking and artifact free pitch shifting are orders of magnitude harder problems than FM synthesis.

But maybe the implementation was harder because of the limited digital hardware back then?

May 03, 2022

On Tuesday, 3 May 2022 at 14:59:12 UTC, claptrap wrote:

>

Yeah genius is probably the wrong word, but what I mean is its like that quote about genius being 1% inspiration and 99% perspiration. Focusing on saying the idea was obvious is doing a disservice to whats involved in actually getting it working.

Ok, but in DSP I think many ideas are obvious if you know the field, but getting the right mix, the right hacks, the right tweaks, getting it to run fast and making it sound good takes a lot of effort (or can happen as an accident :-). I certainly don't doubt that there are many years of highly skilled effort that has gone into the product as it is today. But that is solid engineering, not a moment of "wowsers!" :-D

>

And to be far almost all human knowledge is built up in layers. Even when someone solves a really hard problem you usually find lots of different people have chipped away at it in different ways.

I think what is special in computer music is that the bottom layer is all about human perception of sound. I think knowledge at that layer is more impressive than the other layers. Like, the technology behind mp3 isn't really all that impressive, what makes it impressive is how they used knowledge about human perception (our lack of ability to distinguish differences/resolutions between certain "sound textures"). When developers manage to create new "illusions" based on perceptional psychology and create algorithms that exploit that you have something special in my eyes (regardless of whether it has any practical application).

>

See to me that's less impressive, I mean I reckon people were doing FM synthesis with analog hardware already. So it was more likely just a refinement, or exploration, it's actually technically pretty simple.

It is difficult to find any individual discovery that is obviously impressive, and I guess putting a sin() into another sin() may seem intuitive, given people already used LFOs. I think the work he put into making it musically useful and expressive creating new types of bell-like sounds is why people emphasis his contribution. I find this wiki-quote a bit funny: «This was Stanford's most lucrative patent at one time, eclipsing many in electronics, computer science, and biotechnology.»

Fooling around with some math expressions paid off! It was apparently first made available in Synclavier I, which I find interesting, upper high end at the time.

>

I mean real time pitch tracking and artifact free pitch shifting are orders of magnitude harder problems than FM synthesis.

Many people worked on that though? It is very much the work of a community… In general most things in audio build on something else. Like, the concept of vocoders is in some way ingenious, but it was invented for speech in telecom by Bell labs in 1930s.

May 03, 2022

On Tuesday, 3 May 2022 at 14:59:12 UTC, claptrap wrote:

>

[... something about music production ...]

This thread is about why D is unpopular. This thread so completely derailed.

May 03, 2022

On Tuesday, 3 May 2022 at 15:52:30 UTC, IGotD- wrote:

>

On Tuesday, 3 May 2022 at 14:59:12 UTC, claptrap wrote:

>

[... something about music production ...]

This thread is about why D is unpopular. This thread so completely derailed.

We are trying to make D popular in audio-programming…

May 03, 2022

On Tuesday, 3 May 2022 at 16:09:30 UTC, Ola Fosheim Grøstad wrote:

>

We are trying to make D popular in audio-programming…

Are you serious? Afaik you are just talking here and never contributed to D. Please do not associate yourself with people walking the walk. Honestly just answered to your many question marks, which I won't fall for again.

May 03, 2022

On Tuesday, 3 May 2022 at 18:41:42 UTC, Guillaume Piolat wrote:

>

On Tuesday, 3 May 2022 at 16:09:30 UTC, Ola Fosheim Grøstad wrote:

>

We are trying to make D popular in audio-programming…

Are you serious?

Of course not, this thread has turned into a chat a long time ago. No need to be upset.

May 03, 2022
On 5/3/2022 12:34 AM, Max Samukha wrote:
> On Monday, 2 May 2022 at 20:24:29 UTC, Walter Bright wrote:
> 
>>
>> It sounds just like how Lisp, Java, and C# work. Nemerle even uses the same interpreter/code generator as C#.
> 
> C# can't do CTFE. For example, in C#, you can't generate code (without resorting to hacks) at compile time based on UDAs the way you can in Nemerle or D. In C#, you usually process UDAs at runtime. I guess that is what you mean when you say "it needs compiler runtime at runtime". Yes, C# needs one because it must defer code generation to runtime.

I'm surprised C# can't do CTFE. I guess its creators never thought of it :-)

Java can create and compile code at runtime. I ran into this when creating a Java native compiler for Symantec. It was used very rarely, but just enough to sink the notion of a native compiler.