Real world applications are mostly deep trees of stateful components.
Show HN: Million 3 – Optimizing compiler for React
31–40 of 56 posts
Re: Show HN: Million 3 – Optimizing compiler for React
#32This sounds very hand-wavy. What does it mean to "use a compiler to directly update dynamic nodes"?
Re: Show HN: Million 3 – Optimizing compiler for React
#33OP lied about benchmarks in the past: https://www.reddit.com/r/javascript/comments/x2iwim/askjs_mi...
People make mistakes, and should hopefully learn from them, but it's not right to comment with nothing but dug up dirt, especially with such a negative accusation of malice, while they try and move on.
"Lie" is a bit edgey but I think adults should be able to stomach a little sourness instead of, ironically, accusing people of dirt and malice.
Re: Show HN: Million 3 – Optimizing compiler for React
#34Re: Show HN: Million 3 – Optimizing compiler for React
#35I'm not a React dev, so I can't comment on the project itself. Something I noticed on the blog post, though: The image at the top of the page is served uncompressed at a whopping 18.5MB (9751px * 6132px)! Seems a bit extreme for what amounts to a simple logo and some text.
Re: Show HN: Million 3 – Optimizing compiler for React
#36Earlier quoted context omitted.
It doesn't need one, probably less than 1% of React apps make use of this tool. Its an optimization that would be premature for most apps unless they've got large amounts of dynamic onscreen components.
It has absolutely needed significant performance improvements for years. Vanilla JS is somewhere in the ballpark of 30x (x not percent) faster than react. If that’s not calling for significant performance optimization necessity, I don’t know what is. Nobody has ever complained about their app feeling better to use because it performs better. Users do not sit there like “man, I really wish the web was SLOWER”. Additio…
It is absolutely not significant compared to site load, images, initial DOM layouting, etc. Plus your FP paragraph is straight up uninformed flame-bait.
Re: Show HN: Million 3 – Optimizing compiler for React
#37Re: Show HN: Million 3 – Optimizing compiler for React
#38Earlier quoted context omitted.
It doesn't need one, probably less than 1% of React apps make use of this tool. Its an optimization that would be premature for most apps unless they've got large amounts of dynamic onscreen components.
It has absolutely needed significant performance improvements for years. Vanilla JS is somewhere in the ballpark of 30x (x not percent) faster than react. If that’s not calling for significant performance optimization necessity, I don’t know what is. Nobody has ever complained about their app feeling better to use because it performs better. Users do not sit there like “man, I really wish the web was SLOWER”. Additio…
In real world apps or theoretical benchmarks?
Re: Show HN: Million 3 – Optimizing compiler for React
#39> Instead of traversing every node, Million uses a compiler to directly update dynamic nodes, resulting in O(1) time complexity. This sounds very hand-wavy. What does it mean to "use a compiler to directly update dynamic nodes"?
Re: Show HN: Million 3 – Optimizing compiler for React
#40I'm not a React dev, so I can't comment on the project itself. Something I noticed on the blog post, though: The image at the top of the page is served uncompressed at a whopping 18.5MB (9751px * 6132px)! Seems a bit extreme for what amounts to a simple logo and some text.