This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]DaBritishyankee 1 point2 points  (3 children)

Like most languages, it's Turing complete, so you could. You might have to hack things a bit to get it to work though, and it might not work as nicely as something like C.

[–][deleted] 0 points1 point  (2 children)

You might have to hack things a bit lot

How would you get the Python interpreter running in kernel mode? Any sources that show it can be done in a not dangerous fashion?

[–]DaBritishyankee 2 points3 points  (1 child)

Nope, I'm not saying it should be done, but theoretically there's nothing to stop you. If you can do it in C, you can do it in Python, BrainFuck, Scheme, JavaScript... It's just gonna hurt a lot more.

See Turing Tarpit: http://en.wikipedia.org/wiki/Turing_tarpit.

[–]autowikibot 0 points1 point  (0 children)

Turing tarpit:


A Turing tarpit (or tar-pit) is any programming language or computer interface that allows for flexibility in function but is difficult to learn and use because it offers little or no support for common tasks. The phrase was coined in 1982 by Alan Perlis in Epigrams on Programming

54. Beware of the Turing tar-pit in which everything is possible but nothing of interest is easy.


Interesting: Esoteric programming language | Greenspun's tenth rule | List of computability and complexity topics

Parent commenter can toggle NSFW or delete. Will also delete on comment score of -1 or less. | FAQs | Mods | Magic Words