# Facebook's Prepack for JavaScript optimization

**URL:** <https://forum.kirupa.com/t/facebooks-prepack-for-javascript-optimization/636583>\
**Category:** news\
**Created:** [May 9, 2017, 12:29pm UTC](https://forum.kirupa.com/t/facebooks-prepack-for-javascript-optimization/636583 "2017-05-09T12:29:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![senocular](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/senocular/32/7217_2.png) [@senocular](https://forum.kirupa.com/u/senocular)\
**Post date:** [May 9, 2017, 12:29pm UTC](https://forum.kirupa.com/t/facebooks-prepack-for-javascript-optimization/636583/1 "2017-05-09T12:29:39Z")

</div>

The next big thing from Facebook (makers of react). It optimizes code execution by unrolling loops and whatnot. Examples in the link as well as other links to source etc.

> **[Facebook’s Prepack — The Next Killer In The JavaScript Zone](https://hackernoon.com/facebooks-prepack-the-next-killer-in-the-javascript-zone-d932556ffd8c?gi=5737eeac5be)**
>
> This article originally appeared on dormoshe.io

---

<div class="post-metadata">

**Author:** ![linusj](https://avatars.discourse-cdn.com/v4/letter/l/b2d939/32.png) [@linusj](https://forum.kirupa.com/u/linusj)\
**Post date:** [May 10, 2017, 9:36pm UTC](https://forum.kirupa.com/t/facebooks-prepack-for-javascript-optimization/636583/2 "2017-05-10T21:36:43Z")

</div>

Interesting,

The compiled code looks remarkably familiar for a self-taught coder. 😃  
(I already coded that way, and now that I know how to code in a somewhat proper manner, a program will decode my advanced code - to the spagetti code I wrote years ago… )
