Our great sponsors
-
turbo
Incremental bundler and build system optimized for JavaScript and TypeScript, written in Rust – including Turbopack and Turborepo.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I've just spent a few days implementing a newtype: AbsoluteSystemPath. The goal is to be a super-thin wrapper around Path, retaining all of the functionality and providing additional guarantees which can be enforced at authoring time, not runtime.
There is clearly desire for more and better tooling in the Path space (camino is the ninth-most-downloaded FS crate, relative-path helps here, Buck2 created their own path library as well) but the cost of implementation is tremendous and, in my opinion, preventing healthy experimentation in this space.
Builtin-in delegation in the language had a detailled RFC (actually more than one, even): https://github.com/rust-lang/rfcs/pull/2393
Related posts
- I have added named function parameters to my programming language. What do you think, why do most mainstream programming languages not have it, when it is easy to implement in a compiler and it makes it easier to initialize complicated objects with many default rarely-changed parameters?
- Ask HN: What April Fools jokes have you noticed this year?
- Rust to add large language models to the standard library
- Why does Rust choose not to provide `for` comprehensions?
- Coroutines in C