Re: Kotlin Meta and CT programming vs D

2025-01-04 Thread Dom DiSc via Digitalmars-d-learn
On Friday, 3 January 2025 at 04:28:36 UTC, Jo Blow wrote: On Wednesday, 25 December 2024 at 11:24:00 UTC, Dom DiSc wrote: On Wednesday, 25 December 2024 at 01:45:18 UTC, Jo Blow wrote: I think the real problem is that we've been building on systems that were build on very primitive ideas and so

Re: Kotlin Meta and CT programming vs D

2025-01-03 Thread monkyyy via Digitalmars-d-learn
On Friday, 3 January 2025 at 04:28:36 UTC, Jo Blow wrote: 30 years ago most entry level programmers were terrible. Because of evolution current entry level programmers are typically the equivalent of a seasoned programmer 30 years ago. Many kids now days are programming when most kids back th

Re: Kotlin Meta and CT programming vs D

2025-01-02 Thread Jo Blow via Digitalmars-d-learn
On Wednesday, 25 December 2024 at 11:24:00 UTC, Dom DiSc wrote: On Wednesday, 25 December 2024 at 01:45:18 UTC, Jo Blow wrote: I think the real problem is that we've been building on systems that were build on very primitive ideas and so it's a constantly piling on of ad-hoc changes that may or

Re: Kotlin Meta and CT programming vs D

2024-12-25 Thread Dom DiSc via Digitalmars-d-learn
On Wednesday, 25 December 2024 at 01:45:18 UTC, Jo Blow wrote: I think the real problem is that we've been building on systems that were build on very primitive ideas and so it's a constantly piling on of ad-hoc changes that may or may not evolve into something more and then a constant need to

Re: Kotlin Meta and CT programming vs D

2024-12-24 Thread Jo Blow via Digitalmars-d-learn
On Monday, 23 December 2024 at 12:02:47 UTC, Renato Athaydes wrote: On Thursday, 19 December 2024 at 06:04:33 UTC, Jo Blow wrote: But there have been several cases when I have asked others about trying to do certain "compile time" things in Kotlin that say it can't be done. It seems that there

Re: Kotlin Meta and CT programming vs D

2024-12-23 Thread Renato Athaydes via Digitalmars-d-learn
I forgot to mention, Kotlin also has some features that rely on compiler plugins, like serialization: https://kotlinlang.org/docs/serialization.html#formats, usually done via Gradle plugins. This would normally be done via reflection, as Google's JSON library for Java, Gson, does. But by havi

Re: Kotlin Meta and CT programming vs D

2024-12-23 Thread Renato Athaydes via Digitalmars-d-learn
On Thursday, 19 December 2024 at 06:04:33 UTC, Jo Blow wrote: But there have been several cases when I have asked others about trying to do certain "compile time" things in Kotlin that say it can't be done. It seems that there is actually no compile time programming in Kotlin(and I guess Java t

Re: Kotlin Meta and CT programming vs D

2024-12-22 Thread Jo Blow via Digitalmars-d-learn
On Sunday, 22 December 2024 at 10:56:26 UTC, Sergey wrote: On Thursday, 19 December 2024 at 06:04:33 UTC, Jo Blow wrote: In any case, it was a great experience for the first month or so but then when I started looking for more complicated "D like" features such as CT/meta programming they don't

Re: Kotlin Meta and CT programming vs D

2024-12-22 Thread Sergey via Digitalmars-d-learn
On Thursday, 19 December 2024 at 06:04:33 UTC, Jo Blow wrote: In any case, it was a great experience for the first month or so but then when I started looking for more complicated "D like" features such as CT/meta programming they don't seem to actually exist... at least not in the way one thin

Re: Kotlin Meta and CT programming vs D

2024-12-21 Thread Jo Blow via Digitalmars-d-learn
On Sunday, 22 December 2024 at 00:00:05 UTC, H. S. Teoh wrote: On Sat, Dec 21, 2024 at 07:06:12PM +, Jo Blow via Digitalmars-d-learn wrote: [...] There really should be some push to get D integrated into some major platform. Maybe D could be the "JNI language" for the Android platform? Th

Re: Kotlin Meta and CT programming vs D

2024-12-21 Thread H. S. Teoh via Digitalmars-d-learn
On Sat, Dec 21, 2024 at 07:06:12PM +, Jo Blow via Digitalmars-d-learn wrote: [...] > There really should be some push to get D integrated into some major > platform. Maybe D could be the "JNI language" for the Android > platform? This is the difference between a corporate-backed and funded pro

Re: Kotlin Meta and CT programming vs D

2024-12-21 Thread Jo Blow via Digitalmars-d-learn
On Thursday, 19 December 2024 at 11:13:38 UTC, Jürgen Reichmann wrote: Hi Jo, metaprogramming in Kotlin is possible by writing compiler plugins see https://kt.academy/article/ak-compiler-plugin or https://resources.jetbrains.com/storage/products/kotlinconf2018/slides/5_Writing%20Your%20First%

Re: Kotlin Meta and CT programming vs D

2024-12-21 Thread Jo Blow via Digitalmars-d-learn
On Thursday, 19 December 2024 at 10:31:54 UTC, H. S. Teoh wrote: On Thu, Dec 19, 2024 at 06:04:33AM +, Jo Blow via Digitalmars-d-learn wrote: [...] I'm wondering if it would be worth the effort to try to get D to work with android studio since it can compile to all those. E.g., write the je

Re: Kotlin Meta and CT programming vs D

2024-12-19 Thread Jürgen Reichmann via Digitalmars-d-learn
Hi Jo, metaprogramming in Kotlin is possible by writing compiler plugins see https://kt.academy/article/ak-compiler-plugin or https://resources.jetbrains.com/storage/products/kotlinconf2018/slides/5_Writing%20Your%20First%20Kotlin%20Compiler%20Plugin.pdf An alternative approach would be https:

Re: Kotlin Meta and CT programming vs D

2024-12-19 Thread H. S. Teoh via Digitalmars-d-learn
On Thu, Dec 19, 2024 at 06:04:33AM +, Jo Blow via Digitalmars-d-learn wrote: [...] > I'm wondering if it would be worth the effort to try to get D to work > with android studio since it can compile to all those. E.g., write the > jetpack compose code in kotlin and hook up the business in with D

Re: Kotlin Meta and CT programming vs D

2024-12-18 Thread zjh via Digitalmars-d-learn
On Thursday, 19 December 2024 at 06:04:33 UTC, Jo Blow wrote: I used to program in D heavily many years ago then stopped because, basically, the D ecosystem sucks. Amazing language but getting anything significant done was a PITA. D is a better version of `C++`.

Kotlin Meta and CT programming vs D

2024-12-18 Thread Jo Blow via Digitalmars-d-learn
I used to program in D heavily many years ago then stopped because, basically, the D ecosystem sucks. Amazing language but getting anything significant done was a PITA. Anyways, I moved to Kotlin/android to write some apps about 2 months ago and made great progress(I did more in 2 weeks than