In this comprehensive tutorial, we explore how to build database-driven applications using Rust and SQLite, covering essential database concepts and practical implementation techniques. We take a hands-on approach to understanding how Rust applications interact with SQLite databases, from designing database schemas and performing CRUD (Create, Read, Update, Delete) operations to handling JSON data and implementing asynchronous database workflows. The tutorial demonstrates how these technologies can work together to build efficient, reliable, and maintainable applications. We also explore the importance of asynchronous programming when developing responsive backend services and modern database-driven systems. Whether you are a beginner learning database integration with Rust or an experienced developer looking to strengthen your backend engineering skills, this episode provides a valuable practical learning experience. What you'll learn:
Setting up SQLite in a Rust project.
Designing and managing database schemas.
Implementing CRUD operations.
Creating, reading, updating, and deleting database records.
Working with JSON data in Rust applications.
Understanding asynchronous database operations.
Structuring database-driven Rust applications.
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
Speaker 1Today, we're going to talk about Rust and SQLite. We're going to work on these six examples where we're going to learn the basics, then play a little bit with JSON and JSONB. And then finally, we will be looking at concurrency. And SQLite is one of my go-to SQL embedded database. And the reason why is because it's very embeddable friendly, then it's relatively light and fast. And last but not least, it's very robust and mature, as well as very well maintained. Okay, enough talking, let's start coding. So first, what you do is you go to your
Speaker 1cargo and we're going to add our Rusculite. So we can use Rosculite or SQLite. And personally, I like a lot Rosculite. It's very focused and it's very well done. Make sure you use the latest one. And then that is important. If you do a library, do not add bundled because usually you add that when you create a binary that use the SQLite. And that will compile the SQLite as part of our binary. So now that we have that, we're following our xp pattern over there and so we're going to go to our c01 simple and
Speaker 1we're going to do a cargo watch example the alias c01 simple and we're in business hello world so far so good okay so the first thing that we're going to do is we're going to create our connection and for now we're going to use the memory and that is simpler when you learn because you can recreate the database every time you run that is a nice way otherwise to open a file it's as simple as doing that So my DB and usually the extension will be a DB3. That will work as well. So if we do that, we're going to import that and that will
Speaker 1create the database. So now we have a connection over there. And as we can see, it's because we have our cargo watch is actually created the database over there. So we're going to go back to our in-memory because it's more flexible as we're going to recreate the schema all the time. we press save that will do the thing and we're going to go there and we're going to remove this file. Okay, so now we have our connection to our SQLite, which could be to a file or in this case in memory. Now, what we're going to do is we're going to create our schema. So we're going to use the connection and we're going to say execute.
Speaker 1So that is when we want to execute a command without getting a result back. And we're going to do the create tables, the person that is the names of the columns, and then we have the So far, so good. And now there's a little thing here that I will recommend to always put in SQLite is a strict mode. And the strict mode here makes sure that you always have the same type in the column. So it will follow these types. And we're going to see that later. If we don't put strict, then we can have mixed types on the same column, which is definitely not something
Speaker 1we want. Then the next step is going to be to do an insert. And so here we are doing an insert. in the person table, which is what we had. And we just insert the name, which is going to be Jen and the year of birth, which is going to be 2000. So we're going to press save and it should compile and no error. But again, we don't print anything. So now we're going to do the select And for the select, we're going to do that, which is we select the person ID, the name, and the year of birth from person for year of birth greater
Speaker 1than a name viable, SQL viable kind of. We do a prepare statement. So that is usually I always do that regardless. And then we do a statement. So that will return a statement. Everything has a life. time of the connection. And then we do the query. And that is a way that in SQLite in the rescue light, we are passing name parameters. So it's kind of an array of tuples. And then in this case, we say this one here, which is going to be that one, and then the 1900, press save is going to compile,
Speaker 1but it's not going to print anything. So now we're going to do the print. So we're going to do a while on the row next. So that is returning an iterator of rows. And every time we have a row over there, which is again, all the lifetime is to the connection. And we're going to as a row to give the second one, which is a get one, which is going to be that guy. And that will give us a name. And then just for demo here, we're going to see that row implement debug as well. So that's nice. So We're going to press save, and
Speaker 1now we should see that. The name, gen, and then we have all of the row here with the types. So that is pretty nice. Now let's see what happens if we are trying, for example, for gen to put a number, but rather to have a number as a number, we're going to have it as a string. So still 2000, let's put 2020, for example, and we're going to press save, and then it works. Boom. So the strict doesn't mean that the value has to be of the type, of the matching type. It can do some coalescing, but what
Speaker 1is not possible now is we cannot have something like that. So that wouldn't work and that kaboom. Now, if we were going there and remove the strict, press save now that will work but now year of birth is text and that would be terrible in an application because now you will have some rows where the column will be numbers and then when there's a bug somewhere it will be text so that is definitely not what we want so typically and there might be exception to that but you do want to add the strict which is not
Speaker 1super strict it's not postgres strict because again if you put a string here we'll do some coalescing but at least it makes sure that there's only one type all the time. And that is the type integer. That is very nice. Now, one thing I've done as well, and this is because for me, because since I work out a lot with SQLite, sometimes I want to introspect what days in SQLite. So I've done a crate, which is that one, and we're going to put it in a dev dependency, because it's not for production, but is basically
Speaker 1pretty SQLite. That will allow us now here to have a print table. So again, it's not for production, but it's super useful. We're going to give the connection and we're going to say print person. Then that's it. Make sure we import it, press save, and then boom, we have a nice print of the tables. So usually I use that and you can do print rows and print everything. So it's pretty nice and it will allow us to debug a little bit better. So that is what we're going to use from now on. We're going to keep this in this file and have that as well. Okay,
Speaker 1so now what we're going to do is clear this one up and we're going to create a new file which is going to be our C02 join and that is going to be our base file for now. So still our open memory. Now, what we could do is repeat this create schema again and again, but the reason why I like the XP kind of pattern with the examples and making that a lib is that we can actually go to our lib I'm going to follow my pattern and say this modules and we're going to say pubModDBUtils.
Speaker 1And this is going to be a single file for now. It can grow into a multiple file later. I'm going to do that type alias. So that will allow the other modules will be able to use that the result of the crate if it was a rare one. Now it's not, it's kind of a little hack here, but at least this guy won't know about it. So this way I can use a create result and then make the create result better over time. So that is a little best practice that I have. Now, what we're going to do is have a function like that, which is
Speaker 1going to be create schema and then our connection. And because we have a join here and we want to show the join, we need two tables. So here's what we're going to create. First one is we're going to create a table, org, if it's not exist, and that will have the ID and the name. Again, that is just to allow us to do the join. Now, what we're going to do as well is, and that obviously that wouldn't work in production, but this is just for experimental, we're going to delete the content, such as every time we run it, we delete it and we start from scratch.
Speaker 1Eventually we might have something here that say, you know, delete true, false or whatever, but that would be good enough for now. And then after we create our person table, which is this one, which now has the org ID over there. So that will allow us to have the relationship and then we're also deleting the user over there. So that is a little bit the strategy right now. We're making sure we import that and that should work nicely. So now that we have that, we can come back to our join right there. And we're going to create our schema. Press save, making sure that we import that.
Speaker 1And then we're going to do a CWE C02 join. And that should print nothing, but it shouldn't complain. So far so good. So now what we're going to do is we're going to go down and what we want is to insert our data. And so In this case, what we're going to do now is we're going to do an insert into org, the name, the value, and we want to get back the ID. And this is where we can use returning ID. Make sure that you do not use the all way in SQLite to get
Speaker 1the last ID set, because that will create a lot of issues if you have concurrences and so on. So now, since a while back, SQLite has implemented the returning ID, which is the right way. So in this case, what we do is we prepare the statement, we say returning ID. And so now we know that when we're going to do a query row, this is a special call, we're going to give our name. So that is going to be what we put there. That's the way to do it. And that, this query row, if we go to the definition,
Speaker 1it takes a function over there. So the function f. which has a row. So like that, if there's only one row back, we can process it into whatever we want. And that is what we do. We do a row get, so that will be a row. And then we do a row get, and then we get that. And that we get the first one, which is going to be the ID. So that is very important here to not use the old way of getting IDs. So that this way, we have the row ID of this one. And then we're just going to create some persons or people. And
Speaker 1that will be Jen, Mike, Paul and Pierre are all going to be born in 2000. And the way here just to show a little bit how john walks is I'm doing a module or two here could be anything, it doesn't matter. And then we either have the org ID equal to that org ID or to none. So this way here, we are just enumerating across these guys. And then we're setting it the org ID here. So again, when we created the database, if we go back there, we can actually close these files, probably we see that
Speaker 1org id we didn't say was not new it's okay to be new so this is why in this case i just wanted to make sure we show the example of when we set new to it now we save that should work fine and then finally we are going to do our select join so for clarity i put the join like that so we have the select here we do the person And then we do the org name as org name. And then we do a person. And then we just do an inner join and a work clause. So far, so good. And then we're going to execute our query. So we're going to prepare the statement,
Speaker 1execute it. And that will return the rows. which will be an iterator. And the thing which is important to note here is that these rows, every time we do that, not everything is loaded in memory. So it's as we iterate that it will do whatever is smart to fetch whatever. I don't know what is the buffer. But if you have a query that has a million kind of things, you don't download a million things. So this is why it's important to understand that the rows is connected to the connection over there because it keeps fetching as we iterate.
Speaker 1then this is where we have our cool print rows of our pretty SQLite. And we're going to go the rows. Again, this is not for production, but it's super nice in this case. Press save, and then boom, we have those two. Because the other one, we are neural. So in this case, we ask a specific RID, and so everything is working nicely. Okay, so that will conclude our join. That is pretty cool. Now, let's go and create our third example. And that would be our C3 values for the dynamic values. So we're going to close those ones, don't need them, we're going
Speaker 1to clean that. And we're going to do a cargo watch execute C03 values. So far so good, no print, there's nothing. So we create our connection memory, we create our schema with our DB utils, create schema. And now we're going to seed our users. So we're going to have Jane, Mike and Paul and Pierre back. Everybody has no org ID. So I could have omitted it. there as well, but I just put it there anyway. And then we have the 2000. In this case, we don't need the org. Okay, and then what we can do
Speaker 1is we can actually do a print table, we're going to give our connection and the table will be person. This way, we have our table here which is jen mike paul and pierre now what we want is we want to have kind of a dynamic update query so we want to have an update but we want it to be dynamic meaning that the values won't be fixed like that because right now we have been working with those but what if wanted something a little bit more flexible where we build the query dynamically in a way so for example let's say that we have a list
Speaker 1of value for one user, yeah, one row of column name, and the value, and the value is going to be of the rускulite value. So this is what we have, we want to update a user with the org ID 123. So obviously, it wouldn't work. But right now, the F key is not there. So that will be fine. And then we want to update the name as well. with new name 111. That is just an example. It's kind of a silly one, but that is to show the kind of data that we have in input. And obviously you can have different structure, but this is just to show.
Speaker 1So we're going to first extract the columns name and the values, because that is a way that SQL work. SQL work with when you update or insert event, you split the two. So we have a vector of string and a vector of value, and then we're taking our name value list, could have been a hash map, it doesn't matter, into ether and unzip. That is what it does, the unzip, it's split it into two guys. Then once we have that, we want to build our columns for update, because we want to have a SQL update. So for that,
Speaker 1what we're going to do is we're going to do shadow, we are going to shadow the column, that's fine. That will be one string, and we're going to iterate through each columns. And then we're going to format it, we're going to put it under code equal question mark, and then the column, column name. And then we join everything with semicolon. So this is by hand. Sometime you might use a SQL builder for it or whatever, but I'm just showing here some examples. And then we're going to build our SQL. So our SQL will be something like that, where we're going to say, let SQL, and then we
Speaker 1have that. So we're going to have update person. And now that these guys are well formatted, SQL friendly, we're going to do the set, colon like that. And then here's a trick. For the values, what we want is we want to have a Vect of din to SQL. So the way it works is we know that we have values over there. So we're going to iterate in our values. So that will be a reference of value, but then we want it as a din of to SQL. That is a way that the later the execute is going to expect. So this way we're collecting into a
Speaker 1vector of din objects. So that is what we have. Now we're going to build the where clause and this will be basically our let SQL. So we're going to shadow it. format our SQL of before, which is a beginning, space, where ID equal question mark. That will give us that. So then after we have our let person ID, and that would be a value integer of one. So here we are cheating a little bit because we know that,
Speaker 1you know, when we create, it's always start at one, two, three, So we're taking the one, otherwise we could have done the returning ID on top. And now the cool thing is because we have the values over there, which is kind of dynamic, we're going to do values, push, and then we do the reference of person ID. And the typing magic is going to work for us. We need to make sure we import this guy and that would work. Yeah, so here there's some magic if we were going to pass the things like that, that would have complained because he would have said, I'm expecting this guy, you are
Speaker 1giving me this guy. So we have to do that to do a vector of this. But in this case, he knows what to expect. And so he does the right coalescing. So that's good. So now we're going to execute it. with these two commands where we do the connection, execute. So when we execute, we don't get the row back, we get the number of rows that we have updated. Yes, similar to Postgres and so on. So I'm giving the SQL and I'm giving the values here. And I need to do that because I need to deref and ref and all these kind of things. And then I'm just
Speaker 1print the number of rows updated, which would be one. Now I press save. And boom, what we have is we have our user one with org ID one, two, three, and the name new name one, one. That is pretty cool. So this is kind of a long way in a way, but that is a beginning of a SQL builder if you wanted to build one by hand. Now you can use cQuery or this kind of SQL builder if you want. I'm not a big fan of ORM, so usually I like to have a smaller layer, kind of a query builder way, but feel free to work the way it
Speaker 1works for you. So that was pretty cool, and that shows us how to do the dynamic value query. So now our fourth example is going to be with JSON. So first, we're going to go into our crates into our cargo, I'm going to add CD JSON, we're going to stop this one for now. And then we're going to create our C04 JSON. So we're starting from scratch where we have our connection, memory, and we create our schema. So far, so good. Now, if we look at our DB utils, we're going to see that for person, we
Speaker 1have a data T and a data B for text and blob. So text will be for our JSON, the normal way, the old way in a way, and we will use data underscore B, the blob for the JSON B. So for this one, we're going to use data T. That is going to be our goal. So we're going to do our C, W E C zero four JSON to compile nicely print nothing so far so good. And now we're going to do the first one. And we're going to insert two user which is going to be
Speaker 1Jen and Mike. But now we're going to have this number here, which is going to be our zip code. And it's going to make more sense later. And that will be the IDs of these two users. So this way, we're going to collect them the right way. And then we're going to have our for loop where we're going to iterate over that data set. And now I'm going to create the statement, which is going to be that which is going to be insert person. And we're going to have the name, the year of birth and the data t, which is going to be the string version
Speaker 1of that. And we're going to see later. And here we have the same technique as before, where we have this returning ID. So I go back there. So now I can do something like that, where I'm going to do the query row. I'm putting the name. I'm going to say 2000. And I have the data adjacent, which is this one. And I'm saying to string. So I want the string version of it. And then I get back the ID. And I'm going to do ID, push, person, ID. So like this, we keep track of everything. So that should work pretty well. And actually, if we do a print table, we're going to give our connection and person
Speaker 1make sure we import it, save, and that will give us like that. So we can see that it's just a string. At this point, there's some function that we could call over there that will kind of validate that is adjacent and so on. But so far, since we have the JSON type over there, well, pretty safe on this way. So now what we want is we actually want to use a JSON API of SQLite to update, add or update properties within the JSON. That is a goal of the JSON support in a way. it's not
Speaker 1only to start stringing it because otherwise we don't need json support so for that first we're going to get the person one id and then we're going to make the this query so we're updating person and we're setting the data and here is a trick is sqlite has a whole set of json function a little bit like postgres and then we can say i want a json set so that would set a property and so we give the colon name so it would be data t is the same one And then that is the language, which is the same actually as Postgres, I think, which
Speaker 1is a dollar sign. And then the dot way of getting into your property. And then I put the value over there. And then the homeowner, I put a value over there. And so in this case, I'm going to put the person one ID, which is this. this one. Yeah. And so I can do also question mark with the index of where it is. And they start at one. Yes. Lua and SQL are very old things and they like to start index at one. And then we have this reference number, which is going to be two. So that
Speaker 1would be the address code over there. So everybody would be at the zip code. It doesn't really matter. And then we take true and we put it as a string. But here is, we do not want the homeowner as a string true, we want it as the Boolean JSON true. That is a string, but we are wrapping it with a JSON function to make sure that we get a JSON value true. And now if we press save, we should see Jen with a zip code of 94222 and
Speaker 1homeowner true. That works pretty nicely. So when you look at the SQLite documentation, there's quite a bit of function here with JSON underscore set and array and all these kind of things. So it's pretty complete and it's very well done. Now, one thing where JSON is very powerful as well is to select. So here's how it works. So let's say we're going to comment this one out, actually. And now we're going to do this one. So now what we want is we want to select all person that are in a homeowner true. So the way it
Speaker 1works is this way. We select whatever we want to select. We make sure that we select the type here where we have our JSON. And then we can do a where clause. And here's a trick is we do a JSON extract. And they have another kind of notation as well, which is kind of compatible with Postgres. But right now we're going to use a function way. So we can do a JSON extract. then again data t and then we're giving the path and then here we're going to give the name argument so that would be a prepare statement again and the way that we're going to do
Speaker 1it is we're going to do the prepare statement query we're going to say that the homeowner is going to be the reference of true so here's a trick is when you use json extract the type over there the That has to be the type of SQLite, which is what is happening when we're doing that. That is a Rust type and the Rust Qlite is changing it into a SQLite type. That's why it works. Now, if we press save, should work often, we get that, we get only gen because only gen, that is the thing that we updated, has a homeowner true. That is pretty cool. Now,
Speaker 1the thing to understand is, When we're working with text as JSON, so those are the JSON extract and so on, what is happening is SQLite get all of the text out, parse it, look at the value, and then match it and so on. And the same thing for update and everything. JSON set, it will get the value out, set the value, and get everything back in. With JSONB, it's much more granular. So there's some big value of using JSONB over the JSON text. And now, obviously, we can have... more complex
Speaker 1kind of select so for example here we're going to say people that do not own a home so we're going to select everything for example from person and where either the homeowner is new so hasn't been defined or the homeowner is zero and again here the zero looks weird but i wanted to defer the things in sqlite there is no type boolean So when Rusculite changed true to a SQLite type is actually changed true to an integer type, which is either zero or one when you
Speaker 1have a true type. Now, here in this case, I wanted to show how we can hard code the value over there, because now we know that is false, so we can hard code that for whatever reason. And so in this case, we can say zero. So obviously here, if we would put true, I mean, this doesn't even exist. It will return everything, because even the one that doesn't have the value. So what we want is to have the zero here that would do that. And if we do a one, it would return probably everybody. That is the way it works. Now we have that. Okay. So now that will conclude the text JSON. And now we
Speaker 1can go into JSONB. So I copy everything there and it's going to be very similar. So this way we can scan it through very fast. So first, we create the database exactly as before. And remember, we have the underscore T and underscore B. So now we're going to use obviously the underscore B. So we have our data and we're going to have our JSONs. So that is a CRD JSON. So the value here is a CRD value is not a SQLite value. And then we're going to prepare our statement where we have our name and things. And this time we do a data B. Now, in
Speaker 1our SQL, the query row, we are going to give the string. But then in the SQL, we're going to make sure that we're wrapping it into a JSON B. So this way, the SQLite can take this text and do its magic to pass it into a binary format. So that is where the magic happens. And then we push the ID exactly as we did before. We're going to stop this one, actually, and do a CWE C04. five JSONB. And so everything is working nicely. And so
Speaker 1for the top here, it's exactly the same, except that now we have this JSONB. Now when we're going to make the query, here's the thing, the way it's going to work is actually very much the same, except that now rather to put a JSON set, you put a JSONB set. Now the magic is because the way they store it, the JSON in the binary format, which is obviously super smart, When we do a set, it's not going to parse the whole beast. So they are going to be relatively optimized and they will be able to
Speaker 1go directly into those nodes. And that is a big value of JSONB. And again, when we do the JSONB set here, this is the same thing. We have to make sure that if we are using a string in this case, and we wrap it into a JSON, something like that. So that will become a JSON type, which is what we want inside the JSON function. And then if we go down, we can see that now we're going to use another notation to do the same thing that we did before for the select. So in this example,
Speaker 1I'm showing different ways of doing it. And I'm using that notation, which is this guy. I think we can put a space over there. And if we press save, Hopefully everything works. And that means that this is a column and this is a way to address. So rather to have the function that we had on top, which is that we have, I still have it there, just on B extract. Now we can do as well like that. Now, this conflict with my best practice of debug print, that is a me problem in a way. But this is pretty nice. And I think is the same as postgres.
Speaker 1So that's pretty nice. That's the way to address. It's the same. And then there is this kind of difference between when you are using two greater than and one. So when you are using two greater than, the types on the right is a database type. So that would be the SQLite type. So for a Boolean, for example, that should be an integer because in SQLite there is no Boolean. And so that would be the integer zero or one, for example. But if you use this guy, then the right side needs to be adjacent one. So that would be the thing. That's why this works. Now
Speaker 1the JSON B extract, like the JSON extract, they work with a SQLite primitive. So here we do not give JSON something, we give the SQLite and for Boolean, the SQLite of a Boolean is integer in SQLite. Okay, so that is our JSON B. Very similar to JSON, but has a lot of performance benefits. So usually that will be my go-to. okay so now what we're going to do is we're going to do our sixth chapter and that will be our c06 async and that is how
Speaker 1to use sqlite and the connection in tokyo async or threading is the same thing it's basically what is send and sync and so on so for that we're going to use Tokyo async. But again, we could have done the same thing with multithreading, it would have been the same characteristic in many ways. So we're going to put that we go back to this file, we're going to make it async with tokyo main. And for that example, we're going to actually save it to a file just for fun. And that will be the underscore. So like
Speaker 1this in my git ignore, I don't save it. By default, the underscore is ignored. And then the db3. So press save. We're going to do a cargo watch execute. C06 async. And that should create our underscore, mydb, db3. There were leftover file over there. Okay, so now that we have that,
Speaker 1will give us a unique name all the time for every run. And then what we want is to do the insert. but we don't want to do the insert within this task because the whole point is to see how to use the connection in a multi-threaded or multi-task to see what is send and what is sync and so on. So what we want is we're going to do a let, we don't really care about the result and we're going to have a Tokyo task and here we're not going to do the blocking or whatever. We're just going to do a spawn and we're going to do a nice sync. move. I guess
Speaker 1that now we could do a nice enclosure, but this one would be good for now. And here's a trick. The trick is we cannot use that connection there. And that is for good because SQLite support multi-threaded access, but the connection doesn't support multi-threaded. There's a way in SQLite to compile it for it, but it's not recommended and I don't think it's a good way. And luckily, RaspberryLite is very good and they don't compile it this way. But you can create a connection per task. And eventually you will use a DB pool or something like that, like Deadpool and so on. But right now we're going
Speaker 1to do it by hand to understand how it works and the limitations. And then we might have another video of how to use database pool and so on. But for now, we're going to do a let con. And we're going to have that again. And then this one here to string that will make it a little bit more flexible. For this example, we're obviously going to put the await. And then here, we're just going to do that. So we're going to execute insert person and with our value here, our names that we have there and the value there. So very simple, save everything should compile nicely.
Speaker 1And then we can see that we have all of that which is a nine times two. And so two users, and then we created clones kind of things. And then in our create database, we are resetting all the times a table. So that's why it's stay at 18. If we were going to go there and we were going to say, I don't want to delete. and press save, 36, 54, and so on. So that's the way it works. Everything works very nicely. So we have two choices. Either we
Speaker 1use a database pool connection, which is completely fine into our thread. And so the database pool connection we'll do is magic here to do these kinds of things. Or, and I think it's valid as well, is we have the connection with another DB kind of things that we manage and it's behind mutex. So that might be good as well. Or if we know that we don't have that many threads and everything, it's completely fine to create one per thread or per task. But the point here is that we couldn't do that. This is not a thing.
Speaker 1If we were using connection, which is this one, which is used over there, but even if we were not used over there, press save, obviously we couldn't move it. But then the thing will say, well, for us, we could do something like that, where we do a let con2 or clone, and then we do a con clone, but that is not a thing. Yeah, so that is not a thing. That doesn't work. So you, which makes sense because you do want to do these kinds of things. The pattern is pretty well, that is the way it works. And now we go back down, make sure to re-enable
Speaker 1this and then everything is work nicely. So in the future video, we're going to see how we can use database pool and make our own wrapper with mutex manually. And that really depends on the use case. And that would be it for this video. Hopefully you liked it. Like and subscribe helps a lot. And by the way, I created something pretty cool in Rust. It's fully open source. You have the banaries or you can compile it your way. And it does allow you to create agent and to use a procoder to have a very efficient way to do production coding with AI. And you can go there
Speaker 1and there's quite a bit of videos over there to show how to do production coding with AI pack and AI. Until next one, happy coding.
Building production-ready web applications requires efficient database interaction, flexible query construction, and well-structured data access layers. We examine how these technologies work together to simplify...
In this episode, we continue our exploration of nine essential Rust programming best practices, focusing on utilities, practical examples, and software testing. Building reliable Rust applications requires more than...
Join Jeremy Chone for a live-stream session dedicated to Rust programming, software development, and practical engineering discussions. This session provides an opportunity to explore Rust development through a live...
In this episode, we explore data access in Rust web application development, focusing on how backend applications interact with databases to store, retrieve, and manage information. Data access is a critical component...