A web server in x86 assembly language
intel-assembler.it
A web server in x86 assembly language
1–10 of 21 posts
Re: A web server in x86 assembly language
#2And does this webserver serve many simultaneous connections? I doubt it. You'd learn more about proper webserver programming techniques by studying the source code to nginx [1] or mongrel2 [2].
As an example, it's more useful in showing how to build GUIs in assembly, and that's not very productive. You do get small executables, tho.
Re: A web server in x86 assembly language
#3Re: A web server in x86 assembly language
#4duck
Re: A web server in x86 assembly language
#5Hmmm, 90% seems to be glueing Win32 APIs together for a GUI. That's not very exciting in assembly; neither is it significantly more efficient than doing it from C. It's also very unreadable, and I fear for maintainability. And does this webserver serve many simultaneous connections? I doubt it. You'd learn more about proper webserver programming techniques by studying the source code to nginx [1] or mongrel2 [2]. As…
Re: A web server in x86 assembly language
#6It's also an example of a Win32 program in assembler, together with a WndProc for a window. Does Win32 require a window if you want to write a web server?
Re: A web server in x86 assembly language
#7Re: A web server in x86 assembly language
#8It's also an example of a Win32 program in assembler, together with a WndProc for a window. Does Win32 require a window if you want to write a web server?
Re: A web server in x86 assembly language
#9Re: A web server in x86 assembly language
#10One might consider the fact that nowadays it's only worth writing "busy code" in assembly, and most or all of a GUI app isn't busy code, but that would be being sensible. A web server might have a few pieces of busy code in it IF it's designed to connect to hundreds or thousands of users at once. It would be good to write those in assembly. :)