News for hackers. Stuff that matters.
Re:Understanding Serde by jimenezrick on Monday November 18, 2019 @05:30AM (#21563204)
Haskell? Data generics isn't really nothing new. We had this technology for years.
Re:Understanding Serde by nicoburns on Monday November 18, 2019 @10:56AM (#21565280)
True. Not widely available though. The great thing about Rust is that has a whole of the advantages of Haskell, and C++, and to a lesser extent even languages like Python.
Re:Understanding Serde by earthboundkid on Monday November 18, 2019 @08:40AM (#21564189)
Haskell has been around for more than a decade and had huge uptake by language nerds, but the only significant OSS written in it is Pandoc. In contrast, Rust already has Servo and a number of CLI tools, ripgrep being the most prominent.
Re:Understanding Serde by leshow on Monday November 18, 2019 @10:20AM (#21564930)
I'm not sure what you consider 'significant', but to my mind, there are many great haskell open source projects: xmonad, shellcheck, stack, haxl, to name a few.

Not to mention how many languages are written in it: Elm, Purescript, Idris, GHC itself.

Re:Understanding Serde by earthboundkid on Monday November 18, 2019 @12:59PM (#21566471)
I almost listed xmonad. I haven’t heard of the other ones. Doesn’t change my point.
Re:Understanding Serde by jimenezrick on Monday November 18, 2019 @11:58AM (#21565886)
Leaving popularity contests aside, i worked in a company using Haskell and i did used a lot these techniques, if that counts \o/

i guess today it only matter how many stars you repo has in github...

Re:Understanding Serde by bjz_ on Monday November 18, 2019 @06:16AM (#21563394)
At the same level of performance though?
Re:Understanding Serde by jimenezrick on Monday November 18, 2019 @07:25AM (#21563748)
If you are asking if it's fast? yes it's fast serialization. Not sure which numbers you have at hand, but for me fast means it isn't the bottleneck of my application.
Re:Understanding Serde by ghostwriter on Monday November 18, 2019 @07:29AM (#21563769)
it doesn't have to be to make the point, as Serde isn't on the same level of verbosity as Aeson.