Writing Database Software in C / C ++

I have been a self-learning web developer for several years now and usually use C # / ASP.NET, Python, and PHP. But I want to try to advance my skills by doing something more advanced. I am looking to try to create a database program such as SQLite, or mini-MySQL in C / C ++, just to practice and learn new things.

EDIT: My project doesn't have to be an RDBMS. It could be something like a simple web server or something else. Just something to see if I like to do such things more than web development.

However, I cannot find any book or textbooks on the Internet that teaches this kind of thing. Does anyone know where I can find resources on this? I have a C book that teaches the language itself, but I learn how to think a lot about things when I try to create something specific, like a database engine, etc. Thanks for any input.

+4
source share
5 answers

In the literature, I could recommend something like Accelerated C ++ or Thinking in C ++. I also recently got my rights to Code Complete, found it on a shelf at work, and it is as good as people say. Consultations of agnostics in hard language.

You should also separate C and C ++, they may seem similar, and people combine them together, but these are really two different ways of thinking. Now the new C ++ 11 makes the differences even more important to understand, C ++ is simply not C with classes.

+6
source

Why don't you try something a little less like rays? Its very easy to write a simple one that can create interesting images, and something that you can return again and again to add features.

+5
source

You can read the book Learn C the Hard Way by Zed Shaw. He teaches how to write C using Make and Valgrind . In the following exercises, you write your own software installer and tiny web server. Best of all, it's free.

+5
source

Add resource http://nptel.iitm.ac.in/courses.php?disciplineId=106

This is often a great starting point for in-depth knowledge of everything from algorithms, dbms, graphics to real-time systems. Complete video courses / lectures or written course materials. A place to expand knowledge or get ideas.

For example, you can check out the video lectures on dbms development -> http://nptel.iitm.ac.in/video.php?subjectId=106106093

... Or why not this one about artificial intelligence β†’ http://nptel.iitm.ac.in/video.php?subjectId=106105077

There are no c / C ++ examples, but they deploy every part, templates, strategy, and algorithms.

... The only sad thing is that most professors speak the worst English.

+1
source

Well after @MitchWheat said that even writing something like SQLite was quite ambitious, I decided to try making a small web server and found this post that included some links for that. Thanks for the input.

0
source

Source: https://habr.com/ru/post/1387676/


All Articles