Writing a DB Python or Ruby
- by WojonsTech
I am planning on writing a database. I know it's crazy and people will tell me there is no good reason to do so. I am really using it to get better at programming overall, this database wont be used in production. I am planning on writing it Ruby or Python. I have some experience with both languages, but no job or large project experience.
I don't want this to be a this is better than that randomly I really need some facts. The things that I need to know are which of the language are better at the following things.
Searching arrays/hashes?
Sorting?
Threading?
Sockets?
Memory management?
Disk Reads/Writes?
base64 encode/decode?
Again this is just a project for myself. I will port it on github for the hell of it, but I don't expect it to be amazing or going up against mysql or mongodb any day.