Opening a Window in C Without Libraries Speedrun

CODE: pastebin.com/d1SUezt4
It's just that easy
Twitch: / tkap1
Twitter: / paktkap
Discord: / discord

Пікірлер: 43

  • @Reality-rg9ud
    @Reality-rg9ud2 күн бұрын

    Who's gonna tell this guy that the Windows API is a set of libraries

  • @mosomiliardaru
    @mosomiliardaru2 күн бұрын

    "Without libraries" proceeds to use windows api and openGL api

  • @Tkap

    @Tkap

    2 күн бұрын

    Can't open a window in Windows without using functions from Windows. OpenGL was not related to opening the window at all, only drawing a triangle, which was a bonus.

  • @sirsneakybeaky

    @sirsneakybeaky

    19 сағат бұрын

    *scoffs* you mean you didnt write your own kernal and display driver from scratch? /s ​@@Tkap

  • @eadwacer524

    @eadwacer524

    2 сағат бұрын

    ​@@Tkap You can with the ASM instruction syscall or sysenter to send to the kernel but you'd basically just be reimplementing WIN32 user space which you end up calling.

  • @notpythonics
    @notpythonics9 күн бұрын

    You are using Windows api to open the window, you goofy.

  • @lordeji655

    @lordeji655

    2 күн бұрын

    It's technically not possible to not use an API or you should build your own OS if you really want to create a Window "from scratch"

  • @axyl_
    @axyl_29 күн бұрын

    🔥Speedrun for Vulkan when? Kappa

  • @Slavasil

    @Slavasil

    2 сағат бұрын

    you mean καππα?

  • @cutemath8225
    @cutemath822529 күн бұрын

    *cries in wayland*

  • @sebastianwhiffen
    @sebastianwhiffen3 күн бұрын

    The TAS of this would just be ctrl + v

  • @itswilliamanimate
    @itswilliamanimateКүн бұрын

    why are people complaining over #include lmao they want you to write your own operating system

  • @undofix
    @undofixКүн бұрын

    guys he meant no third-party libs lol it's obvious you can't write anything with no libs at all nice speedrun by the way!

  • @mono9613
    @mono96134 күн бұрын

    Oh, this is so cool. I'd love to see more content like this!

  • @Superku
    @Superku29 күн бұрын

    Holy!! Here before 1 million views.

  • @gloriosis

    @gloriosis

    11 күн бұрын

    F

  • @artisticmclaren
    @artisticmclaren3 күн бұрын

    you do know that opengl stands for open graphics library right?

  • @Tkap

    @Tkap

    3 күн бұрын

    Good thing it played no part in opening the window then

  • @johanrojassoderman5590
    @johanrojassoderman55908 күн бұрын

    I wonder why microsoft doesn't force you to define all environment variables and manually choose the screen while you're on it.

  • @amooseinaroom1228
    @amooseinaroom122829 күн бұрын

    What a bait video, it should have been "Open a window AND displaying a gl triangle in C Without Libraries". I feel cheated.

  • @ordon6324
    @ordon632410 күн бұрын

    >no libraries >#include next

  • @Tkap

    @Tkap

    10 күн бұрын

    Show me how you open a window in Windows without using functions provided by Windows

  • @ordon6324

    @ordon6324

    10 күн бұрын

    write them yourself rookie

  • @AgressiveBanana

    @AgressiveBanana

    10 күн бұрын

    ​@@Tkap you inject assembly into dwm.exe and force it to open a window for you

  • @Reality-rg9ud

    @Reality-rg9ud

    2 күн бұрын

    @@Tkap Qt devs and any other graphical interface library devs are magicians then, got it!

  • @Tkap

    @Tkap

    22 сағат бұрын

    @@Reality-rg9ud They do use windows github.com/qt/qtbase/blob/59645a409b4b2a68a329b61d7e5837b6fd651a48/src/corelib/global/qt_windows.h#L28

  • @pushqrdx
    @pushqrdx28 күн бұрын

    very l33t and epic

  • @progress2171
    @progress217129 күн бұрын

    Amazing

  • @AE4i1
    @AE4i1Күн бұрын

    based

  • @federicoreina7732
    @federicoreina773214 күн бұрын

    0:53 bro realmente dijo Ñ

  • @leonhrad
    @leonhrad29 күн бұрын

    -nolog

  • @Tkap

    @Tkap

    29 күн бұрын

    MinorSpellingMistake

  • @arsenbabaev1022
    @arsenbabaev102229 күн бұрын

    BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAT

  • @plainoldcheese
    @plainoldcheeseСағат бұрын

    Lies theres literally 2 libraries

  • @EvanMMO
    @EvanMMO28 күн бұрын

    hi tkap1

  • @Tkap

    @Tkap

    28 күн бұрын

    My favorite streamer

  • @outerspacedog
    @outerspacedog2 күн бұрын

    the fast keyboard typing sounds like someone shitting

  • @eadwacer524
    @eadwacer5242 сағат бұрын

    Why no use of syscall? I see LIB usage.