home.social

Search

1000 results for “cpp”

  1. making leaps today with the #DirectX12 renderer. got multiple CBVs setup and upgraded the triangle to a cube.

    #DirectX #GraphicsProgramming #DX12 #CPP

  2. We have a launch date!
    Live++ for Xbox Series X|S will arrive on August 8, 2023.

    Developers for Microsoft's gaming console can finally enjoy the full suite of Live++ hot-reload tools.

    #cpp #hotreload #Xbox

  3. It's pretty bizarre that it's easier to just open godbolt and run code in a cloud somewhere wherever to test a snippet of code than to try running it locally. And that's while I actually have my go-to code editor open.

    #cpp #CompilerExplorer #godbolt

  4. @AliveDevil This bit might be helpful:
    en.cppreference.com/w/cpp/util

    But interesting differences between GCC and clang, and the differences persist for any C++ version >= C++11. I haven't looked at why (traveling), but I hope the sample code helps. (Intentionally -O0)

    Sorry, I don't have access to MSVC right now.

    sigcpp.godbolt.org/z/ofh3E6zoo

    #cpp #cPlusPlus #godbolt

  5. Hey y'all I know I haven't made a post in a while. I've been busy with school. Did I mention that I went back to school?

    Anyway, I'm still working on little projects here and there. Lately I've been working the Redacted Software Sockets library. I've written a TCP server demo that speaks my own protocol called "MProto". The message system is inspired by Plan 9's 9p protocol.

    Right now there's only 4 total messages: THandShake, RHandShake, TPingPong, and RPingPong. I've written a simple client in Julia to communicate with the server and demo the protocol.

    #CPP #Julia #SoftwareDevelopment #NetworkProgramming

  6. Hey y'all I know I haven't made a post in a while. I've been busy with school. Did I mention that I went back to school?

    Anyway, I'm still working on little projects here and there. Lately I've been working the Redacted Software Sockets library. I've written a TCP server demo that speaks my own protocol called "MProto". The message system is inspired by Plan 9's 9p protocol.

    Right now there's only 4 total messages: THandShake, RHandShake, TPingPong, and RPingPong. I've written a simple client in Julia to communicate with the server and demo the protocol.

    #CPP #Julia #SoftwareDevelopment #NetworkProgramming

  7. Hey y'all I know I haven't made a post in a while. I've been busy with school. Did I mention that I went back to school?

    Anyway, I'm still working on little projects here and there. Lately I've been working the Redacted Software Sockets library. I've written a TCP server demo that speaks my own protocol called "MProto". The message system is inspired by Plan 9's 9p protocol.

    Right now there's only 4 total messages: THandShake, RHandShake, TPingPong, and RPingPong. I've written a simple client in Julia to communicate with the server and demo the protocol.

    #CPP #Julia #SoftwareDevelopment #NetworkProgramming

  8. Hey y'all I know I haven't made a post in a while. I've been busy with school. Did I mention that I went back to school?

    Anyway, I'm still working on little projects here and there. Lately I've been working the Redacted Software Sockets library. I've written a TCP server demo that speaks my own protocol called "MProto". The message system is inspired by Plan 9's 9p protocol.

    Right now there's only 4 total messages: THandShake, RHandShake, TPingPong, and RPingPong. I've written a simple client in Julia to communicate with the server and demo the protocol.

    #CPP #Julia #SoftwareDevelopment #NetworkProgramming

  9. Дуже жаль що в C++ немає блоку else після циклів for і while як у Python.

    >>> for i in range(6):
    ...     print(i)
    ... else:
    ...     print('Succesful')
    ... 
    0
    1
    2
    3
    4
    5
    Succesful
    >>>
    

    Або так:

    >>> for i in range(6):
    ...     if i > 3:
    ...         break
    ...     print(i)
    ... else:
    ...     print('Succesful')
    ... 
    0
    1
    2
    3
    >>>
    

    В Python цей блок виконується у випадку успішного завершення циклу, але мені здається було б логічно зробити навпаки, коли цикл завершується примусово командою break або при першій перевірці умова не виконана.

    #програмування #cpp #python #for #while #else #loops #цикли