<p>“Laugh all you want, there is absolutely no reason why a kernel could not be written in python. Not python alone, but no kernel is written in pure C either.”
- He’s laughing because the notion of writing an OS in Python is almost preposterous. Reasonable people know that.</p>
<p>"The problem is you dont. When I made the comments about the relationship between python and C you didn’t see and dint understand the link between them. It seems you still dont, which Is why I suggested a deep look. "</p>
<p>“You do understand that python is basically a OO version of C.”
- C++ is an OO version of C. Python is a multiparadigm programming language with C-like (to varying degrees, and not so much, really) syntax.</p>
<p>“The underlying constructs of python are C.”
- Granted, but it need not be so. Accident, not essence.</p>
<p>“So when we write a Python program, all the types we use and everything we write is basically a higher and easier to use C. If say I want to sort a vector in python, the algorithm to do so is written in C, As is 100% of pythons huge system library”
- That’s a cop out and you know it. That’s just saying that when speed is a factor, use C. That’s what I said. The fact that you can call C from Python doesn’t make Python as fast as C.</p>
<p>“If you actually knew any of this, I cant see any reason why you made all of the clueless comments.”
- All of your comments are inflammatory and ignorant. If anything, this is the pot calling the kettle black.</p>
<p>“One of pythons main features and the reason so many people use it, is its syntax. ugly? the code is incredibly clean and incredibly concise.”
- It’s concise, but that doesn’t make it clean and it doesn’t make it readable, in my opinion.</p>
<p>“The difference of variable declaration has nothing to do with whether the language is programming or scripting.”
- No, but dynamic typing and ‘on the fly’ variable declaration is very common in scripting languages and not so much in programming languages. Reasonable people accept this as true.</p>
<p>“You say you think the syntax of Prolog is more elegant. Prolog is a declarative language with almost no structure or control flow.”
- It is not an imperative language, true. That doesn’t mean it has weak syntax or is less than beautiful.</p>
<p>“You claim to like Prolog and not like Python based on the pythons dynamic typing. Though Prolog is itself a dynamically types language.”
- I apologize if you got this from what I wrote. I know that Prolog is not a statically typed language with forced type declarations. I see this as a shortcoming of Prolog. I would much prefer a Prolog with static types. It seems like such a thing should be possible.</p>
<p>“The thing I am most shocked at is you thinking that Lisp or scheme is statically typed.”
- Nope, sorry if you misinterpreted what I said. If I said it in a less-than-clear fashion, again, you’re not so innocent yourself.</p>
<p>“Sorry pal, but Lisp is what started the whole reign of dynamically typed languages. So from what I get you like Prolog and Lisp due to their static type checking(like Ada), though they both do dynamic type checking. In fact Python and Lisp/Scheme are both strongly typed.”
- I know all of this. It makes you look like you’re trying to insult to assume anyone who talks about it doesn’t know. It’s so trivial it’s almost embarrassing you’re making such a big deal out of it.</p>
<p>“BTW Prolog is another great language to write kernels in, and its not C.”
- “Great”? You’re being facetious now.</p>
<p>“You still need people to write the code, to input it into the computer. Your way is incredibly expensive and its something that should be a personnel choice.”
- No, you can “solve” computational problems without running a line of code. I agree that you wouldn’t want to do this to make all software, but I feel like it would be a better way to begin programming… for learning purposes. The computer is a crutch for the beginner… and in fact many people never get past the beginning phase because of the crutch. Beginning programs in introductory programming courses are mostly teaching syntax of a programming language… It seems like a shame.</p>
<p>"The TIOBE rankings are that of businesses using the language. Im sure they are on the Bandwagon on a nearly 20 year old language. "
- Please make sense. And for that matter, take the time to type in your posts without blatant typos/grammar issues/etc. That’s basic courtesy.</p>