4x Smaller, 50x Faster
blog.asciinema.org
4x Smaller, 50x Faster
1–10 of 205 posts
Re: 4x Smaller, 50x Faster
#2Re: 4x Smaller, 50x Faster
#3The immutable hype is finally fading. People starting to realize the drawbacks of treating hardware as an infinite resource.
that the bundle used to be 570kB isnt an immutability issue. itcs that clojurescript drags in a whole clojure runtime, a new virtualization layer atop the js runtime. that, to me, is the most likely suspect.
that said, for sure, short tbeow away high gc allocation patterns are generally not good. at work there's a lot of "functional" patterns, nary a for loop in sight. this endless .map() .filter() usage causes near exactly similar issues, with shortived objects. it seems ultra sad & silly to me. waste after waste. but i also think we have much more deeply rooted problems.
Re: 4x Smaller, 50x Faster
#4The immutable hype is finally fading. People starting to realize the drawbacks of treating hardware as an infinite resource.
Re: 4x Smaller, 50x Faster
#5The immutable hype is finally fading. People starting to realize the drawbacks of treating hardware as an infinite resource.
Re: 4x Smaller, 50x Faster
#6But now that asciinema is no longer in React maybe it will be possible to embed now. See https://github.com/asciinema/asciinema-player/issues/72#issu....
Re: 4x Smaller, 50x Faster
#7The immutable hype is finally fading. People starting to realize the drawbacks of treating hardware as an infinite resource.
> for the high frame-rate, heavy animations this puts a lot of pressure on CPU and memory
...does seem to suggest that the "garbage multiplier" effect of immutability is an ill fit for applications that also create a lot of garbage naturally. Note that this is about as close to an apples-to-apples comparison as we're likely to get - the same application implemented two different ways - so it's not the application's innate object-lifetime characteristics that are the problem. That's an implementation artifact.
The question is: how many applications are likely to hit this same limit? Is this a rare case, or is it common? If it's common, it is indeed an indictment of the "immutable" approach. Otherwise, not so much.
Re: 4x Smaller, 50x Faster
#8The immutable hype is finally fading. People starting to realize the drawbacks of treating hardware as an infinite resource.
This article doesn't really support that. ClosureScript targets JavaScript, which is a platform that doesn't have special support for optimizing immutability.
Re: 4x Smaller, 50x Faster
#9The immutable hype is finally fading. People starting to realize the drawbacks of treating hardware as an infinite resource.
Re: 4x Smaller, 50x Faster
#10The immutable hype is finally fading. People starting to realize the drawbacks of treating hardware as an infinite resource.
mutability is a data structuring virtualization but i'd just as much suspect the runtime virtualization. that the bundle used to be 570kB isnt an immutability issue. itcs that clojurescript drags in a whole clojure runtime, a new virtualization layer atop the js runtime. that, to me, is the most likely suspect. that said, for sure, short tbeow away high gc allocation patterns are generally not good. at work there's a…