News for hackers. Stuff that matters.

dotaheor

Re:NPhysics: 2D and 3D Real-Time Physics Engine for Rust on Wednesday June 24, 2020 @09:54AM (#23627882)
It looks the "install.sh" script must be executed by an admin to install the tools in some system folders. Setting the bin folders in PATH doesn't work, and error message is totally useless to explain why the way doesn't work.
Re:NPhysics: 2D and 3D Real-Time Physics Engine for Rust on Tuesday June 23, 2020 @12:07PM (#23615814)
A silly question: how to build the examples? I haven't found a build tutorial in the project.

As a rust newbie, I guess I should run in "cargo build" in the example folders. But both output the error

error[E0463]: can't find crate for `std`

What I missed here?

Re:Why Discord is switching from Go to Rust on Wednesday February 05, 2020 @12:38AM (#22244314)
This really depends on what job a program does and how well the C program is implemented.
The constraint expressions are expected to be used in generic declaration body scopes instead of top package scopes. For example: https://github.com/dotaheor/unify-Go-builtin-and-custom-gene..., so I think the ambiguity should not happen.
Re:Why Generics? on Wednesday July 31, 2019 @10:10PM (#20580605)
Re:Why Generics? on Wednesday July 31, 2019 @09:52PM (#20580534)
Yes, I think. Now, the kubernetes project uses too many code generators, which makes it is to extend.