News for hackers. Stuff that matters.
Re:Serde 1.0.0 for Rust released by steveklabnik on Thursday April 20, 2017 @05:34PM (#14161140)
Active work is going into integer generics, which will solve this issue. It has taken a while but isn't exactly simple either!
Re:Serde 1.0.0 for Rust released by vvanders on Thursday April 20, 2017 @05:38PM (#14161172)
Glad to hear it!

I guess it's just jarring since the rest of Rust is so well crafted it felt really abrupt to run up against the 32 length fixed size limits. It's also somewhat annoying to have to coerce it into a slice via &array[..] instead of &array.

It's workable and when I finally get the library to a stable state I definitely plan to share what went well and where I saw pain points.

Re:Serde 1.0.0 for Rust released by steveklabnik on Friday April 21, 2017 @01:58AM (#14163391)
Yup, totally hear you. It's totally achievable, but not simple; Haskell has this issue too, for example. There's been a few iterations of the design already. The current approach is to cut scope as much as possible to ship the basics sooner.
Re:Serde 1.0.0 for Rust released by RcouF1uZ4gsC on Friday April 21, 2017 @04:03AM (#14163822)
It is this lack of non-type template parameters, template templates (ie higher minded types), and variadics that make Rust feel like a step backwards compared to C++. When, Rust gets these, it will remove a a major blocker for me.