News for hackers. Stuff that matters.
Re:How to write slow Rust code by kennywinker on Monday August 02, 2021 @01:21PM (#28039642)
I got a lot out of this article, thanks! One of my problems with learning rust has been the “draw the f**ing owl” problem. There are lots of tutorials on getting started, and while advanced code is easy to find i have not found a lot of intermediate or advanced code with good explanatory annotations. Great seeing someone take beginner code and rustify it!
Re:How to write slow Rust code by mst on Monday August 02, 2021 @01:49PM (#28040110)
Right, I really enjoyed it on that basis too.

I'm quite amazed how many of the responses are criticising his original code when the whole point of the article is that his original code was n00btastic and he's very grateful to've been helped to improve it and wanted to share.

Re:How to write slow Rust code by igouy on Monday August 02, 2021 @04:41PM (#28042335)
> … his original code was n00btastic…

Sorry, but this is at-least the second blog post, in the last week, and previously —

"I've discussed the Rust and Julia versions with experts in those languages (—— I know Rust well enough ——, but very little Julia) and no obvious mistakes were found."

https://www.reddit.com/r/lisp/comments/osqgqe/common_lisp_st...

Before that, on finding the output from his Java program was different than the output from Peter Norvig's Lisp program —

"It looks like Norvig's Lisp solution must have a bug: it can't find all valid solutions!"

https://github.com/renatoathaydes/prechelt-phone-number-enco...