• Re: C/C++ programming

    From Mr. Man-wai Chang@toylet.toylet@gmail.com to comp.lang.c++,alt.free.newsservers,news.software.readers on Mon Jun 1 17:24:32 2026
    From Newsgroup: news.software.readers

    On 6/1/2026 4:19 PM, boltar@caprica.universe wrote:

    None. And I am NOT yet an expert C/C++ programmer. :)

    While its certainly possible to become an expert in C and know the entire language, I'm not sure its possible - at least for a human - for modern C++.


    Graphics programming and hence object-oriented programming is too harsh.
    Not for the faint-hearted including me. :)
    --

    @~@ Simplicity is Beauty! Remain silent! Drink, Blink, Stretch!
    / v \ May the Force and farces be with you! Live long and prosper!!
    /( _ )\ https://sites.google.com/site/changmw/
    ^ ^ https://github.com/changmw/changmw
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Chris M. Thomasson@chris.m.thomasson.1@gmail.com to comp.lang.c++,alt.free.newsservers,news.software.readers on Mon Jun 1 15:35:50 2026
    From Newsgroup: news.software.readers

    On 6/1/2026 2:24 AM, Mr. Man-wai Chang wrote:
    On 6/1/2026 4:19 PM, boltar@caprica.universe wrote:

    None. And I am NOT yet an expert C/C++ programmer. :)

    While its certainly possible to become an expert in C and know the entire
    language, I'm not sure its possible - at least for a human - for
    modern C++.


    Graphics programming and hence object-oriented programming is too harsh.
    Not for the faint-hearted including me. :)


    Try programming dx12 from scratch. I have, getting good PBR lights and
    fun things. A single memcpy for update, ect... but its not an easy tasty
    piece of cake wrt coming from moden opengl. Wow.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Mr. Man-wai Chang@toylet.toylet@gmail.com to comp.lang.c++,alt.free.newsservers,news.software.readers on Tue Jun 2 12:06:33 2026
    From Newsgroup: news.software.readers

    On 6/2/2026 6:35 AM, Chris M. Thomasson wrote:


    Try programming dx12 from scratch. I have, getting good PBR lights and
    fun things. A single memcpy for update, ect... but its not an easy tasty piece of cake wrt coming from moden opengl. Wow.

    You talking about game programming? Even more harsh then typical GUI stuffs.
    --

    @~@ Simplicity is Beauty! Remain silent! Drink, Blink, Stretch!
    / v \ May the Force and farces be with you! Live long and prosper!!
    /( _ )\ https://sites.google.com/site/changmw/
    ^ ^ https://github.com/changmw/changmw
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Chris M. Thomasson@chris.m.thomasson.1@gmail.com to comp.lang.c++,alt.free.newsservers,news.software.readers on Tue Jun 2 13:30:25 2026
    From Newsgroup: news.software.readers

    On 6/2/2026 1:29 PM, Chris M. Thomasson wrote:
    On 6/1/2026 9:06 PM, Mr. Man-wai Chang wrote:
    On 6/2/2026 6:35 AM, Chris M. Thomasson wrote:


    Try programming dx12 from scratch. I have, getting good PBR lights and
    fun things. A single memcpy for update, ect... but its not an easy tasty >>> piece of cake wrt coming from moden opengl. Wow.

    You talking about game programming? Even more harsh then typical GUI
    stuffs.


    Yeah. Game programming. dx12 makes my head itch a little...



    But, making the gui for it? Take a look at imgui.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Mr. Man-wai Chang@toylet.toylet@gmail.com to comp.lang.c++,alt.free.newsservers,news.software.readers on Wed Jun 3 13:06:31 2026
    From Newsgroup: news.software.readers

    On 6/3/2026 4:30 AM, Chris M. Thomasson wrote:
    On 6/2/2026 1:29 PM, Chris M. Thomasson wrote:
    Try programming dx12 from scratch. I have, getting good PBR lights and >>>> fun things. A single memcpy for update, ect... but its not an easy tasty >>>> piece of cake wrt coming from moden opengl. Wow.

    Yeah. Game programming. dx12 makes my head itch a little...

    But, making the gui for it? Take a look at imgui.


    Can you use Win32API or maybe DotNet within DirectX as GUI? I have never written any games before, pardon my ignorance.
    --

    @~@ Simplicity is Beauty! Remain silent! Drink, Blink, Stretch!
    / v \ May the Force and farces be with you! Live long and prosper!!
    /( _ )\ https://sites.google.com/site/changmw/
    ^ ^ https://github.com/changmw/changmw
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Chris M. Thomasson@chris.m.thomasson.1@gmail.com to comp.lang.c++,alt.free.newsservers,news.software.readers on Wed Jun 3 14:54:17 2026
    From Newsgroup: news.software.readers

    On 6/2/2026 10:06 PM, Mr. Man-wai Chang wrote:
    On 6/3/2026 4:30 AM, Chris M. Thomasson wrote:
    On 6/2/2026 1:29 PM, Chris M. Thomasson wrote:
    Try programming dx12 from scratch. I have, getting good PBR lights and >>>>> fun things. A single memcpy for update, ect... but its not an easy
    tasty
    piece of cake wrt coming from moden opengl. Wow.

    Yeah. Game programming. dx12 makes my head itch a little...

    But, making the gui for it? Take a look at imgui.


    Can you use Win32API or maybe DotNet within DirectX as GUI? I have never written any games before, pardon my ignorance.


    I think so in a sense. You can make your gui separate and another window
    for dx12, opengl, ect... You should be able to make a window in app
    space to render dx12/opengl on, cannot remember right now.

    Fwiw, imgui is actually perfect for this for it renders directly into
    your DX12/OpenGL framebuffer, so your whole UI lives inside the render
    window itself. No separate Win32 panel needed. Super easy to integrate.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Chris M. Thomasson@chris.m.thomasson.1@gmail.com to comp.lang.c++,alt.free.newsservers,news.software.readers on Wed Jun 3 14:56:24 2026
    From Newsgroup: news.software.readers

    On 6/3/2026 2:54 PM, Chris M. Thomasson wrote:
    On 6/2/2026 10:06 PM, Mr. Man-wai Chang wrote:
    On 6/3/2026 4:30 AM, Chris M. Thomasson wrote:
    On 6/2/2026 1:29 PM, Chris M. Thomasson wrote:
    Try programming dx12 from scratch. I have, getting good PBR lights >>>>>> and
    fun things. A single memcpy for update, ect... but its not an easy >>>>>> tasty
    piece of cake wrt coming from moden opengl. Wow.

    Yeah. Game programming. dx12 makes my head itch a little...

    But, making the gui for it? Take a look at imgui.


    Can you use Win32API or maybe DotNet within DirectX as GUI? I have
    never written any games before, pardon my ignorance.


    I think so in a sense. You can make your gui separate and another window
    for dx12, opengl, ect... You should be able to make a window in app
    space to render dx12/opengl on, cannot remember right now.

    Fwiw, imgui is actually perfect for this for it renders directly into
    your DX12/OpenGL framebuffer, so your whole UI lives inside the render window itself. No separate Win32 panel needed. Super easy to integrate.

    Actually, I cannot remember how to directly embed a dx12/opengl panel
    into say qt or something. ;^D You should be able to make a window in app
    space to render dx12/opengl on, cannot remember right now. QWindow and QOpenGLWidget? shit happens.
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From Chris M. Thomasson@chris.m.thomasson.1@gmail.com to comp.lang.c++,alt.free.newsservers,news.software.readers on Tue Jun 2 13:29:13 2026
    From Newsgroup: news.software.readers

    On 6/1/2026 9:06 PM, Mr. Man-wai Chang wrote:
    On 6/2/2026 6:35 AM, Chris M. Thomasson wrote:


    Try programming dx12 from scratch. I have, getting good PBR lights and
    fun things. A single memcpy for update, ect... but its not an easy tasty
    piece of cake wrt coming from moden opengl. Wow.

    You talking about game programming? Even more harsh then typical GUI
    stuffs.


    Yeah. Game programming. dx12 makes my head itch a little...


    --- Synchronet 3.22a-Linux NewsLink 1.2