felixguendling / cista

Cista is a simple, high-performance, zero-copy C++ serialization & reflection library.
https://cista.rocks
MIT License
1.78k stars 113 forks source link

improvements #145

Closed cflaviu closed 1 year ago

felixguendling commented 1 year ago

Thank you for your help!

Some points:

cflaviu commented 1 year ago

Welcome!

  1. I will use that.
  2. The code was usually automatically formatted by my IDE. Maybe I used another editor for certain file. I will apply the formatting for all files.
  3. Well I think it is a matter of perception and adaptation. {} allows the uniform initialization of all variables, basic types and complex types. I prefer that to write less and concise code. But as you prefer.
  4. I reviewed the code file by file and I made the changes ad hoc.
  5. That was difficult. Yes, I will remove it. Thanks
cflaviu commented 1 year ago

How can I run the sanitizers locally, on my PC?

felixguendling commented 1 year ago

How can I run the sanitizers locally, on my PC?

I'm using either those delivered with the Ubuntu GCC (installable via apt-get) or for the fuzzing part, I use the packages from https://apt.llvm.org/. On Mac there are downloads available here and on Windows I would probably use Ubuntu via WSL2.

I reviewed the code file by file and I made the changes ad hoc.

This doesn't mean you need to put them all into one commit. You can select the changes you want to stage for a commit and split the changes into several commits, each with an appropriate message to describe the changes. This will make the job of reviewing your changes easier. Even if you already committed, you can amend your commit or rewrite the git history before pushing.

cflaviu commented 1 year ago

The formatting is failing because I'm using clang-format 12 instead of 14.

cflaviu commented 1 year ago

I could made different commits but the pull requests will fail due clang-format. I have to install clang-format 14.