Published a blog post about computer memory, move, clone, and copy!
Promise in Fetch (Jeena)
I rebased Fetch implementation on top of jdm’s branch, and tried to use Promise in fetch(). Strangely, it’s causing the Rust compiler panics unexpectedly. I’m not sure how to move forward…
Test Curation (Jeena)
Haven’t started on this yet. As I’m lost about Promise in Fetch, I’ll work on this first.
Response
Still fixing things. Currently in git rebase hell.
Things we learned:
By doing let hello = b"hello";, an array is created. An array has a static length. So in our Headers code, we ended up making unnecessary transformations here. We wrote combined_value.push(b","[0]); which means, “create an array that has length of 1, and whose only element is a comma byte. Then, take the first element of it and add that to combined_value. We can improve this line by writing combined_value.push(b',');