Re: [ros-dev] win32k C++ suggestion
Simply but, do not fix, if it is not broken. C++ is good to go. Let's fix what is broken now before 0.4.0 is released. On Sat, Feb 21, 2015 at 11:49 AM, Aleksey Bragin alek...@reactos.org wrote: I always liked C++, and it was my main development language before I joined ReactOS. Indeed let's not rush, think/discuss through all possible things and then start gradually going for it for code pieces which are good (which means GDI first of all). Regards, Aleksey On 21.02.2015 17:05, Timo Kreuzer wrote: Hi I'd like to propose introducing C++ to win32k. Don't worry, this is not a suggestion to rewrite everything from scratch in C++, but to gradually introduce C++. The reason is not That's what Windows does, but the fact that especially GDI would heavily benefit in terms of code simplicity, clarily and quality from using C++. A lot of the interfaces are already in a C++ object style way, but still code can bypass interfaces and directly modify structure members, even if it is not supposed to be done that way. Unless there are strong objections, I'd post a design / style / roadmap suggestion soon. If people feel strongly about it, we can defer this to after a 0.4.0 release. Regards, Timo ___ Ros-dev mailing list Ros-dev@reactos.org http://www.reactos.org/mailman/listinfo/ros-dev ___ Ros-dev mailing list Ros-dev@reactos.org http://www.reactos.org/mailman/listinfo/ros-dev
Re: [ros-dev] win32k C++ suggestion
Hi Timo, I'd say go for it. I have no strong objection to introduce some changes before 0.4.0, as long as it's not too intrusive or add some real added value (unimplemented modules/parts). I'd like to have it for more than for simplification sake. Some parts of win32k are in a sorry state (nothing new, sadly), but improving/implementing some modules with C++ would be a nice proof of concept. Font engine comes to mind. (Hint, hint ;-)) However, if you feel this is too much of an effort for a beginning, feel free to do whatever you see fit. Regards, Jérôme PS: Admit it, you want to revive the yarotows branch. Le 21/02/2015 15:05, Timo Kreuzer a écrit : Hi I'd like to propose introducing C++ to win32k. Don't worry, this is not a suggestion to rewrite everything from scratch in C++, but to gradually introduce C++. The reason is not That's what Windows does, but the fact that especially GDI would heavily benefit in terms of code simplicity, clarily and quality from using C++. A lot of the interfaces are already in a C++ object style way, but still code can bypass interfaces and directly modify structure members, even if it is not supposed to be done that way. Unless there are strong objections, I'd post a design / style / roadmap suggestion soon. If people feel strongly about it, we can defer this to after a 0.4.0 release. Regards, Timo ___ Ros-dev mailing list Ros-dev@reactos.org http://www.reactos.org/mailman/listinfo/ros-dev ___ Ros-dev mailing list Ros-dev@reactos.org http://www.reactos.org/mailman/listinfo/ros-dev
Re: [ros-dev] win32k C++ suggestion
I always liked C++, and it was my main development language before I joined ReactOS. Indeed let's not rush, think/discuss through all possible things and then start gradually going for it for code pieces which are good (which means GDI first of all). Regards, Aleksey On 21.02.2015 17:05, Timo Kreuzer wrote: Hi I'd like to propose introducing C++ to win32k. Don't worry, this is not a suggestion to rewrite everything from scratch in C++, but to gradually introduce C++. The reason is not That's what Windows does, but the fact that especially GDI would heavily benefit in terms of code simplicity, clarily and quality from using C++. A lot of the interfaces are already in a C++ object style way, but still code can bypass interfaces and directly modify structure members, even if it is not supposed to be done that way. Unless there are strong objections, I'd post a design / style / roadmap suggestion soon. If people feel strongly about it, we can defer this to after a 0.4.0 release. Regards, Timo ___ Ros-dev mailing list Ros-dev@reactos.org http://www.reactos.org/mailman/listinfo/ros-dev
[ros-dev] win32k C++ suggestion
Hi I'd like to propose introducing C++ to win32k. Don't worry, this is not a suggestion to rewrite everything from scratch in C++, but to gradually introduce C++. The reason is not That's what Windows does, but the fact that especially GDI would heavily benefit in terms of code simplicity, clarily and quality from using C++. A lot of the interfaces are already in a C++ object style way, but still code can bypass interfaces and directly modify structure members, even if it is not supposed to be done that way. Unless there are strong objections, I'd post a design / style / roadmap suggestion soon. If people feel strongly about it, we can defer this to after a 0.4.0 release. Regards, Timo smime.p7s Description: S/MIME Cryptographic Signature ___ Ros-dev mailing list Ros-dev@reactos.org http://www.reactos.org/mailman/listinfo/ros-dev