C++ Logo

std-proposals

Advanced search

Re: [std-proposals] AI (was: : Re: [PXXXXR0] Add a New Keyword ¡®undecl¡¯)

From: Kim Eloy <eloy.kim_at_[hidden]>
Date: Thu, 18 Dec 2025 17:48:13 +0000
Thanks for your feedback. This committ contains error with constructors and operator reloads implementation. Now I have fixed these problems.

You could write like this to enable 8 multiple threading:
semantic::from<int>({1,2,3,4,5}). parallel(8). toUnordered().toList();
I think this way is much better than std ranges, do you think so?
I design toOrdered/toUnordered, is to give you alternatives between sequence and performance.

I tell you how I understand cpp:
The class, template and lambda, is something to equals to #define in c language.
I use atomic to ensure multiple thread during data pipeline.
I have implementation for template in c language by #define. And I have implementation of JavaScript version.

Your feedback makes me consider problems run on other devices.
I just have included: array, cmath, random, set, list, mutex, chrono and so on, which just exists on STD libs.
Yours sincerely
Eloy Kim
»ñÈ¡Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: Jonathan Wakely <cxx_at_[hidden]>
Sent: Friday, December 19, 2025 1:35:18 AM
To: Kim Eloy <eloy.kim_at_[hidden]>
Cc: std-proposals_at_[hidden] <std-proposals_at_[hidden]>
Subject: Re: [std-proposals] AI (was: : Re: [PXXXXR0] Add a New Keyword ¡®undecl¡¯)



On Thu, 18 Dec 2025 at 17:24, Kim Eloy <eloy.kim_at_[hidden]<mailto:eloy.kim_at_[hidden]>> wrote:
Your figures is good point. I ever considered to put all code in a header file called hpp. But I didn't think it was a proper behaviour.

So not a "header-only library" then, as I said.


So I separated the code into header file and cpp implementation.
According to your code example, I doubt you get the code as I committing.

Really? I used this commit:

commit e0d44c3e859d7bb309fd1849ed6d2b825274b7df (HEAD -> main, origin/main, origin/HEAD)
Author: Eloy Kim <eloy.kim_at_[hidden]<mailto:eloy.kim_at_[hidden]>>
AuthorDate: Fri Dec 19 00:05:26 2025 +0800
Commit: GitHub <noreply_at_[hidden]<mailto:noreply_at_[hidden]>>
CommitDate: Fri Dec 19 00:05:26 2025 +0800

   Implementation for randomly function.




I have been committing GitHub for 3 hours to make sure that all of you could use.
Now I have committed and make sure all of you could run this project on your computer.
Thanks for your tolerance, I'm trying to improve all of development experience.

And that' great, I'm glad you're learning. But you should realise that you have a lot to learn and this project is nowhere near suitable for a standard proposal.


Now I have made sure that all of you could run this project directly from email files.

As I told you, I'm not using the emails.


Your sincerely,
Eloy Kim

»ñÈ¡Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: Jonathan Wakely <cxx_at_[hidden]<mailto:cxx_at_[hidden]>>
Sent: Friday, December 19, 2025 12:51:56 AM
To: std-proposals_at_[hidden]<mailto:std-proposals_at_[hidden]> <std-proposals_at_[hidden]<mailto:std-proposals_at_[hidden]>>
Cc: Kim Eloy <eloy.kim_at_[hidden]<mailto:eloy.kim_at_[hidden]>>
Subject: Re: [std-proposals] AI (was: : Re: [PXXXXR0] Add a New Keyword ¡®undecl¡¯)



On Thu, 18 Dec 2025 at 15:23, Kim Eloy via Std-Proposals <std-proposals_at_[hidden]<mailto:std-proposals_at_[hidden]>> wrote:
You all only care about AI, instead of professional cpp discussion. I could clearly think your reply is not professional.

I'm not talking about AI, I'm talking about your code.

And, for those syntax errors, you can reply me your compilation arguments and hear file contents. I could easily know you just copy the header file code from email content instead of GitHub.

#include "semantic.h"

int main()
{
  return semantic::from<int>({1,2,3,4,5}).toOrdered().anyMatch([](auto){ return true;});
}


I don't think you understand what "header-only" means.




If you I could run on my phone with just including std libs and could not run on your computer, I doubt how you learn and use cpp.

Bold claim. So you think you can run the code above on your phone? The functions are not defined in headers, it's not a header-only library.

This is not a "header-only library", it's just some code that has no tests. Don't assume I need to learn C++ to understand this.

Received on 2025-12-18 17:48:17