Top all-time · #24850
decodified.com
Personal blog · decodified.comprogrammingsystems
decodified.com is a personal blog at decodified.com about programming and systems. Since 2010, 3 different Hacker News readers have linked it 4 times, most often “Scala rich wrapping performance”. No feed was found, so read it on the site itself.
Too few sampled comments (2) to say how often HN recommends it.?
Why HN links it
Posts on Scala performance, including one on 'rich wrapper' implicit classes and how JVM escape analysis can optimise away their wrapper objects. Commenters cite it for those technical details.
Summarised by Claude from a sample of 2 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Most-linked posts?
- Scala rich wrapping performance2 people · 3 mentions · first linked 2010-09-21
What Hacker News says?
Implicit wrappers have long been an issue for this sort of optimisation, although I was pleased to read that the new JVM escape analysis feature seems to deal with that very effectively: http://www.decodified.com/scala/2010/08/27/scala-rich-wrappi... As other comments have noted you can generally degrade to writing near-Java code and the results will be basically the same bytecode. I'm sure there are exceptions but…
Comment linking /scala/2010/08/27/scala-rich-wrapping-performance.html
on “How Scala Compiles to Java”Submitted Scala rich wrapping performance as a story · 2 points
HN discussionNote: If you use scala, escape analysis can be particularly helpful. The "pimp my library" pattern for extending classes involves creating wrapper objects, and these can often be optimized away. http://www.decodified.com/scala/2010/08/27/scala-rich-wrappi... has more details
Comment linking /scala/2010/08/27/scala-rich-wrapping-performance.html
on “In what cases is Java faster than C++?”Submitted Introducing spray - RESTful web services on top of Akka as a story · 1 points
HN discussion