Hello all,I can't say much about the development part itself, but in my experience I've noticed that ChucK is still being used widely at an academic level. I understand it's being used in a few universities that include creative technology programs and computer orchestra courses in their curriculums, including CalArts, Stanford, and VUW (New Zealand). Like Mario mentioned, it is a core part of a few Kadenze courses; I've been involved as a producer/teaching assistant in a couple of them and it seems like it's a popular language among students who are just learning how to code, and musicians who would like to develop more advanced projects. Also, ChucK Racks popped up a couple of months ago, which was pretty exciting. So yeah, I think there's quite a bit going on, but it certainly would be nice to have a more active community (I'm hoping to contribute, and hopefully I'll get to it before too long).About the static strings issue, I think they're kind of in a shady spot. Like Gonzalo mentioned, you can't have static non-primitives in your code, but there is a workaround to this by declaring objects as a reference and then initializing them outside of the class. However, if you try to do this with strings, it will tell you that they're a primitive type and it throws an error. The best hack I've found for this is through arrays (even if the size of the array is 1 in many cases). Here's an example:public class Container {
static string staticString[];
public static void init() {
new string[1] @=> staticString;
"Hello World" @=> staticString[0];
}
public static void print(){
<<< staticString[0] >>>;
}
}
Container.init();
Container.print();
You don't really need an init() function, and you can initialize the array on the actual script, but I usually end up with much larger classes, which is why I like to keep things clean.Hope this helps!Best,JPJP YepezNew Media Artist - Musician - ResearcherWebsite: http://www.jpyepez.com/Email: jpyepezimc@gmail.com-------------------------------------------------------- On Sun, Jan 14, 2018 at 12:19 AM, mario buoninfante <mario.buoninfante@gmail.com> wrote:Hi,
I'd like to ask the same question about the development status.
the only thing I can say is that also if the development seems to be a bit stuck, on the other side I noticed that they're pushing on the educational side (see Kadenze courses), and if you look at the github repository, there's been some update in the last 2 years.
but as you guys said, it's important to know what's the plan ;)
it's a couple of years I'm really diving into ChucK and I strongly believe that is a good programming language which opens up a lot of possibilities that other languages don't.
but at the same time I feel like it's been a bit abandoned (maybe that's a huge word, let's say put aside ;) ) and of course using a "tool" which has an "uncertain future" it's not the best thing.
I wish I was able to offer my contribution to the development, but unfortunately I'm not really into C/C++, I'm more a "scripting language guy" :)
btw, it would be nice to hear what developers and/or other users have to say about it.
cheers,
Mario
On 12/01/18 22:14, Gonzalo wrote:
Yes, I'm wondering the same thing. There's a Facebook group (https://www.facebook.com/groups/1593843507578422/ ) but it doesn't look super active either.
As far as static strings: I'm pretty sure you just can't have static non-primitives. What are you trying to achieve?
Cheers,
Gonzalo
On 13.01.18 00:20, Atte wrote:
Hi
I've been away for a long time and surprised that activity seems to have slowed down a lot, both on the development of new releases chuck and the life of this list. Am I looking at the wrong places? What's the status of chuck development now and in the future?
I really like chuck (mostly the timing and sporking including Machine.add()), should I look other places for a language that will privide a more secure future? I'm on linux and looked at Csound, Super Collider and PD, each has it's challenges in how I work (realtime generative and algorithmic MIDI), python seems to have realtime problems (garbage collection at random points). Any idea what former chuck users have switched to now?
Back to chuck! A problem that I never been able to solve, static strings:
public class A {
"b" @=> static string B;
public static void C(){
<<<B>>>;
}
}
That throws an error, how would I go about what I'm trying to do?
Cheers
_______________________________________________
chuck-users mailing list
chuck-users@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
_______________________________________________
chuck-users mailing list
chuck-users@lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/chuck- users