you are viewing a single comment's thread.

view the rest of the comments →

[–]JasonCarswellMental Orgy 2 insightful - 2 fun2 insightful - 1 fun3 insightful - 2 fun -  (9 children)

Python. See also /s/FreedIt, and maybe /u/fschmidt, a new co-developer, may like your ideas.

[–]humancorpse[S] 4 insightful - 4 fun4 insightful - 3 fun5 insightful - 4 fun -  (8 children)

i couldnt code with /u/fschmidt , he is in love with java and i am an old C programmer.

java is a very nice language and it has some very special capabilities, not that i am aware of all of them or even understand them.. i went to a computer trade show once and some guy did a little demo of what can be done with java and i was really impressed.

but this project of creating a custom webserver really requires that you get as "close to the metal" as is possible, and java just simply is not the language for this task.

honestly, it would be my preference to write a custom web server in straight assembler because it would be so very compact and fast, but i am much more fluent in C than i am in assembler and really C is fast enough... assembler would really be overkill.. with a web server, the speed bottleneck isnt so much the programming language, but instead is the network lags.. but still i wouldnt choose java for this task.

https://files.catbox.moe/71kbha.png

[–]fschmidt 5 insightful - 2 fun5 insightful - 1 fun6 insightful - 2 fun -  (2 children)

I was programming in C at Bell Labs in 1978. I have done a lot C socket code, so I know exactly how it works. Java is just a better tool for network programming than C is. C is better for other things like writing device drivers. I just use the best tool for the job, whatever it is. Of course all tools made in the West since about 2000 are horrible for any job.

[–]humancorpse[S] 4 insightful - 2 fun4 insightful - 1 fun5 insightful - 2 fun -  (1 child)

truth is, i cant argue with that.. if you have been coding c since 78 then you probably know your business better than most and probably better than i do.

was it bell labs where they created C? omg. did you work with k&r? holy moly.

https://www.bell-labs.com/usr/dmr/www/chist.html

fyi, my first C compiler was the microsoft quickC for dos in 1991. I loved it.

i served eight months in jail in 1993 and i did some c coding for a client while i was locked up.

my largest program that i wrote while locked up was 43.5 legal pad pages long(double spaced).

it was a flat file database manager.. it had full on screen editing. you could create a record, edit a record, save a record, delete a record, and search for a record.

i earned fifty dollars per week while in jail for doing this programming.. my client would deposit the fifty every week onto my jail account and he also gave me a $1500 bonus the day i got out.

it was so wonderful when i walked into his office and i saw that database manager running on an old 286 pc with the amber monitor.. i had only imagined that program in my mind.. i had not one chance to test compile it... it had to be perfect.. and it was.

zero.

[–]fschmidt 2 insightful - 2 fun2 insightful - 1 fun3 insightful - 2 fun -  (0 children)

Yes it was it Bell Labs where they created C and Unix. No I didn't work with K&R.

[–][deleted]  (4 children)

[deleted]

    [–]humancorpse[S] 2 insightful - 2 fun2 insightful - 1 fun3 insightful - 2 fun -  (0 children)

    ouch.

    memory management does have its uses, but i dont think that i want to use that for writing a web server.

    i know how to keep tabs on and prevent overwriting buffers and stuff like that.

    my first computer was an atari 400 in the year of 1983.

    i wrote basic language programs(with line numbers) for about six months and then i dabbled in assembler and then in 1991 i simply fell in love with C language when i purchases the Microsoft QuickC IDE for DOS.

    [–]fschmidt 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 1 fun -  (2 children)

    Not true.

    [–][deleted]  (1 child)

    [deleted]

      [–]fschmidt 2 insightful - 2 fun2 insightful - 1 fun3 insightful - 2 fun -  (0 children)

      Automatic memory management is good. Java has it. I like it. Some modern languages like Rust are rejecting automatic memory management, presumably because it is good.