Dada, an experimental new programming language
11–20 of 428 posts
Re: Dada, an experimental new programming language
#12Otherwise, the idea of creating something close to rust but without the complexity sounds interesting. I just hope they don't stick to that name.
Re: Dada, an experimental new programming language
#13Their Hello, Dada! example: print("...").await I'm coming from Python, and I can't help but ask: If my goal as a programmer is to simply print to the console, why should I care about the await? This already starts with a non zero complexity and some cognitive load, like the `public static void main` from Java.
Re: Dada, an experimental new programming language
#14Re: Dada, an experimental new programming language
#15Why the name and the logo? Couldn't find info about it. Otherwise, the idea of creating something close to rust but without the complexity sounds interesting. I just hope they don't stick to that name.
Re: Dada, an experimental new programming language
#16Re: Dada, an experimental new programming language
#17Their Hello, Dada! example: print("...").await I'm coming from Python, and I can't help but ask: If my goal as a programmer is to simply print to the console, why should I care about the await? This already starts with a non zero complexity and some cognitive load, like the `public static void main` from Java.
I'd say you want something like 'debug_msg()' for this. 'print()' should be async because it does IO. In the real world most likely you'd see the output once you yield.
Re: Dada, an experimental new programming language
#18Earlier quoted context omitted.
niko judging from Github commits https://github.com/dada-lang/dada/graphs/contributors
ah, thank you! I couldn't find anything on the website itself, should have thought to look at the code.
Re: Dada, an experimental new programming language
#19Their Hello, Dada! example: print("...").await I'm coming from Python, and I can't help but ask: If my goal as a programmer is to simply print to the console, why should I care about the await? This already starts with a non zero complexity and some cognitive load, like the `public static void main` from Java.
The reasoning with await is valid, it's an I/O call, but the await should maybe be hidden inside the print then?
Re: Dada, an experimental new programming language
#20If the claim that its performance will be similar to Rust's if you add type annotations, this could become a really attractive language! As easy as JavaScript to write, as fast as Rust when the extra effort to write it justifies it.
There’s no claim to be as easy as javascript to write. Rusts “difficulty” stems from its single ownership model, and this model is “different” not “easier”. https://dada-lang.org/docs/dyn_tutorial/permissions