Squirrel

Results 247 comments of Squirrel

Prior art: cargo install cargo-deps That manages to figure out the dependencies without linking to cargo.

Hmm not sure cargo-deps takes an official route. I think it manually parses the lock file. I know there's a cargo lock crate one should use if one's going in...

Maybe cargo make serve isn't enough and I am missing a step?

You get this error if 'cargo make watch' hasn't been successful or hasn't been run.

Some systems kill the process if the event loop blocks more than a certain length of time. Pragmatically that works, but it would be even better to flag certain threads...

Would luhn work well for this concept? personally I would change the spec to allow single character numbers so that the implementation is slightly nicer when done as a single...

Actually I think maybe we should aim for a functional rust track where each answer is expected to be one expression and the tasks getting gradually harder as we introduce...

Are unit structs worth teaching specifically? I can think of many many things that would be more interesting/useful. If anything I might throw it in with PhantomData.

I’d be tempted to expose people to the rabin-karp algorithm as an example of how to use a hashtable. https://www.freecodecamp.org/news/the-rabin-karp-algorithm-explained/ The exercise could be framed as “we want you to...

(It’s an algorithm I would love to have come across earlier and it’s pretty easy).