News for hackers. Stuff that matters.
Re:Let’s Build a Simple Database (2017) by chalst on Friday April 05, 2019 @09:51AM (#19582450)
I'd say that if you want to learn Rust, then this is an excellent project. I'm not convinced that if you want to learn how databases work that Rust is a better language than C: it's more complex in that the checker makes you think about lots of non-db things, and simpler in maybe a non-helpful way, in that the language provides lots of high-level facilities that it might be good to work out explicitly.
Re:Let’s Build a Simple Database (2017) by sten on Friday April 05, 2019 @10:46AM (#19583029)
Could I trouble you to give me an example of the second one? Something rust provides that might be better to learn the hard way?
Re:Let’s Build a Simple Database (2017) by chalst on Friday April 05, 2019 @02:19PM (#19585489)
I think that dynamically sized types make life easier in places where it might be good to figure out how to manipulate the concrete data.

https://doc.rust-lang.org/reference/dynamically-sized-types....

Re:Let’s Build a Simple Database (2017) by sten on Friday April 05, 2019 @05:35PM (#19587276)
Thanks
Re:Let’s Build a Simple Database (2017) by parthdesai on Friday April 05, 2019 @10:28AM (#19582838)
Considering that i'll have to learn C for this as well, i think going with Rust just looks more interesting.